WEEK 3 [14th June – 20th June]

Week 3 involved making final changes in the API and finally pushing the work to the main module. After my mentor reviewed my work, he suggested many changes to make the module follow OpenMRS conventions. A few methods were also changed.
List getTags(List types, List tags, boolean matchAllTags) method was broken down into two methods :-

List getTags(List types, List tags) :- which returns a list of tag objects having one of the types and one of the tags

List getObjectWithAllTags(List types, List tags) :- which returns a list of OpenmrsObjects having one of the types and all the tags.

The return types of a few methods were also changed. Unit tests and proper java documentation was added. Other than that, my mentor (Wyclif Luyima) and I discussed the way forward. For the UI part my mentor suggested that apart from UI fragments we also work on Angular Js directives. For this our first step will we exposing the module to REST services.
I don’t have much experience with Rest Services, but I am learning as I go. For now I have made a PR for the API setup, and have started working on the Rest Services in a new branch.

I am using the wiki pages : Rest Services ModuleRest Services Core and already existing OpenMRS Code as reference as I continue forward.

Advertisements

One thought on “WEEK 3 [14th June – 20th June]

  1. Pingback: FINAL REPORT GSOC-2017 [Generic Tagging Mechanism] | OPENSOURCE EXPERIENCES

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s