forked from WeBankPartners/we-cmdb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from WeBankPartners/master
test
- Loading branch information
Showing
16 changed files
with
2,435 additions
and
1,359 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Java CI | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Set up JDK 1.8 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 1.8 | ||
- name: Build with Maven | ||
run: mvn --file cmdb-core/pom.xml clean package |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
server: | ||
port: 9080 | ||
address: localhost | ||
|
||
spring: | ||
datasource: | ||
platform: H2 | ||
driver-class-name: org.h2.Driver | ||
url: jdbc:h2:mem:cmdb;MODE=MYSQL;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=true;MV_STORE=FALSE;INIT=CREATE SCHEMA IF NOT EXISTS wecmdb_dev\;SET SCHEMA wecmdb_dev | ||
username: sa | ||
password: | ||
schema: classpath:/database/01.cmdb.schema.sql | ||
data: | ||
- classpath:/database/02.cmdb.system.data.sql | ||
- classpath:/local/03.cmdb.system.data.files.h2.sql | ||
- classpath:/database/04.cmdb.experience.data.sql | ||
sql-script-encoding: utf-8 | ||
|
||
jpa: | ||
database: MySQL | ||
database-platform: org.hibernate.dialect.MySQL5InnoDBDialect | ||
show-sql: false | ||
hibernate: | ||
ddl-auto: none | ||
|
||
cmdb: | ||
datasource: | ||
schema: wecmdb_dev | ||
security: | ||
enabled: false | ||
whitelist-ip-address: localhost |
Oops, something went wrong.