Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 1515201

Summary: /subsystem=naming/binding of type external-context is not available in JON
Product: [JBoss] JBoss Operations Network Reporter: Filip Brychta <fbrychta>
Component: Plugin -- JBoss EAP 7Assignee: Michael Burman <miburman>
Status: CLOSED CURRENTRELEASE QA Contact: Filip Brychta <fbrychta>
Severity: medium Docs Contact:
Priority: medium    
Version: JON 3.3.9CC: miburman, spinder
Target Milestone: CR01Keywords: Triaged
Target Release: One-off release   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1515203 (view as bug list) Environment:
Last Closed: 2019-01-31 15:54:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 1543522    

Description Filip Brychta 2017-11-20 11:39:10 UTC
Description of problem:
Following types of binding are available in EAP:
simple            object-factory    lookup            external-context

but JON only supports:
simple            object-factory    lookup

Version-Release number of selected component (if applicable):
JON 3.3.9. EAP plugin pack 05

How reproducible:
Always

Steps to Reproduce:
1.  Navigate to JBoss ON UI -> EAP 6 resource -> Subsystem -> naming -> Create Child -> Binding
2. File name and click on Next

Actual results:
Only simple, object-factory and lookup binding types are available.

Expected results:
All 4 binding types should be supported

Additional info:
You can list all supported binding types e.g. in jboss-cli:
/subsystem=naming/binding=java\:global\/a:read-resource-description

Comment 1 Filip Brychta 2017-11-20 11:58:18 UTC
You can create simple binding following way:
/subsystem=naming/binding="java:/global/a":add(binding-type=simple, value=100)

Comment 2 Michael Burman 2018-11-09 12:26:59 UTC
In the master:

commit 85af3a37d6733a44de4ea4462260b33f77043bb5 (HEAD -> master, upstream/master)
Author: Michael Burman <miburman@redhat.com>
Date:   Fri Nov 9 14:25:22 2018 +0200

    [BZ 1515201] Add external-context to EAP6 plugin as a naming binding option

Comment 4 Simeon Pinder 2018-11-21 11:55:15 UTC
Moving to ON_QA. See https://bugzilla.redhat.com/show_bug.cgi?id=1543522#c1 for test setup gory details.