Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Change log:

...

Jobs are set up to do continuous integration. The artifacts produced from a build are placed in the given the job's "Workspace" (Arbejdsområde) page, in the folder "target":

...

Our Jenkins jobs are configured to deploy to Nexus. ThereOn Nexus, you can find both the source code and the artifacts produced from the build.

...

  1. Retrieve the rator-selfcare-rest-api .war file (either from Jenkins/Nexus, see Resources, or by building the .war yourself, see Build).
  2. Copy the war file to the Tomcat webapps directory and (re-)start the Tomcat application.
  3. Retrieve the swagger-ui dist folder (either from Github, or from our own repositories, see Resources. Or by building the project yourself, see Build).
  4. Copy the dist folder to the Tomcat webapps directory and (re-)start the Tomcat application. You probably want to rename the dist folder to swagger-ui
    1. Nb This can be a different Tomcat installation than in step 2, or the same.
  5. In your browser, enter the URL "http://<Swagger server and port>/<base-path>/?url=http://<REST server and port>/<base-path>/api/swagger.json". 
  6. You should now see a list of the resources available on the REST server.

...