Arquisoft / InciManager_i2b

InciManager_i2b
MIT License
1 stars 2 forks source link

Create get incidents info controller #14

Closed ulitol97 closed 6 years ago

ulitol97 commented 6 years ago

Fixes #4 I struggled quite a lot testing the controller and just did what I though was better, so tests may be still lacking :/

alejgh commented 6 years ago

To use h2 you need to add the following dependency:

<dependency>
    <groupId>com.h2database</groupId>
    <artifactId>h2</artifactId>
    <scope>runtime</scope>
</dependency>

You will also need to make the IncidentsRepository extend CrusRepository instead of MongoRepository, and remove the mongo configuration from the properties file. I think that will be enough for it to work.

ulitol97 commented 6 years ago

OK, shouldn't take long, no problem 👍