[
https://issues.jboss.org/browse/JBIDE-15646?page=com.atlassian.jira.plugi...
]
Andre Dietisheim edited comment on JBIDE-15646 at 10/9/13 2:07 PM:
-------------------------------------------------------------------
Using the latest DEVENV with multi-domain enabled, a user that has the silver plan (and
can therefore create multiple domains) and JBDS7 I did the tests shown further down:
JBDS works just fine. A users always sees its own domains. If he has none then it'll
see the foreign domain it has access to in the order that it got access granted to. The
only possible improvement is that writable access should take precendence of read-only
access (see step 13)
1) I setup a DEVENV with 2 users:
* adietish(a)redhat.com (silver-plan)
* adietisheim(a)redhat.com
2) First I created 2 domains for adietish(a)redhat.com in the Web-ui:
* gringo
* ruskie
!multi-domain-setup-adietish.png!
3) the first domain (gringo) then showed up in the OpenShift Explorer:
!!explorer-1.png!
4) I granted adietish+test access to these domains. The first domain then showed up in the
OpenShift Explorer:
!explorer-2.png!
5) I tried to create an application for adietish+test(a)redhat.com in the read-only domain
he has from adietish(a)redhat.com: failure expected, only read-access to domain:
!cannot-create-application.png!
6) Then created adietish+test(a)redhat.com his very own domain:
!multi-domain-setup-test.png!
7) and refreshed the OpenShift Explorer: shows the empty list since new domain has no
apps
!explorer-3.png!
8) and created an application in JBDS which shows up for the user:
!explorer-4.png!
9) Then deleted the domain for adietish(a)redhat.com. Once refreshed the explorer shows the
2nd domain:
!explorer-5.png!
10) And created another application for adietish(a)redhat.com:
!explorer-6.png!
11) killed the domain for adietish+test(a)redhat.com and the domain it has read-access to
shows up:
!explorer-7.png!
12) re-created "viking" for adietish+test(a)redhat.com (no application within it)
and created another domain "writable" in adietish(a)redhat.com where I granted
*write* access for adietish+test(a)redhat.com: "viking" (empty apps-list) shows up
for adietish+test(a)redha.com
!explorer-8.png!
13) and killed "viking" in JBDS: "ruskie" shows up for
adietish+test(a)redhat.com and not "writable", since read-access was granted in a
prior step - there's no precedence of writeable domains vs readable domains.
!explorer-9.png!
was (Author: adietish):
Using the latest DEVENV with multi-domain enabled, a user that has the silver plan
(and can therefore create multiple domains) and JBDS7 I did the tests shown further down:
JBDS works just fine. A users always sees its own domains. If he has none then it'll
see the foreign domain it has access to in the order that it got access granted to. The
only possible improvement is that writable access should take precendence of read-only
access (see step 13)
1) I setup a DEVENV with 2 users:
* adietish(a)redhat.com (silver-plan)
* adietisheim(a)redhat.com
2) First I created 2 domains for adietish(a)redhat.com in the Web-ui:
* gringo
* ruskie
!multi-domain-setup-adietish.png!
3) the first domain (gringo) then showed up in the OpenShift Explorer:
!!explorer-1.png!
4) I granted adietish+test access to these domains. The first domain then showed up in the
OpenShift Explorer:
!explorer-2.png!
5) I tried to create an application for adietish+test(a)redhat.com in the read-only domain
he has from adietish(a)redhat.com:
!cannot-create-application.png!
6) Then created adietish+test(a)redhat.com his very own domain:
!multi-domain-setup-test.png!
7) and refreshed the OpenShift Explorer:
!explorer-3.png!
8) and created an application in JBDS:
!explorer-4.png!
9) Then deleted the domain for adietish(a)redhat.com:
!explorer-5.png!
10) And created another application for adietish(a)redhat.com:
!explorer-6.png!
11) killed the domain for adietish+test(a)redhat.com:
!explorer-7.png!
12) re-created "viking" for adietish+test(a)redhat.com (no application within it)
and created another domain "writable" in adietish(a)redhat.com where I granted
*write* access for adietish+test(a)redhat.com.
!explorer-8.png!
13) and killed "viking" in JBDS:
!explorer-9.png!
make sure current JBDS works with mult-domain OpenShift instance
----------------------------------------------------------------
Key: JBIDE-15646
URL:
https://issues.jboss.org/browse/JBIDE-15646
Project: Tools (JBoss Tools)
Issue Type: Task
Components: openshift
Affects Versions: 4.2.0.Alpha1
Environment: JBDS 7,
multidomain DEVENV (2013-10-9)
Reporter: Andre Dietisheim
Assignee: Andre Dietisheim
Fix For: 4.2.0.Alpha1
Attachments: cannot-create-application.png, explorer-1.png, explorer-2.png,
explorer-3.png, explorer-4.png, explorer-5.png, explorer-5.png, explorer-6.png,
explorer-6.png, explorer-7.png, explorer-7.png, explorer-8.png, explorer-9.png,
multi-domain-setup-adietish.png, multi-domain-setup-test.png
With the upcoming support for multiple domains, we have to make sure that the existing
JBDS/JBT work smoothly even with this newer OpenShift.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira