Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

Commit

Permalink
rebase to master
Browse files Browse the repository at this point in the history
  • Loading branch information
cdmikechen committed Jul 23, 2023
1 parent 9b6fac7 commit db64bd9
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
13 changes: 13 additions & 0 deletions submarine-server/server-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,19 @@
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-core</artifactId>
<version>7.15.0</version>
</dependency>

<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>1.4.194</version>
<scope>test</scope>
</dependency>

</dependencies>

<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

import org.apache.commons.lang3.StringUtils;
import org.apache.log4j.PropertyConfigurator;
import org.apache.submarine.server.database.initialization.DatabaseMetadataService;
import org.apache.submarine.server.database.utils.MyBatisUtil;
import org.apache.submarine.server.rest.provider.YamlEntityProvider;
import org.apache.submarine.server.security.SecurityFactory;
Expand Down Expand Up @@ -136,8 +137,11 @@ protected void configure() {
// setupClusterServer();

setupWebSocketServer(webApp, conf, sharedServiceLocator);
startServer();

// init database metadata
new DatabaseMetadataService().initDatabaseMetadata();

startServer();
}

@Inject
Expand Down

0 comments on commit db64bd9

Please sign in to comment.