Closed bs-jokri closed 7 years ago
Add docker containers which run the sw360rest-server. For this there are two services added to the docker-compose configuration, i.e.
./gradlew authorization-server:bootrun
./gradlew resource-server:bootrun
One has to
/deployment/configuration.env
datahandler-1.6.0-SNAPSHOT.jar
/deployment/sw360rest/
To get an authorization token one can run
$ docker exec -it deployment_sw360restAuthorization_1 ./gradlew printAccessToken
while building this clones sw360rest from github and thus needs configured proxy settings in some environments.
@toedter: This could be interesting for you
This is outdated and one should use the images provided by sw360rest
Add docker containers which run the sw360rest-server. For this there are two services added to the docker-compose configuration, i.e.
./gradlew authorization-server:bootrun
is running and./gradlew resource-server:bootrun
.Before building the rest containers
One has to
/deployment/configuration.env
file.datahandler-1.6.0-SNAPSHOT.jar
(which is generated while compiling sw360) in/deployment/sw360rest/
.How to get an authorization token
To get an authorization token one can run
Note
while building this clones sw360rest from github and thus needs configured proxy settings in some environments.