[
https://issues.jboss.org/browse/TEIIDDES-963?page=com.atlassian.jira.plug...
]
Ramesh Reddy commented on TEIIDDES-963:
---------------------------------------
also you can check if the Teiid is deployed in AS7 by writing code similar to
{code}
ModelNode request = new ModelNode();
request.get(OP).set(READ_CHILDREN_NAMES_OPERATION);
request.get(CHILD_TYPE).set("subsystem");
request.get(OP_ADDR).set(getManagementAddress(getParent()));
String requestString = request.toJSONString(true);
String resultString = JBoss7ManagerUtil.getService(iserverObject).execute(new
AS7ManagementDetails(iserverObject), requestString);
ModelNode resultNode = ModelNode.fromJSONString(resultString);
List<ModelNode> subsystems = resultNode.get("result").asList();
boolean teiidExists = false;
for (ModelNode mn:subsystems){
if (mn.asString().equals("teiid")){
teiidExists = true;
break;
}
}
{code}
Add jboss tools runtime detector for Teid Servers
-------------------------------------------------
Key: TEIIDDES-963
URL:
https://issues.jboss.org/browse/TEIIDDES-963
Project: Teiid Designer
Issue Type: Bug
Reporter: Max Rydahl Andersen
Assignee: Ted Jones
Priority: Critical
Fix For: 8.0
Add teid runtime detection so users don't have to setup teiid servers when already
installed into EAP.
extension point is: org.jboss.tools.runtime.core.runtimeDetectors
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira