-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[feat] use cari package's NewTask and NewTombstone functions and chan…
…ge db name in mongo model
- Loading branch information
Showing
16 changed files
with
162 additions
and
50 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
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 |
---|---|---|
|
@@ -16,7 +16,7 @@ jobs: | |
sudo docker-compose -f ./examples/dev/docker-compose.yaml up -d | ||
sleep 20 | ||
export TEST_DB_KIND=mongo | ||
export TEST_DB_URI=mongodb://kie:[email protected]:27017/kie | ||
export TEST_DB_URI=mongodb://kie:[email protected]:27017/servicecomb | ||
time go test -v $(go list ./... | grep -v etcd | grep -v third_party | grep -v examples) | ||
- name: Build kie images | ||
run: | | ||
|
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 |
---|---|---|
|
@@ -68,7 +68,7 @@ EOM | |
|
||
cat <<EOM > ${release_dir}/conf/kie-conf.yaml | ||
db: | ||
uri: mongodb://root:[email protected]:27017/kie | ||
uri: mongodb://root:[email protected]:27017/servicecomb | ||
type: mongodb | ||
poolSize: 10 | ||
ssl: false | ||
|
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 |
---|---|---|
|
@@ -11,7 +11,7 @@ follow steps to enable service center [RBAC](https://service-center.readthedocs. | |
2.edit kie-conf.yaml | ||
```ini | ||
db: | ||
uri: mongodb://kie:[email protected]:27017/kie | ||
uri: mongodb://kie:[email protected]:27017/servicecomb | ||
type: mongodb | ||
rbac: | ||
enabled: true | ||
|
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 |
---|---|---|
|
@@ -23,7 +23,7 @@ you can use mongo db as kie server storage to save configuration | |
### Example | ||
```yaml | ||
db: | ||
uri: mongodb://kie:[email protected]:27017/kie | ||
uri: mongodb://kie:[email protected]:27017/servicecomb | ||
poolSize: 10 | ||
timeout: 5s | ||
sslEnabled: true | ||
|
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 |
---|---|---|
|
@@ -22,7 +22,7 @@ db.createUser( | |
roles: [ | ||
{ | ||
role: "readWrite", | ||
db: "kie" | ||
db: "servicecomb" | ||
} | ||
] | ||
} | ||
|
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
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
Oops, something went wrong.