Uploaded image for project: 'Red Hat CodeReady Studio (devstudio)'
  1. Red Hat CodeReady Studio (devstudio)
  2. JBDS-3297

Download/Import Existing OpenShift Project

    XMLWordPrintable

Details

    Description

      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

      Attachments

        Issue Links

          Activity

            Public project attachment banner

              context keys: [headless, issue, helper, isAsynchronousRequest, project, action, user]
              current Project key: JBDS

              People

                manderse@redhat.com Max Andersen
                bsutter@redhat.com Burr Sutter
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: