Which end point of reference data service is currently available?

Hi all,

I was deploying the reference data service to test env.

After I got the container running, I wanted to try to send a request to it and verify the service is really ready to be used.

But I noticed that all the controller tests in reference data service are being @Ignored.

So, which end point can I use to verify that the service is up and running?

Thanks

Hello Pengfei,

all of those endpoints should be up and working. For simple verification you may use the "/version" endpoint that should be available in each service. The reason the controller tests are ignored is that they were moved from the Requisition service but were not conforming to our testing strategy for REST endpoints. Detailed reasons are posted on Slack by Josh. Re-writing and re-activating them is covered by Best regards, Sebastian Brudziński.
···

https://openlmis.atlassian.net/browse/OLMIS-1018

   On 15.09.2016 10:57, wrote:

Hi all,

I was deploying the reference data service to test env.

      After I got the container running, I wanted to try to send a request to it and verify the service is really ready to be used.
      But I noticed that all the controller tests in reference data service are being @Ignored.
      So, which end point can I use to verify that the service is up and running?

Thanks

  You received this message because you are subscribed to the Google Groups "OpenLMIS Dev" group.

  To unsubscribe from this group and stop receiving emails from it, send an email to openlmis-dev+unsubscribe@googlegroups.com.

  To post to this group, send email to openlmis-dev@googlegroups.com.

  To view this discussion on the web visit [](https://groups.google.com/d/msgid/openlmis-dev/7bdd372b-78e7-444d-9738-c59b0bb7abde%40googlegroups.com?utm_medium=email&utm_source=footer)      . For more options, visit .

pfcui@thoughtworks.com
https://groups.google.com/d/msgid/openlmis-dev/7bdd372b-78e7-444d-9738-c59b0bb7abde%40googlegroups.com
https://groups.google.com/d/optout

Hi Sebastian,

I tried the version end point, but I was getting an error either with or without an access token.

The error is:

[Circular view path [version]: would dispatch back to the current handler URL [/version] again. Check your ViewResolver setup! (Hint: This may be the result of an unspecified view, due to default view name generation.)]

In the stack trace, I saw ResourceServerSecurityConfiguration.java: line 58.

Could you help to point out how the request is supposed to be made ?

Thanks

···

On Thursday, September 15, 2016 at 5:52:19 PM UTC+8, Sebastian Brudziński wrote:

Hello Pengfei,

all of those endpoints should be up and working. For simple verification you may use the "/version" endpoint that should be available in each service. The reason the controller tests are ignored is that they were moved from the Requisition service but were not conforming to our testing strategy for REST endpoints. Detailed reasons are posted on Slack by Josh. Re-writing and re-activating them is covered by [https://openlmis.atlassian.net/browse/OLMIS-1018](https://openlmis.atlassian.net/browse/OLMIS-1018)



Best regards,

Sebastian Brudziński.


  On 15.09.2016 10:57, pf...@thoughtworks.com wrote:

Hi all,

I was deploying the reference data service to test env.

      After I got the container running, I wanted to try to send a request to it and verify the service is really ready to be used.
      But I noticed that all the controller tests in reference data service are being @Ignored.
      So, which end point can I use to verify that the service is up and running?

Thanks

  You received this message because you are subscribed to the Google Groups "OpenLMIS Dev" group.

  To unsubscribe from this group and stop receiving emails from it, send an email to openlmis-dev...@googlegroups.com.

  To post to this group, send email to openlm...@googlegroups.com.

  To view this discussion on the web visit [](https://groups.google.com/d/msgid/openlmis-dev/7bdd372b-78e7-444d-9738-c59b0bb7abde%40googlegroups.com?utm_medium=email&utm_source=footer)[https://groups.google.com/d/msgid/openlmis-dev/7bdd372b-78e7-444d-9738-c59b0bb7abde%40googlegroups.com](https://groups.google.com/d/msgid/openlmis-dev/7bdd372b-78e7-444d-9738-c59b0bb7abde%40googlegroups.com).

  For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).