On 25-01-18 17:48, Bert Verhees wrote:
A UCUM-service is quite simple, it has a simple API. You can extract it from this testfile which you find here:
https://github.com/BertVerhees/ucum/blob/master/convey/ucum/UcumEssenceService_test.go
I must add a few small remarks, this github-repository is not a service (as I on one place indicated), but it is a library, so that is why the API is not visible in a simple way, and that is why I point to this testfile to learn about the API.

The API, as said, is simple, it consist in about 10 or 15 API-calls. Refactoring the library to a service is (in Golang) also very simple, just put one file before it with service-calls ( in REST-calls, or if used as microservice maybe gRPC calls are possible (which are much faster)) and then use the library to feed the service.

https://www.slideshare.net/borisovalex/grpc-vs-rest-let-the-battle-begin-81800634

_______________________________________________
openEHR-technical mailing list
[email protected]
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org

Reply via email to