Uploaded image for project: 'Fuse/AMQ Documentation'
  1. Fuse/AMQ Documentation
  2. FUSEDOC-5023

Incorrect Instructions in "Running a Spring Boot application with MAVEN_MIRROR_URL" Section

XMLWordPrintable

    • integration-doc-starts-290822

      Please check the following instructions:
      Fuse on OpenShift Guide:: 3.4. Using an internal Maven repository:: 3.4.1. Running a Spring Boot application with MAVEN_MIRROR_URL
      https://access.redhat.com/documentation/en-us/red_hat_fuse/7.11/html/fuse_on_openshift_guide/installing-fuse-on-openshift-in-restricted-environment#deploy-and-run-quickstart-with-maven-mirror-url

      1. Download the Spring Boot Camel XML quickstart.
      oc create -f {BASEURL}/quickstarts/spring-boot-2-camel-xml-template.json
      
      2. Enter the following command to create the resources required for running the Spring Boot quickstart template using the MAVEN_MIRROR_URL parameter. This will create a deployment config and build config for the quickstart. The information about the default parameters of the quickstart and the resources created is displayed on the terminal.
      
      oc new-app s2i-fuse711-spring-boot-2-camel-xml -n {namespace} -p IMAGE_STREAM_NAMESPACE={namespace} -p MAVEN_MIRROR_URL={Maven mirror URL}
      

      The deployment config made by "oc create" command generates a deployment config which pointing to a public git repository.

        source:
          type: Git
          git:
            uri: 'https://github.com/fabric8-quickstarts/spring-boot-camel-xml.git'
            ref: spring-boot-camel-xml-7.10.0.fuse-sb2-7_10_1-00007-redhat-00001
        triggers:
          - type: GitHub
            github:
              secret: 87hXpt0bknMRqn4e5T1L8Bag0DgXSujpXQ8aB8wj
          - type: Generic
            generic:
              secret: 87hXpt0bknMRqn4e5T1L8Bag0DgXSujpXQ8aB8wj
          - type: ConfigChange
          - type: ImageChange
            imageChange: {}
        runPolicy: Serial
      

      Please note that this instruction is under "Chapter 3. Installing Fuse on Openshift in a restricted environment".
      By executing "oc new-app" command, a deployment pod tries to access to the public github and fails since the ocp environment is offline.

      Need appropriate instructions for this section.

              rhn-support-ajonsson Andreas Jonsson
              rhn-support-hfuruich Hisao Furuichi
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: