Uploaded image for project: 'Documentation for JBoss Tools and Developer Studio'
  1. Documentation for JBoss Tools and Developer Studio
  2. TOOLSDOC-602

OpenShift: Document Downloading/Importing existing OS Project

    Details

    • Estimated Difficulty:
      Medium

      Description

      Document the following use case:

      Use Case #1 - Download/Import Existing OpenShift Project
      a) Assume OpenShift is started remotely and provides an entrypoint URL (e.g. http://localhost:8080/osapi/v1beta1/projects)
      b) Assume end-user is logged in (ignore auth for now)
      c) Assume OpenShift already has some deployed "projects", this "project" definition includes the buildconfig, deployconfig, docker image, source git URL, routes and services.
      d) Eclipse user will open a dialog and enter the URL from step a
      e) Eclipse user will see a list of "things" associated with "projects" from step 1c
      "things"
      f) Embedded in one of those things is a Git URL - that will be displayed to the user who will agree to git clone it [1f]
      g) If the downloaded items include a Maven project, the Eclipse user will see a newly configured Eclipse project based on Maven with the appropriately configured facets
      h) If there is no pom.xml, the Eclipse user will see a newly configured generic Eclipse project containing the downloaded files
      i) It is expected that a Maven-based Java project will build locally (leveraging Maven Central and/or maven.repository.redhat.com)
      j) It is expected that a Maven-based Java project will deploy to a localhost EAP/Wildfly or a locally running Docker container:
      docker run -it -p 8080:8080 openshift/wildfly-8-centos
      [1f] https://github.com/openshift/origin/blob/master/examples/sample-app/application-template-dockerbuild.json#L76

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                mhusnain Misha Ali
                Reporter:
                mhusnain Misha Ali
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: