[
https://issues.jboss.org/browse/JBIDE-22497?page=com.atlassian.jira.plugi...
]
Andre Dietisheim updated JBIDE-22497:
-------------------------------------
Steps to Reproduce:
# ASSERT: make sure that you have an existing service running in OpenShift (ex. eap-app,
created via the eap template)
# EXEC: in OpenShift explorer: pick "Import Application" in the context menu of
your service
# ASSERT: the import wizard pops up populated with sensible defaults
# EXEC: hit "Finish" in the import wizard
Result:
you get all the projects within jboss-eap-quickstarts imported to your workspace, not just
the kitchensink project which the CONTEXT_DIR template parameter is pointing to.
Expected result:
The import wizard only imports the "kitchensink" project to your workspace.
If you create a new application by using the eap64-basic-s2i template, the import wizard
is launched after the resources were created in OpenShift and it will (clone the whole git
repository with the jboss-eap-quickstarts from
//github.com/jboss-developer/jboss-eap-quickstarts but) will import only the
"kitchensink" project to your workspace.
If you look at the build config for your service you'll find that the context
directory is pointing to kitchensink, but is looks as if the import wizard was ignoring
it:
{code}
"source" : {
"type" : "Git",
"git" : {
"uri" :
"https://github.com/jboss-developer/jboss-eap-quickstarts",
"ref" : "7.0.x-develop"
},
"contextDir" : "kitchensink"
{code}
was:
# ASSERT: make sure that you have an existing service running in OpenShift (ex. eap-app,
created via the eap template)
# EXEC: in OpenShift explorer: pick "Import Application" in the context menu of
your service
# ASSERT: the import wizard pops up populated with sensible defaults
# EXEC: hit "Finish" in the import wizard
Result:
you get all the projects within jboss-eap-quickstarts imported to your workspace, not just
the kitchensink project which the CONTEXT_DIR template parameter is pointing to.
Expected result:
The import wizard only imports the "kitchensink" project to your workspace.
If you create a new application by using the eap64-basic-s2i template, the import wizard
is launched after the resources were created in OpenShift and it will (clone the whole git
repository with the jboss-eap-quickstarts from
//github.com/jboss-developer/jboss-eap-quickstarts but) will import only the
"kitchensink" project to your workspace.
Import wizard: if launched from existing application, all projects
are imported, not the context-dir only
---------------------------------------------------------------------------------------------------------
Key: JBIDE-22497
URL:
https://issues.jboss.org/browse/JBIDE-22497
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.4.0.Alpha2
Reporter: Andre Dietisheim
Labels: import_wizard, openshift_v3
Fix For: 4.4.0.Final
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)