use of com.walmartlabs.concord.client.v1.ContextBackedVariables in project concord by walmartlabs.
the class ProjectTask method execute.
@Override
public void execute(Context ctx) throws Exception {
ProjectTaskParams in = new ProjectTaskParams(new ContextBackedVariables(ctx));
withClient(ctx, client -> {
new ProjectTaskCommon(client, getProcessOrgName(ctx)).execute(in);
return null;
});
}
use of com.walmartlabs.concord.client.v1.ContextBackedVariables in project concord by walmartlabs.
the class SecretsTask method execute.
@Override
public void execute(Context ctx) throws Exception {
SecretsTaskParams in = SecretsTaskParams.of(new ContextBackedVariables(ctx));
TaskResult.SimpleResult result = new SecretsTaskCommon(clientFactory.create(ctx), getProcessOrgName(ctx)).execute(in);
ctx.setVariable(RESULT_KEY, result.toMap());
}
Aggregations