Webapi project deployment

Hi,

First, thanks for contributing this great work to the community.

I am not familiar with Spring framework I downloaded the webapi project and compiled them with Eclipse

Then I create a dynamic web project using eclipse and configure Tomcat server, I used the web.xml downloaded from branches and starting the web service successfully,

However, when I test the link, for example, “http://localhost:8080/ohdsi_webapi/vocabulary/concept/0

I found the following error:
java.lang.NullPointerException
at org.ohdsi.webapi.service.VocabularyService.getConcept(VocabularyService.java:143)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483

And I found the function getJdbcTemplate() return null value and also other 4 variables returned empty value
so I wonder if there is a configuration file that injecting values for those fields or any other configurations that I need

Thanks.
Min

Hi Min,

The OLYMPUS deployable package will be released next week that contains the WebAPI and OHDSI web apps in a single application. Just run it, use the GUI to configure, and off you go. (No need for eclipse, tomcat, spring, etc).

Do you happen to have a CDM instance already set up? If so, we could use testers!

Jon

HI Jon,

Thanks for your quick reply.

That would be great if there is a executable package.

Actually we are looking for test data set, now we are using osim2, but we found there are only four tables available, do you have any suggestions on it?

Thanks.
Min

We are working on putting the synthetic medicare data into CDM v5 format. We have completed the ETL specification, and are planning to start the ETL process soon. But it is probably a few weeks away from being done.