|
|
|
|
@ -1,5 +1,7 @@
|
|
|
|
|
:launchURL: https://developers.redhat.com/launch |
|
|
|
|
:image: registry.access.redhat.com/fuse7/fuse-java-openshift:1.0 |
|
|
|
|
:image-registry: registry.access.redhat.com |
|
|
|
|
:image-prefix: /fuse7/ |
|
|
|
|
:image-name-version: fuse-java-openshift:1.0 |
|
|
|
|
|
|
|
|
|
= REST API Level 0 - Fuse Booster |
|
|
|
|
|
|
|
|
|
@ -100,14 +102,14 @@ $ oc new-project MY_PROJECT_NAME
|
|
|
|
|
+ |
|
|
|
|
[source,bash,options="nowrap",subs="attributes+"] |
|
|
|
|
---- |
|
|
|
|
$ oc import-image fis-java-openshift:2.0 --from={image} --confirm |
|
|
|
|
$ oc import-image {image-name-version} --from={image-registry}{image-prefix}{image-name-version} --confirm |
|
|
|
|
---- |
|
|
|
|
|
|
|
|
|
. Build and deploy the project to the OpenShift cluster: |
|
|
|
|
+ |
|
|
|
|
[source,bash,options="nowrap",subs="attributes+"] |
|
|
|
|
---- |
|
|
|
|
$ mvn clean -DskipTests fabric8:deploy -Popenshift -Dfabric8.generator.fromMode=istag -Dfabric8.generator.from=MY_PROJECT_NAME/fis-java-openshift:2.0 |
|
|
|
|
$ mvn clean -DskipTests fabric8:deploy -Popenshift -Dfabric8.generator.fromMode=istag -Dfabric8.generator.from=MY_PROJECT_NAME/{image-name-version} |
|
|
|
|
---- |
|
|
|
|
|
|
|
|
|
. In your browser, navigate to the `MY_PROJECT_NAME` project in the OpenShift console. |
|
|
|
|
|