Developing the "OCL for OpenMRS" Application

Hello @darius,

The fix meant to be done on this ticket has the value for a custom concept’s source being a UUID. This comes from the backend and hence can only be changed in the backend.

cc: @raff @dkayiwa @cintiadr @dkayiwa @sheriff @abulojoshua1 @collinewait @stonecoder @desmond

#1 The name and description exceed the popup box width.

Thanks for the feedback. This has been resolved.

That UUID refers to some source (which has a name). You can do the equivalent of a relational join in the front end, you’d just need to fetch the sources (in a different REST call) and do a lookup before displaying.

Tickets should be tracked in the OCLOMRS project in JIRA: https://issues.openmrs.org/projects/OCLOMRS/summary

So I would say that requests should (still) happen on this thread, but that the Andela team is responsible to respond to all requests with either:

  • a JIRA ticket was created (including a link) + it’s being worked on now / next sprint / it’s in the backlog
  • we were already tracking this as (JIRA ticket link)
  • I don’t understand, please clarify X, Y, Z
  • We do not plan to do this, because X, Y, Z.

@sheriff and all, can you please ensure that this becomes part of the standard process? (Is there somewhere we should write it down?)

For example I assume that @akanter is talking about the feedback he gave here 9 days ago. I see that tickets were created (e.g. OCLOMRS-337 is his first bullet point), but how would Andy know if anyone was paying attention to his feedback if nobody answers him?

Also, when you create a ticket due based on someone’s feedback, you should list them as a the Reporter of the ticket so that they get status notifications. For example I should be the reporter of OCLOMRS-351 and Andy should be the reporter of OCLOMRS-337.

1 Like

Thank you @darius!

Andy

Hello everyone, I hope you had a great weekend. We are half way the 12th Sprint and as a result we have already started preparations for the demo. We first of all need to choose an ideal date for our demo. A doodle poll has been created and there you can select a date you feel is best for the demo. For more context about what this sprint was trying to accomplish, I have added some relevant links below: OCL 12th Sprint Announcement OCL 12th Sprint Wiki cc: @darius @dkayiwa @abulojoshua1 @collinewait @ianduncan @tittoh @desmond @stonecoder @akanter @c.antwi

@sheriff when choosing the dates and times of the doodle poll, did you take into account what @darius requested, if we want him to attend?

@dkayiwa I have updated the Doodle and the time will now be from 6:00pm -7:00pm EAT

The time on the doodle poll has been changed. Use same link to vote again.

cc: @darius @dkayiwa @abulojoshua1 @collinewait @ianduncan @tittoh @desmond @stonecoder @akanter @c.antwi

Thanks @darius, working on it.

@ball a ticket has been created for #2 . It is now being worked on.

@sheriff in addition to time, i think he also suggested specific days of the week. Not so?

This doodle poll only allows you to pick one time. I can do both times, so how should I convey this? :slight_smile:

Also remember this:

I know it’s later in the week, and you might want to do the demo at the start, but I think it’s better if we can do Wednesday or Friday so that @akanter can also join.

@darius Thank you for the feedback. We can surely run the poll again for people to choose between Wednesday or Friday from 6pm EAT. As for the doodle only allowing one time, I just wanted people to have a clear choice on which day they want. With the new poll, that limitation won’t be there.

@dkayiwa yes. I am working on a having a new poll that considers these issues.

Hello, In order to have maximum participation during our demo call. The poll has been changed once again. Follow this same link

cc: @darius @dkayiwa @abulojoshua1 @collinewait @ianduncan @tittoh @desmond @stonecoder @akanter @c.antwi

@raff we are having a CORS issue again

cc: @cintiadr @dkayiwa @ianduncan @sheriff @abulojoshua1 @collinewait @stonecoder @desmond

The server responded with 502 error.

Are you sure it’s the same thing? Because that’s not what the original message was showing.

It is a 502 error.

It’s a little bit hard for me to guess what’s the request you are attempting to do, and what it should return. I literally have dozens of services I take care of, and I don’t really know any features of the projects we are building or running there.

I don’t have any knowledge of OCL application, so the full URL, when it stopped working and steps to reproduce would go a long way.

I attempted to copy whatever URL is in that print, without any authentication.

This is what I had:

/collections with error 502

