]
Max Rydahl Andersen commented on JBDS-3297:
-------------------------------------------
I'm not following to see how this is affected at all by docker tooling being available
or not ?
No matter if docker is available download/import of openshift configured projects is
needed and very separate from docker (at least if STI is being used)
If openshift STI is used then you are *not* deploying the same maven generated war, but it
is being rebuilt as part of openshift STI.
I think this issue is much more affected by how much of v3 will be ready to actually
provide the metadata and services needed to even known which of possibley many git
repositories an openshift project (which is not the same as eclipse project) will have.
Thus how this will all work is still very fluid imo.
Download/Import Existing OpenShift Project
------------------------------------------
Key: JBDS-3297
URL:
https://issues.jboss.org/browse/JBDS-3297
Project: Developer Studio (JBoss Developer Studio)
Issue Type: Feature Request
Components: openshift, requirements
Reporter: Burr Sutter
Assignee: Max Rydahl Andersen
Priority: Blocker
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/appli...