Page tree
Skip to end of metadata
Go to start of metadata

1. Download and load the prebuilt REST-service as Docker image

Loading the ZIP-file into Docker for Windows:

  • Download the container image here: Docker container decryptiecomponent (filename: pep-crypto-thorntail.tar.gz)
  • Load the TAR-file into docker; run the following command from the same directory docker load -i ./pep-crypto-thorntail.tar.gz, e.g.


Example: Output

~/dev$ docker load -i ./pep-crypto-thorntail.tar.gz

9ad51092b579: Loading layer [==================================================>] 72.23MB/72.23MB

1751be3ca395: Loading layer [==================================================>] 259MB/259MB

61b47e2f16fb: Loading layer [==================================================>] 94.11MB/94.11MB

Loaded image: docker-registry.eid.ictu:5000/pep-crypto/thorntail:c6cba426220c8e65966aaedb080b3b1fb9f20cdf

2. Running the REST-service

  • The image contains an REST-application with a built-in OpenAPI UI. Starting a container using the image provides you access to this UI.
  • A container is started by executing the command:

Example: Command

docker run --rm -p 8080:8080 docker-registry.eid.ictu:5000/pep-crypto/thorntail:c6cba426220c8e65966aaedb080b3b1fb9f20cdf


Note the docker image tag, i.e. c6cba426220c8e65966aaedb080b3b1fb9f20cdf. It is needed by the construction of the command that runs the pep-crypto docker image,

  • e.g. docker run --rm -p 8080:8080 docker-registry.eid.ictu:5000/pep-crypto/thorntail:c6cba426220c8e65966aaedb080b3b1fb9f20cdf


Example: Output

~/dev$ docker run --rm -p 8080:8080 docker-registry.eid.ictu:5000/pep-crypto/thorntail:c6cba426220c8e65966aaedb080b3b1fb9f20cdf

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by org.jboss.modules.JDKSpecific$2 (...) to method java.lang.ClassLoader.getPackage(java.lang.String)

WARNING: Please consider reporting this to the maintainers of org.jboss.modules.JDKSpecific$2

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations

WARNING: All illegal access operations will be denied in a future release

2019-03-12 08:32:34,728 INFO [org.wildfly.swarm] (main) THORN0013: Installed fraction: Logging - STABLE io.thorntail:logging:2.3.0.Final

2019-03-12 08:32:34,776 INFO [org.wildfly.swarm] (main) THORN0013: Installed fraction: Bean Validation - STABLE io.thorntail:bean-validation:2.3.0.Final

2019-03-12 08:32:34,777 INFO [org.wildfly.swarm] (main) THORN0013: Installed fraction: Undertow - STABLE io.thorntail:undertow:2.3.0.Final

2019-03-12 08:32:34,777 INFO [org.wildfly.swarm] (main) THORN0013: Installed fraction: JAX-RS - STABLE io.thorntail:jaxrs:2.3.0.Final

2019-03-12 08:32:34,777 INFO [org.wildfly.swarm] (main) THORN0013: Installed fraction: CDI - STABLE io.thorntail:cdi:2.3.0.Final

2019-03-12 08:32:34,778 INFO [org.wildfly.swarm] (main) THORN0013: Installed fraction: Transactions - STABLE io.thorntail:transactions:2.3.0.Final

2019-03-12 08:32:34,778 INFO [org.wildfly.swarm] (main) THORN0013: Installed fraction: MicroProfile OpenAPI - STABLE io.thorntail:microprofile-openapi:2.3.0.Final

2019-03-12 08:32:34,778 INFO [org.wildfly.swarm] (main) THORN0013: Installed fraction: CDI Configuration - STABLE io.thorntail:cdi-config:2.3.0.Final

2019-03-12 08:32:34,779 INFO [org.wildfly.swarm] (main) THORN0013: Installed fraction: MicroProfile Config - STABLE io.thorntail:microprofile-config:2.3.0.Final

2019-03-12 08:32:34,779 INFO [org.wildfly.swarm] (main) THORN0013: Installed fraction: Elytron - STABLE io.thorntail:elytron:2.3.0.Final

2019-03-12 08:32:36,828 INFO [org.jboss.msc] (main) JBoss MSC version 1.4.5.Final

...

2019-03-12 08:32:42,818 INFO [org.wildfly.swarm] (main) THORN99999: Thorntail is Ready



  • No labels