~ $ curl -vvv “https://api.qa.openconceptlab.org/users/admin/collections/?q=&limit=0&page=1&verbose=true

  • Trying 149.165.157.171…
  • TCP_NODELAY set
  • Connected to api.qa.openconceptlab.org (149.165.157.171) port 443 (#0)
  • ALPN, offering h2
  • ALPN, offering http/1.1
  • Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
  • successfully set certificate verify locations:
  • CAfile: /etc/ssl/cert.pem CApath: none
  • TLSv1.2 (OUT), TLS handshake, Client hello (1):
  • TLSv1.2 (IN), TLS handshake, Server hello (2):
  • TLSv1.2 (IN), TLS handshake, Certificate (11):
  • TLSv1.2 (IN), TLS handshake, Server key exchange (12):
  • TLSv1.2 (IN), TLS handshake, Server finished (14):
  • TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
  • TLSv1.2 (OUT), TLS change cipher, Client hello (1):
  • TLSv1.2 (OUT), TLS handshake, Finished (20):
  • TLSv1.2 (IN), TLS change cipher, Client hello (1):
  • TLSv1.2 (IN), TLS handshake, Finished (20):
  • SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
  • ALPN, server accepted to use http/1.1
  • Server certificate:
  • subject: CN=narok.openmrs.org
  • start date: Nov 21 23:00:14 2018 GMT
  • expire date: Feb 19 23:00:14 2019 GMT
  • subjectAltName: host “api.qa.openconceptlab.org” matched cert’s “api.qa.openconceptlab.org
  • issuer: C=US; O=Let’s Encrypt; CN=Let’s Encrypt Authority X3
  • SSL certificate verify ok.

GET /users/admin/collections/?q=&limit=0&page=1&verbose=true HTTP/1.1 Host: api.qa.openconceptlab.org User-Agent: curl/7.54.0 Accept: /

< HTTP/1.1 502 Bad Gateway < Server: nginx/1.10.3 (Ubuntu) < Date: Sun, 16 Dec 2018 11:07:42 GMT < Content-Type: text/html < Content-Length: 182 < Connection: keep-alive <

502 Bad Gateway

502 Bad Gateway


nginx/1.10.3 (Ubuntu) * Connection #0 to host api.qa.openconceptlab.org left intact

So I saw some of the docker services were unhealthy, for some reason. After restarting the services, and the stack, it seems like it’s returning something better now.

/collections with code 200 OK

$ curl -vvv “https://api.qa.openconceptlab.org/users/admin/collections/?q=&limit=0&page=1&verbose=true

  • Trying 149.165.157.171…
  • TCP_NODELAY set
  • Connected to api.qa.openconceptlab.org (149.165.157.171) port 443 (#0)
  • ALPN, offering h2
  • ALPN, offering http/1.1
  • Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
  • successfully set certificate verify locations:
  • CAfile: /etc/ssl/cert.pem CApath: none
  • TLSv1.2 (OUT), TLS handshake, Client hello (1):
  • TLSv1.2 (IN), TLS handshake, Server hello (2):
  • TLSv1.2 (IN), TLS handshake, Certificate (11):
  • TLSv1.2 (IN), TLS handshake, Server key exchange (12):
  • TLSv1.2 (IN), TLS handshake, Server finished (14):
  • TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
  • TLSv1.2 (OUT), TLS change cipher, Client hello (1):
  • TLSv1.2 (OUT), TLS handshake, Finished (20):
  • TLSv1.2 (IN), TLS change cipher, Client hello (1):
  • TLSv1.2 (IN), TLS handshake, Finished (20):
  • SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
  • ALPN, server accepted to use http/1.1
  • Server certificate:
  • subject: CN=narok.openmrs.org
  • start date: Nov 21 23:00:14 2018 GMT
  • expire date: Feb 19 23:00:14 2019 GMT
  • subjectAltName: host “api.qa.openconceptlab.org” matched cert’s “api.qa.openconceptlab.org
  • issuer: C=US; O=Let’s Encrypt; CN=Let’s Encrypt Authority X3
  • SSL certificate verify ok.

GET /users/admin/collections/?q=&limit=0&page=1&verbose=true HTTP/1.1 Host: api.qa.openconceptlab.org User-Agent: curl/7.54.0 Accept: /

< HTTP/1.1 200 OK < Server: nginx/1.10.3 (Ubuntu) < Date: Sun, 16 Dec 2018 11:26:13 GMT < Content-Type: application/json; charset=utf-8 < Transfer-Encoding: chunked < Connection: keep-alive < Vary: Accept, Cookie < ETag: “dc595e968e035b1530e8808e44d35b05” < Allow: GET, POST, HEAD, OPTIONS < Access-Control-Allow-Methods: GET, OPTIONS, POST, PUT, DELETE < Access-Control-Allow-Headers: authorization,DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range < Access-Control-Expose-Headers: Content-Length,Content-Range < [{“type”: “Collection”, “uuid”: “5c01365cf3aa3601a9d46646”, “id”: “WHO-testcezuso”, “short_code”: “WHO-testcezuso”, “name”: “Woreda Health Office”, “full_name”: “Woreda Health Office Collection”, “preferred_source”: “”, “repository_type”: “Collection”, “custom_resources_linked_source”: “”, “description”: “”, “external_id”: “”, “collection_type”: “Subset”, “custom_validation_schema”: “None”, “public_access”: “View”, “default_locale”: “en,es”, “supported_locales”: [“en”], “website”: “”, “url”: “/users/admin/collections/WHO-testcezuso/”, “versions_url”: “/users/admin/collections/WHO-testcezuso/versions/”, “concepts_url”: “/users/admin/collections/WHO-testcezuso/concepts/”, “mappings_url”: “/users/admin/collections/WHO-testcezuso/mappings/”, “owner”: “admin”, “owner_type”: “User”, “owner_url”: “/users/admin/”, “versions”: 1, “created_on”: “2018-11-30T08:08:44.448”, “updated_on”: “2018-12-04T07:49:54.016”, “created_by”: “root”, “updated_by”: “root”, “extras”: null, “references”: [{“expression”: “/users/admin/sources/HSTP-Indicatorsfihca/concepts/dugjoo/5c0136e6f3aa3601a9d4665e/”, “reference_type”: “concepts”}, {“expression”: “/users/admin/sources/HSTP-Indicatorszibih/concepts/nehlek/5c0675f0f3aa3601a9d467b6/”, “reference_type”: “concepts”}, {“expression”: “/users/admin/sources/HSTP-Indicatorsmisuf/concepts/icodal/5c0677f0f3aa3601a9d467e9/”, “reference_type”: “concepts”}], “active_concepts”: 3, “active_mappings”: 0}, {“type”: “Collection”, “uuid”: “5c01365ff3aa3601a9d46648”, “id”: “WHO-testmohajd”, “short_code”: “WHO-testmohajd”, “name”: “Woreda Health Office”, “full_name”: “Woreda Health Office Collection”, “preferred_source”: “”, “repository_type”: “Collection”, “custom_resources_linked_source”: “”, “description”: “”, “external_id”: “”, “collection_type”: “Subset”, “custom_validation_schema”: “None”, “public_access”: “View”, “default_locale”: “en,es”, “supported_locales”: [“en”], “website”: “”, “url”: “/users/admin/collections/WHO-testmohajd/”, “versions_url”: “/users/admin/collections/WHO-testmohajd/versions/”, “concepts_url”: “/users/admin/collections/WHO-testmohajd/concepts/”, “mappings_url”: “/users/admin/collections/WHO-testmohajd/mappings/”, “owner”: “admin”, “owner_type”: “User”, “owner_url”: “/users/admin/”, “versions”: 1, “created_on”: “2018-11-30T08:08:47.245”, “updated_on”: “2018-11-30T08:08:47.245”, “created_by”: “root”, “updated_by”: “root”, “extras”: null, “references”: [], “active_concepts”: 0, “active_mappings”: 0}, {“type”: “Collection”, “uuid”: “5c01419df3aa3601a9d46685”, “id”: “858738987555379”, “short_code”: “858738987555379”, “name”: “CHD”, “full_name”: null, “preferred_source”: “CIEL”, “repository_type”: “OpenMRSDictionary”, “custom_resources_linked_source”: “”, “description”: “Random description.”, “external_id”: null, “collection_type”: “”, “custom_validation_schema”: null, “public_access”: “View”, “default_locale”: “en”, “supported_locales”: [“aa”], “website”: null, “url”: “/users/admin/collections/858738987555379/”, “versions_url”: “/users/admin/collections/858738987555379/versions/”, “concepts_url”: “/users/admin/collections/858738987555379/concepts/”, “mappings_url”: “/users/admin/collections/858738987555379/mappings/”, “owner”: “admin”, “owner_type”: “User”, “owner_url”: “/users/admin/”, “versions”: 6, “created_on”: “2018-11-30T08:56:45.702”, “updated_on”: “2018-12-13T04:20:45.860”, “created_by”: “admin”, “updated_by”: “admin”, “extras”: null, “references”: [{“expression”: “/orgs/CIEL/sources/CIEL/concepts/1/5c01347ff3aa360149318368/”, “reference_type”: “concepts”}, {“expression”: “/orgs/CIEL/sources/CIEL/concepts/7/5c01347ff3aa360149318374/”, “reference_type”: “concepts”}, {“expression”: “/orgs/CIEL/sources/CIEL/concepts/8/5c01347ff3aa360149318376/”, “reference_type”: “concepts”}, {“expression”: “/orgs/CIEL/sources/CIEL/concepts/10/5c01347ff3aa36014931837a/”, “reference_type”: “concepts”}, {“expression”: “/orgs/CIEL/sources/CIEL/concepts/12/5c01347ff3aa36014931837e/”, “reference_type”: “concepts”}, {“expression”: “/orgs/CIEL/sources/CIEL/concepts/17/5c013480f3aa360149318388/”, “reference_type”: “concepts”}, {“expression”: “/users/admin/sources/858738987555379/concepts/5c0aff26-bf13-48c1-bb1e-5375cce7bb22/5c05390ff3aa3601a9d4673e/”, “reference_type”: “concepts”}, {“expression”: “/orgs/CIEL/sources/CIEL/concepts/11/5c01347ff3aa36014931837c/”, “reference_type”: “concepts”}, {“expression”: “/orgs/CIEL/sources/CIEL/concepts/32/5c013480f3aa3601493183a6/”, “reference_type”: “concepts”}, {“expression”: “/orgs/CIEL/sources/CIEL/concepts/37/5c013480f3aa3601493183b0/”, “reference_type”: “concepts”}, {“expression”: “/orgs/CIEL/sources/CIEL/concepts/21/5c013480f3aa360149318390/”, “reference_type”: “concepts”}, {“expression”: “/users/admin/sources/858738987555379/concepts/f173b548-3307-4363-815d-a01db99b1528/5c06a13df3aa3601a9d4684c/”, “reference_type”: “concepts”}, {“expression”: “/users/admin/sources/858738987555379/concepts/a2df2bfe-ebde-40cd-abd4-ec180a85ad3e/5c0f8995f3aa360086b1ebc2/”, “reference_type”: “concepts”}, {“expression”: “/orgs/CIEL/sources/CIEL/concepts/2/5c01347ff3aa36014931836a/”, “reference_type”: “concepts”}, {“expression”: “/users/admin/sources/858738987555379/concepts/dfd36829-71be-47bc-b5bb-18c1f255ff32/5c10ee41f3aa360086b1ec0f/”, “reference_type”: “concepts”}, {“expression”: “/users/admin/sources/858738987555379/concepts/b06fd083-3bd5-40b6-aa2d-113b4393a571/5c10f629f3aa360086b1ec15/”, “reference_type”: “concepts”}, {“expression”: “/users/admin/sources/858738987555379/concepts/997032aa-ccba-4202-834f-e71d1354628d/5c1223f7f3aa360086b1ed2d/”, “reference_type”: “concepts”}, {“expression”: “/users/admin/sources/858738987555379/concepts/683d53cd-d2a3-4025-93b2-2183f618dd1c/5c12246df3aa360086b1ed32/”, “reference_type”: “concepts”}], “active_concepts”: 18, “active_mappings”: 0}, {“type”: “Collection”, “uuid”: “5c043d0cf3aa3601a9d466be”, “id”: “3cbbf9d4-5c00-4b0d-a039-373d437ec4a3”, “short_code”: “3cbbf9d4-5c00-4b0d-a039-373d437ec4a3”, “name”: “WHO”, “full_name”: null, “preferred_source”: “CIEL”, “repository_type”: “OpenMRSDictionary”, “custom_resources_linked_source”: “”, “description”: “Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.”, “external_id”: null, “collection_type”: “”, “custom_validation_schema”: null, “public_access”: “View”, “default_locale”: “as”, “supported_locales”: [“en”], “website”: null, “url”: “/users/admin/collections/3cbbf9d4-5c00-4b0d-a039-373d437ec4a3/”, “versions_url”: “/users/admin/collections/3cbbf9d4-5c00-4b0d-a039-373d437ec4a3/versions/”, “concepts_url”: “/users/admin/collections/3cbbf9d4-5c00-4b0d-a039-373d437ec4a3/concepts/”, “mappings_url”: “/users/admin/collections/3cbbf9d4-5c00-4b0d-a039-373d437ec4a3/mappings/”, “owner”: “admin”, “owner_type”: “User”, “owner_url”: “/users/admin/”, “versions”: 3, “created_on”: “2018-12-02T15:14:04.898”, “updated_on”: “2018-12-13T04:41:53.911”, “created_by”: “admin”, “updated_by”: “admin”, “extras”: null, “references”: [{“expression”: “/users/admin/sources/3cbbf9d4-5c00-4b0d-a039-373d437ec4a3/concepts/8888d321-0502-4033-91e2-c30b3dbe3dde/5c06efedf3aa3601a9d46850/”, “reference_type”: “concepts”}, {“expression”: “/orgs/CIEL/sources/CIEL/concepts/1/5c01347ff3aa360149318368/”, “reference_type”: “concepts”}, {“expression”: “/users/admin/sources/3cbbf9d4-5c00-4b0d-a039-373d437ec4a3/concepts/6b45de28-3961-48e0-91e7-e9572fc3127a/5c0f852ef3aa360086b1ebaa/”, “reference_type”: “concepts”}, {“expression”: “/users/admin/sources/3cbbf9d4-5c00-4b0d-a039-373d437ec4a3/concepts/1621ae87-6532-4013-87dd-87319c403af0/5c0f877cf3aa360086b1ebb2/”, “reference_type”: “concepts”}, {“expression”: “/users/admin/sources/3cbbf9d4-5c00-4b0d-a039-373d437ec4a3/concepts/1065f454-e2d3-4d6e-9d42-706eb2191094/5c0f87a6f3aa360086b1ebb5/”, “reference_type”: “concepts”}, {“expression”: “/users/admin/sources/3cbbf9d4-5c00-4b0d-a039-373d437ec4a3/concepts/ffb39b65-abdd-4d3a-86d1-50cd2fcc5549/5c0f87ddf3aa360086b1ebbb/”, “reference_type”: “concepts”}], “active_concepts”: 6, “active_mappings”: 0}, {“type”: “Collection”, “uuid”: “5c0551f4f3aa3601a9d46754”, “id”: “2197623860455254”, “short_code”: “2197623860455254”, “name”: “My Community”, “full_name”: null, “preferred_source”: “CIEL”, “repository_type”: “OpenMRSDictionary”, “custom_resources_linked_source”: “”, “description”: “Community dictionary”, “external_id”: null, “collection_type”: “”, “custom_validation_schema”: null, “public_access”: “View”, “default_locale”: “en”, “supported_locales”: null, “website”: null, “url”: “/users/admin/collections/2197623860455254/”, “versions_url”: “/users/admin/collections/2197623860455254/versions/”, “concepts_url”: “/users/admin/collections/2197623860455254/concepts/”, “mappings_url”: “/users/admin/collections/2197623860455254/mappings/”, “owner”: “admin”, “owner_type”: “User”, “owner_url”: “/users/admin/”, “versions”: 3, “created_on”: “2018-12-03T10:55:32.384”, “updated_on”: “2018-12-12T14:17:19.456”, “created_by”: “admin”, “updated_by”: “admin”, “extras”: null, “references”: [{“expression”: “/users/admin/sources/2197623860455254/concepts/c69532e1-c941-4864-a03b-2a55aafdd732/5c0a6e34f3aa3601a9d46a54/”, “reference_type”: “concepts”}, {“expression”: “/orgs/CIEL/sources/CIEL/concepts/1/5c01347ff3aa360149318368/”, “reference_type”: “concepts”}, {“expression”: “/users/admin/sources/2197623860455254/concepts/3d1704ce-6ace-4d45-a34d-cdd430b6ee03/5c10caa8f3aa360086b1ebe8/”, “reference_type”: “concepts”}, {“expression”: “/users/admin/sources/2197623860455254/concepts/3c9f0c85-9f1c-4fe2-ab54-50675503cbfc/5c115ebef3aa360086b1ecff/”, “reference_type”: “concepts”}], “active_concepts”: 4, “active_mappings”: 0}, {“type”: “Collection”, “uuid”: “5c067569f3aa3601a9d4679e”, “id”: “WHO-testuvajan”, “short_code”: “WHO-testuvajan”, “name”: “Woreda Health Office”, “full_name”: “Woreda Health Office Collection”, “preferred_source”: “”, “repository_type”: “Collection”, “custom_resources_linked_source”: “”, “description”: “”, “external_id”: “”, “collection_type”: “Subset”, “custom_validation_schema”: “None”, “public_access”: “View”, “default_locale”: “en,es”, “supported_locales”: [“en”], “website”: “”, “url”: “/users/admin/collections/WHO-testuvajan/”, “versions_url”: “/users/admin/collections/WHO-testuvajan/versions/”, “concepts_url”: “/users/admin/collections/WHO-testuvajan/concepts/”, “mappings_url”: “/users/admin/collections/WHO-testuvajan/mappings/”, “owner”: “admin”, “owner_type”: “User”, “owner_url”: “/users/admin/”, “versions”: 1, “created_on”: “2018-12-04T07:39:05.094”, “updated_on”: “2018-12-04T07:39:05.094”, “created_by”: “root”, “updated_by”: “root”, “extras”: null, “references”: [], “active_concepts”: 0, “active_mappings”: 0}, {“type”: “Collection”, “uuid”: “5c06756bf3aa3601a9d467a0”, “id”: “WHO-testcajuni”, “short_code”: “WHO-testcajuni”, “name”: “Woreda Health Office”, “full_name”: “Woreda Health Office Collection”, “preferred_source”: “”, “repository_type”: “Collection”, “custom_resources_linked_source”: “”, “description”: “”, “external_id”: “”, “collection_type”: “Subset”, “custom_validation_schema”: “None”, “public_access”: “View”, “default_locale”: “en,es”, “supported_locales”: [“en”], “website”: “”, “url”: “/users/admin/collections/WHO-testcajuni/”, “versions_url”: “/users/admin/collections/WHO-testcajuni/versions/”, “concepts_url”: “/users/admin/collections/WHO-testcajuni/concepts/”, “mappings_url”: “/users/admin/collections/WHO-testcajuni/mappings/”, “owner”: “admin”, “owner_type”: “User”, “owner_url”: “/users/admin/”, “versions”: 1, “created_on”: “2018-12-04T07:39:07.908”, “updated_on”: “2018-12-04T07:39:07.908”, “created_by”: “root”, “updated_by”: “root”, “extras”: null, “references”: [], “active_concepts”: 0, “active_mappings”: 0}, {“type”: “Collection”, “uuid”: “5c067768f3aa3601a9d467d1”, “id”: “WHO-testcohcic”, “short_code”: “WHO-testcohcic”, “name”: “Woreda Health Office”, “full_name”: “Woreda Health Office Collection”, “preferred_source”: “”, “repository_type”: “Collection”, “custom_resources_linked_source”: “”, “description”: “”, “external_id”: “”, “collection_type”: “Subset”, “custom_validation_schema”: “None”, “public_access”: “View”, “default_locale”: “en,es”, “supported_locales”: [“en”], “website”: “”, “url”: “/users/admin/collections/WHO-testcohcic/”, “versions_url”: “/users/admin/collections/WHO-testcohcic/versions/”, “concepts_url”: “/users/admin/collections/WHO-testcohcic/concepts/”, “mappings_url”: “/users/admin/collections/WHO-testcohcic/mappings/”, “owner”: “admin”, “owner_type”: “User”, “owner_url”: “/users/admin/”, “versions”: 1, “created_on”: “2018-12-04T07:47:36.659”, “updated_on”: “2018-12-04T07:47:36.660”, “created_by”: “root”, “updated_by”: “root”, “extras”: null, “references”: [], “active_concepts”: 0, “active_mappings”: 0}, {“type”: “Collection”, “uuid”: “5c06776bf3aa3601a9d467d3”, “id”: “WHO-testhocmez”, “short_code”: “WHO-testhocmez”, “name”: “Woreda Health Office”, “full_name”: “Woreda Health Office Collection”, “preferred_source”: “”, “repository_type”: “Collection”, “custom_resources_linked_source”: “”, “description”: “”, “external_id”: “”, “collection_type”: “Subset”, “custom_validation_schema”: “None”, “public_access”: “View”, “default_locale”: “en,es”, “supported_locales”: [“en”], “website”: “”, “url”: “/users/admin/collections/WHO-testhocmez/”, “versions_url”: “/users/admin/collections/WHO-testhocmez/versions/”, “concepts_url”: “/users/admin/collections/WHO-testhocmez/concepts/”, “mappings_url”: “/users/admin/collections/WHO-testhocmez/mappings/”, “owner”: “admin”, “owner_type”: “User”, “owner_url”: “/users/admin/”, “versions”: 1, “created_on”: “2018-12-04T07:47:39.600”, “updated_on”: “2018-12-04T07:47:39.600”, “created_by”: “root”, “updated_by”: “root”, “extras”: null, “references”: [], “active_concepts”: 0, “active_mappings”: 0}, {“type”: “Collection”, “uuid”: “5c07c5bbf3aa3601a9d46892”, “id”: “dc6597a282d9”, “short_code”: “dc6597a282d9”, “name”: “Comm”, “full_name”: null, “preferred_source”: “CIEL”, “repository_type”: “OpenMRSDictionary”, “custom_resources_linked_source”: “”, “description”: “”, “external_id”: null, “collection_type”: “”, “custom_validation_schema”: null, “public_access”: “View”, “default_locale”: “en”, “supported_locales”: null, “website”: null, “url”: “/users/admin/collections/dc6597a282d9/”, “versions_url”: “/users/admin/collections/dc6597a282d9/versions/”, “concepts_url”: “/users/admin/collections/dc6597a282d9/concepts/”, “mappings_url”: “/users/admin/collections/dc6597a282d9/mappings/”, “owner”: “admin”, “owner_type”: “User”, “owner_url”: “/users/admin/”, “versions”: 6, “created_on”: “2018-12-05T07:34:03.104”, “updated_on”: “2018-12-10T08:56:54.634”, “created_by”: “admin”, “updated_by”: “admin”, “extras”: null, “references”: [{“expression”: “/users/admin/sources/dc6597a282d9/concepts/961bbca7-66d0-46ac-900c-a92e886eefe1/5c0e70a5f3aa360086b1eb3e/”, “reference_type”: “concepts”}], “active_concepts”: 1, “active_mappings”: 0}, {“type”: “Collection”, “uuid”: “5c0a5b5ef3aa3601a9d46a4b”, “id”: “b7b6ca24”, “short_code”: “b7b6ca24”, “name”: “CHM”, “full_name”: null, “preferred_source”: “CIEL”, “repository_type”: “OpenMRSDictionary”, “custom_resources_linked_source”: “”, “description”: “Lorem ipsum dolor sit amet”, “external_id”: null, “collection_type”: “”, “custom_validation_schema”: null, “public_access”: “View”, “default_locale”: “en”, “supported_locales”: null, “website”: null, “url”: “/users/admin/collections/b7b6ca24/”, “versions_url”: “/users/admin/collections/b7b6ca24/versions/”, “concepts_url”: “/users/admin/collections/b7b6ca24/concepts/”, “mappings_url”: “/users/admin/collections/b7b6ca24/mappings/”, “owner”: “admin”, “owner_type”: “User”, “owner_url”: “/users/admin/”, “versions”: 5, “created_on”: “2018-12-07T06:37:02.600”, “updated_on”: “2018-12-12T07:37:37.391”, “created_by”: “admin”, “updated_by”: “admin”, “extras”: null, “references”: [], “active_concepts”: 0, “active_mappings”: 0}, {“type”: “Collection”, “uuid”: “5c0e1486f3aa360086b1eae4”, “id”: “7a282d9”, “short_code”: “7a282d9”, “name”: “LHD”, “full_name”: null, “preferred_source”: “CIEL”, “repository_type”: “OpenMRSDictionary”, “custom_resources_linked_source”: “”, “description”: “”, “external_id”: null, “collection_type”: “”, “custom_validation_schema”: null, “public_access”: “View”, “default_locale”: “en”, “supported_locales”: null, “website”: null, “url”: “/users/admin/collections/7a282d9/”, “versions_url”: “/users/admin/collections/7a282d9/versions/”, “concepts_url”: “/users/admin/collections/7a282d9/concepts/”, “mappings_url”: “/users/admin/collections/7a282d9/mappings/”, “owner”: “admin”, “owner_type”: “User”, “owner_url”: “/users/admin/”, “versions”: 32, “created_on”: “2018-12-10T02:23:50.271”, “updated_on”: “2018-12-12T04:52:06.154”, “created_by”: “admin”, “updated_by”: “admin”, “extras”: null, “references”: [], “active_concepts”: 0, “active_mappings”: 0}, {“type”: “Collection”, “uuid”: “5c0e516bf3aa360086b1eb05”, “id”: “b7b6ca24c6597a282d9”, “short_code”: “b7b6ca24c6597a282d9”, “name”: “NEW”, “full_name”: null, “preferred_source”: “CIEL”, “repository_type”: “OpenMRSDictionary”, “custom_resources_linked_source”: “”, “description”: “”, “external_id”: null, “collection_type”: “”, “custom_validation_schema”: null, “public_access”: “View”, “default_locale”: “en”, “supported_locales”: null, “website”: null, “url”: “/users/admin/collections/b7b6ca24c6597a282d9/”, “versions_url”: “/users/admin/collections/b7b6ca24c6597a282d9/versions/”, “concepts_url”: “/users/admin/collections/b7b6ca24c6597a282d9/concepts/”, “mappings_url”: “/users/admin/collections/b7b6ca24c6597a282d9/mappings/”, “owner”: “admin”, “owner_type”: “User”, “owner_url”: “/users/admin/”, “versions”: 2, “created_on”: “2018-12-10T06:43:39.517”, “updated_on”: “2018-12-10T06:43:39.517”, “created_by”: “admin”, “updated_by”: “admin”, “extras”: null, “references”: [], “active_concepts”: 0, “active_mappings”: 0}, {“type”: “Collection”, “uuid”: “5c110433f3aa360086b1ec5b”, “id”: “85873898755537984y7ryfrnefj”, “short_code”: “85873898755537984y7ryfrnefj”, “name”: “grooving”, “full_name”: null, “preferred_source”: “CIEL”, “repository_type”: “OpenMRSDictionary”, “custom_resources_linked_source”: “”, “description”: “Yeah!!”, “external_id”: null, “collection_type”: “”, “custom_validation_schema”: null, “public_access”: “View”, “default_locale”: “en”, “supported_locales”: null, “website”: null, “url”: “/users/admin/collections/85873898755537984y7ryfrnefj/”, “versions_url”: “/users/admin/collections/85873898755537984y7ryfrnefj/versions/”, “concepts_url”: “/users/admin/collections/85873898755537984y7ryfrnefj/concepts/”, “mappings_url”: “/users/admin/collections/85873898755537984y7ryfrnefj/mappings/”, “owner”: “admin”, “owner_type”: “User”, “owner_url”: “/users/admin/”, “versions”: 1, “created_on”: “2018-12-12T07:50:59.266”, “updated_on”: “2018-12-13T05:29:53.021”, “created_by”: “admin”, “updated_by”: “admin”, “extras”: null, “references”: [{“expression”: “/users/admin/sources/85873898755537984y7ryfrnefj/concepts/4b3c001a-b659-464e-805a-c920742d0fba/5c110561f3aa360086b1ec64/”, “reference_type”: “concepts”}, {“expression”: “/users/admin/sources/85873898755537984y7ryfrnefj/concepts/dae190f9-63f2-4b32-b4d0-0b74c4c3b81f/5c1105d7f3aa360086b1ec69/”, “reference_type”: “concepts”}, {“expression”: “/users/admin/sources/85873898755537984y7ryfrnefj/concepts/2053ffdc-65b1-46aa-b628-e1b6717d9170/5c110738f3aa360086b1ec6e/”, “reference_type”: “concepts”}, {“expression”: “/users/admin/sources/85873898755537984y7ryfrnefj/concepts/3282236e-2ced-47bc-a597-93ed24a06c87/5c1220eaf3aa360086b1ed28/”, “reference_type”: “concepts”}, {“expression”: “/users/admin/sources/85873898755537984y7ryf* Connection #0 to host api.qa.openconceptlab.org left intact rnefj/concepts/205fa820-4340-4ebe-96f3-8cd6ee59ae16/5c122840f3aa360086b1ed37/”, “reference_type”: “concepts”}, {“expression”: “/users/admin/sources/85873898755537984y7ryfrnefj/concepts/c8550dd1-036b-4330-a9d7-3d8a19cf5e9c/5c1229f4f3aa360086b1ed42/”, “reference_type”: “concepts”}, {“expression”: “/users/admin/sources/85873898755537984y7ryfrnefj/concepts/c686a18f-1c2f-4945-9f5c-573ff34bef2b/5c122a54f3aa360086b1ed45/”, “reference_type”: “concepts”}, {“expression”: “/users/admin/sources/85873898755537984y7ryfrnefj/concepts/75756a6c-6084-4fe4-9eb2-9f7c9359ad1e/5c122f93f3aa360086b1ed4a/”, “reference_type”: “concepts”}, {“expression”: “/users/admin/sources/85873898755537984y7ryfrnefj/concepts/02f0875d-158d-46e4-9653-5600080bff18/5c1234a0f3aa360086b1ed4f/”, “reference_type”: “concepts”}], “active_concepts”: 9, “active_mappings”: 0}, {“type”: “Collection”, “uuid”: “5c110d26f3aa360086b1ec76”, “id”: “12334567812321”, “short_code”: “12334567812321”, “name”: “CW”, “full_name”: null, “preferred_source”: “CIEL”, “repository_type”: “OpenMRSDictionary”, “custom_resources_linked_source”: “”, “description”: “For testing”, “external_id”: null, “collection_type”: “”, “custom_validation_schema”: null, “public_access”: “View”, “default_locale”: “en”, “supported_locales”: null, “website”: null, “url”: “/users/admin/collections/12334567812321/”, “versions_url”: “/users/admin/collections/12334567812321/versions/”, “concepts_url”: “/users/admin/collections/12334567812321/concepts/”, “mappings_url”: “/users/admin/collections/12334567812321/mappings/”, “owner”: “admin”, “owner_type”: “User”, “owner_url”: “/users/admin/”, “versions”: 1, “created_on”: “2018-12-12T08:29:10.063”, “updated_on”: “2018-12-12T11:08:30.649”, “created_by”: “admin”, “updated_by”: “admin”, “extras”: null, “references”: [], “active_concepts”: 0, “active_mappings”: 0}]

I assume this is what you needed, but clearly this has no relationship with CORS at all. Please next time keep in mind I don’t know your project and give me very specific steps to follow, and the expected result.