deama10

How to get connectors parameters on the operator [Eclipse plugin]

Discussion created by deama10 Employee on Aug 10, 2017
Latest reply on Aug 24, 2017 by trost01

Hi guys,

 

I'm developing a connector using eclipse plugin. The auto-generated code, and the examples of implementing mongodb support  show you how to get properties of your operator,

 

operatorProperties = (GetUserListProperties) getSvcGroup().getServiceOperation(getOperationName());
operatorProperties.setRunnerClass(this);

operatorProperties.get()

String yourValue =  (String) operatorProperties.get("yourProperty");

but not how to get them from the connector at the Implementation class.

 

So what I would like is, the connection info to be defined on Configuration > Domain > Connectos > My Custom connector > Edit

 

So I don't have to repeat that input on my operators.

 

Anyone know how to do this?

Outcomes