From 4b243553e7b63c2bf112ee08adddddd132e33c69 Mon Sep 17 00:00:00 2001 From: Stian Thorgersen Date: Wed, 15 Feb 2017 08:53:07 +0100 Subject: [PATCH] Fix links to quickstart repo --- .../topics/getting-started/hello-world/deploy.adoc | 8 ++++---- book.json | 7 ++++++- .../topics/secure-jboss-app/download-quickstarts.adoc | 8 ++++---- 3 files changed, 14 insertions(+), 9 deletions(-) diff --git a/authorization_services/topics/getting-started/hello-world/deploy.adoc b/authorization_services/topics/getting-started/hello-world/deploy.adoc index 5834dbe2c7..43267956c7 100644 --- a/authorization_services/topics/getting-started/hello-world/deploy.adoc +++ b/authorization_services/topics/getting-started/hello-world/deploy.adoc @@ -3,25 +3,25 @@ Now that the *app-authz-vanilla* resource server (or client) is properly configured and authorization services are enabled, it can be deployed to the server. -The project and code for the application you are going to deploy is available in link:{{book.quickstartRepo}}[Red Hat Developers GitHub]. You will need the following +The project and code for the application you are going to deploy is available in link:{{book.quickstartRepo.link}}[{{book.quickstartRepo.name}}]. You will need the following installed on your machine and available in your PATH before you can continue: * Java JDK 8 * Apache Maven 3.1.1 or higher * Git -You can obtain the code by cloning the repository at {{book.quickstartRepo}}. Use the branch matching the version of Red Hat Single Sign-On in use. Follow these steps to download the code. +You can obtain the code by cloning the repository at {{book.quickstartRepo.link}}. Use the branch matching the version of Red Hat Single Sign-On in use. Follow these steps to download the code. .Clone Project [source, subs="attributes"] ---- -$ git clone {{book.quickstartRepo}} +$ git clone {{book.quickstartRepo.link}} ---- The application we are about to build and deploy is located at ---- -$ cd redhat-sso-quickstarts/app-authz-jee-vanilla +$ cd {{book.quickstartRepo.dir}}/app-authz-jee-vanilla ---- ==== Obtaining the Adapter Configuration diff --git a/book.json b/book.json index f132f99c38..c85a9bb0c1 100755 --- a/book.json +++ b/book.json @@ -51,7 +51,12 @@ "link": "http://www.keycloak.org/documentation.html" }, - "quickstartRepo": "https://github.com/keycloak/keycloak-quickstarts", + "quickstartRepo": { + "name": "Keycloak Quickstarts Repository", + "link": "https://github.com/keycloak/keycloak-quickstarts", + "dir": "keycloak-quickstarts" + }, + "fuseVersion": "JBoss Fuse 6.3.0 Rollup 1", "appserver": { diff --git a/getting_started/topics/secure-jboss-app/download-quickstarts.adoc b/getting_started/topics/secure-jboss-app/download-quickstarts.adoc index 5173b96a43..ee3967fc84 100644 --- a/getting_started/topics/secure-jboss-app/download-quickstarts.adoc +++ b/getting_started/topics/secure-jboss-app/download-quickstarts.adoc @@ -1,21 +1,21 @@ === Downloading, Building, and Deploying Application Code -The project and code for the application you are going to secure is available in link:{{book.quickstartRepo}}[Red Hat Developers GitHub]. You will need the following +The project and code for the application you are going to secure is available in link:{{book.quickstartRepo.link}}[{{book.quickstartRepo.name}}]. You will need the following installed on your machine and available in your PATH before you can continue: * Java JDK 8 * Apache Maven 3.1.1 or higher * Git -You can obtain the code by cloning the repository at {{book.quickstartRepo}}. Use the branch matching the version of Red Hat Single Sign-On in use. Follow these steps to download the code, build it, +You can obtain the code by cloning the repository at {{book.quickstartRepo.link}}. Use the branch matching the version of Red Hat Single Sign-On in use. Follow these steps to download the code, build it, and deploy it. Make sure your {{book.appserver.name}} application server is started before you run these steps. .Clone Project [source, subs="attributes"] ---- -$ git clone {{book.quickstartRepo}} -$ cd redhat-sso-quickstarts/app-profile-jee-vanilla +$ git clone {{book.quickstartRepo.link}} +$ cd {{book.quickstartRepo.dir}}/app-profile-jee-vanilla $ mvn clean wildfly:deploy ----