/** * Retrieve the FlowStatus with the given key * * @return * builder for the resource method */ public FlowstatusesGetRequestBuilder get() { return new FlowstatusesGetRequestBuilder(getBaseUriTemplate(), _resourceSpec, getRequestOptions()); }
/** * Delete a configured flow. Running flows are not affected. The schedule will be removed for scheduled flows. * * @return * builder for the resource method */ public FlowconfigsDeleteBuilder delete() { return new FlowconfigsDeleteBuilder(getBaseUriTemplate(), _resourceSpec, getRequestOptions()); }
/** * Update the flow configuration with the specified key. Running flows are not affected. * An error is raised if the flow configuration does not exist. * * @return * builder for the resource method */ public FlowconfigsUpdateRequestBuilder update() { return new FlowconfigsUpdateRequestBuilder(getBaseUriTemplate(), _resourceSpec, getRequestOptions()); }
/** * Create a flow configuration * @param flowConfig flow configuration attributes * @throws RemoteInvocationException */ public void createFlowConfig(FlowConfig flowConfig) throws RemoteInvocationException { LOG.debug("createFlowConfig with groupName " + flowConfig.getId().getFlowGroup() + " flowName " + flowConfig.getId().getFlowName()); CreateIdRequest<ComplexResourceKey<FlowId, EmptyRecord>, FlowConfig> request = _flowconfigsRequestBuilders.create().input(flowConfig).build(); ResponseFuture<IdResponse<ComplexResourceKey<FlowId, EmptyRecord>>> flowConfigResponseFuture = _restClient.get().sendRequest(request); flowConfigResponseFuture.getResponse(); }
/** * Create a flow configuration that the service will forward to execution instances for execution * * @return * builder for the resource method */ public FlowconfigsCreateRequestBuilder create() { return new FlowconfigsCreateRequestBuilder(getBaseUriTemplate(), _resourceSpec, getRequestOptions()); }
/** * Retrieve the FlowStatus with the given key * * @return * builder for the resource method */ public FlowstatusesGetBuilder get() { return new FlowstatusesGetBuilder(getBaseUriTemplate(), _resourceSpec, getRequestOptions()); }
/** * Update the flow configuration with the specified key. Running flows are not affected. * An error is raised if the flow configuration does not exist. * * @return * builder for the resource method */ public FlowconfigsUpdateBuilder update() { return new FlowconfigsUpdateBuilder(getBaseUriTemplate(), _resourceSpec, getRequestOptions()); }
/** * Delete a configured flow. Running flows are not affected. The schedule will be removed for scheduled flows. * * @return * builder for the resource method */ public FlowconfigsDeleteRequestBuilder delete() { return new FlowconfigsDeleteRequestBuilder(getBaseUriTemplate(), _resourceSpec, getRequestOptions()); }
/** * Retrieve the flow configuration with the given key * * @return * builder for the resource method */ public FlowconfigsGetRequestBuilder get() { return new FlowconfigsGetRequestBuilder(getBaseUriTemplate(), _resourceSpec, getRequestOptions()); }
/** * Retrieve the flow configuration with the given key * * @return * builder for the resource method */ public FlowconfigsGetBuilder get() { return new FlowconfigsGetBuilder(getBaseUriTemplate(), _resourceSpec, getRequestOptions()); }
/** * Create a flow configuration that the service will forward to execution instances for execution * * @return * builder for the resource method */ public FlowconfigsCreateBuilder create() { return new FlowconfigsCreateBuilder(getBaseUriTemplate(), _resourceSpec, getRequestOptions()); }
public FlowstatusesFindByLatestFlowStatusRequestBuilder findByLatestFlowStatus() { return new FlowstatusesFindByLatestFlowStatusRequestBuilder(getBaseUriTemplate(), _resourceSpec, getRequestOptions()); }
public FlowstatusesFindByLatestFlowStatusBuilder findByLatestFlowStatus() { return new FlowstatusesFindByLatestFlowStatusBuilder(getBaseUriTemplate(), _resourceSpec, getRequestOptions()); }
private void initializeWatermarks() { initializeLowWatermarks(); initializeHighWatermarks(); }
public FlowstatusesBuilders(RestliRequestOptions requestOptions) { _baseUriTemplate = ORIGINAL_RESOURCE_PATH; _requestOptions = assignRequestOptions(requestOptions); }
public FlowconfigsBuilders(RestliRequestOptions requestOptions) { _baseUriTemplate = ORIGINAL_RESOURCE_PATH; _requestOptions = assignRequestOptions(requestOptions); }
/** * Create a Helix cluster for the Gobblin Cluster application. * * @param zkConnectionString the ZooKeeper connection string * @param clusterName the Helix cluster name */ public static void createGobblinHelixCluster(String zkConnectionString, String clusterName) { createGobblinHelixCluster(zkConnectionString, clusterName, true); }
@Override public void close() throws IOException { shutDown(); }
public FlowstatusesBuilders(String primaryResourceName, RestliRequestOptions requestOptions) { _baseUriTemplate = primaryResourceName; _requestOptions = assignRequestOptions(requestOptions); }
public FlowconfigsBuilders(String primaryResourceName, RestliRequestOptions requestOptions) { _baseUriTemplate = primaryResourceName; _requestOptions = assignRequestOptions(requestOptions); }