-
- protected class MyTenantOperator extends HttpOperator {
- public MyTenantOperator() {
- super(AaiConstants.ACTOR_NAME, AaiGetOperation.TENANT);
-
- HttpParams http = HttpParams.builder().clientName(MY_CLIENT).path(PATH).timeoutSec(1).build();
-
- configure(Util.translateToMap(AaiGetOperation.TENANT, http));
- start();
- }
-
- @Override
- public Operation buildOperation(ControlLoopOperationParams params) {
- return new AaiGetOperation(params, this);
- }
-
- @Override
- protected HttpClientFactory getClientFactory() {
- return factory;
- }
- }