-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve deploy server and test dbpedia music (#131)
* fix: disable post, put and delete method * fix: run docker as user * fix: add dbpedia ontology * fix: add ci dbpedia music * fix: path * fix: test using pink floyd * fix: wait for the server
- Loading branch information
Showing
7 changed files
with
30,576 additions
and
7 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,12 @@ | ||
set -xe | ||
|
||
java -jar target/oba-*-jar-with-dependencies.jar -c examples/dbpedia/config_music.yaml | ||
pushd outputs/dbpedia_music/servers/python | ||
bash generate-server.sh | ||
pushd server | ||
docker build -t openapi_server . | ||
docker run --name dbpedia_music -d -p 8080:8080 openapi_server | ||
popd | ||
sleep 10s | ||
curl -X GET "http://0.0.0.0:8080/v1.3.0/bands/Pink_Floyd" -H "accept: application/json" | ||
docker logs dbpedia_music |
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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
language: java | ||
script: | ||
- mvn package | ||
- bash .ci/dbpedia_music.sh | ||
before_deploy: | ||
- ls -lR | ||
deploy: | ||
|
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
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
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