File tree Expand file tree Collapse file tree 3 files changed +13
-13
lines changed
src/main/java/es/tid/fiware/iot/ac Expand file tree Collapse file tree 3 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 7878 echo " INFO: Wait for DB endpoint <${KEYPASS_DB_HOST_NAME} :${KEYPASS_DB_HOST_PORT} >"
7979 sleep 2
8080done
81- java -jar /opt/keypass/keypass.jar db migrate /opt/keypass/config.yml
81+ # java -jar /opt/keypass/keypass.jar db migrate /opt/keypass/config.yml
8282
8383java -jar /opt/keypass/keypass.jar server /opt/keypass/config.yml
Original file line number Diff line number Diff line change 2828 <artifactId >dropwizard-core</artifactId >
2929 <version >${dropwizard.version} </version >
3030 </dependency >
31- <dependency >
32- <groupId >io.dropwizard</groupId >
33- <artifactId >dropwizard-migrations</artifactId >
34- <version >${dropwizard.version} </version >
35- </dependency >
31+ <!-- < dependency> -- >
32+ <!-- <groupId>io.dropwizard</groupId> -- >
33+ <!-- <artifactId>dropwizard-migrations</artifactId> -- >
34+ <!-- <version>${dropwizard.version}</version> -- >
35+ <!-- < /dependency> -- >
3636 <dependency >
3737 <groupId >io.dropwizard</groupId >
3838 <artifactId >dropwizard-hibernate</artifactId >
Original file line number Diff line number Diff line change 3939import es .tid .fiware .iot .ac .util .VersionEndpoint ;
4040import io .dropwizard .db .DataSourceFactory ;
4141import io .dropwizard .hibernate .HibernateBundle ;
42- import io .dropwizard .migrations .MigrationsBundle ;
42+ // import io.dropwizard.migrations.MigrationsBundle;
4343import io .dropwizard .setup .Bootstrap ;
4444import io .dropwizard .setup .Environment ;
4545import java .util .EnumSet ;
@@ -62,12 +62,12 @@ public static void main(String[] args) throws Exception {
6262 @ Override
6363 public void initialize (Bootstrap <AcConfig > bootstrap ) {
6464 bootstrap .addBundle (hibernate );
65- bootstrap .addBundle (new MigrationsBundle <AcConfig >() {
66- @ Override
67- public DataSourceFactory getDataSourceFactory (AcConfig configuration ) {
68- return configuration .getDataSourceFactory ();
69- }
70- });
65+ // bootstrap.addBundle(new MigrationsBundle<AcConfig>() {
66+ // @Override
67+ // public DataSourceFactory getDataSourceFactory(AcConfig configuration) {
68+ // return configuration.getDataSourceFactory();
69+ // }
70+ // });
7171 }
7272
7373 @ Override
You can’t perform that action at this time.
0 commit comments