Codota Logo
org.springframework.cloud.dataflow.rest.client
Code IndexAdd Codota to your IDE (free)

How to use org.springframework.cloud.dataflow.rest.client

Best Java code snippets using org.springframework.cloud.dataflow.rest.client (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
LocalDateTime l =
  • Codota Iconnew LocalDateTime()
  • Codota IconLocalDateTime.now()
  • Codota IconDateTimeFormatter formatter;String text;formatter.parseLocalDateTime(text)
  • Smart code suggestions by Codota
}
origin: spring-cloud/spring-cloud-dataflow

/**
 * Destroy the stream from the server. This method invokes the remote server
 */
public void destroy() {
  this.client.streamOperations().destroy(this.name);
}
origin: spring-cloud/spring-cloud-dataflow

/**
 * Undeploy the current {@link Stream}. This method invokes the remote server
 * @return A reference the the {@link StreamDefinition} so one can invoke other builder operations such as {@link StreamDefinition#deploy()}
 */
public StreamDefinition undeploy() {
  client.streamOperations().undeploy(this.name);
  return new StreamDefinition(this.name, this.client, this.definition,
      this.applications);
}
origin: spring-cloud/spring-cloud-dataflow

/**
 * Invokes {@link #prepareRestTemplate(RestTemplate)}.
 *
 * @return RestTemplate with the required Jackson MixIns applied
 */
public static RestTemplate getDefaultDataflowRestTemplate() {
  return prepareRestTemplate(null);
}
origin: spring-cloud/spring-cloud-dataflow

/**
 * Deploy the current stream using the deploymentProperties. This method invokes the
 * remote server
 * @param deploymentProperties Map of properties to be used during deployment
 * @return A deployed {@link Stream}
 */
public Stream deploy(Map<String, String> deploymentProperties) {
  Map<String, String> resolvedProperties = resolveDeploymentProperties(
      deploymentProperties);
  client.streamOperations().deploy(this.name, resolvedProperties);
  return new Stream(this.name, this.applications, this.definition, this.client);
}
origin: spring-cloud/spring-cloud-dataflow

public StreamDefinition(String name, DataFlowOperations client, String definition,
    List<StreamApplication> applications) {
  this.name = name;
  this.client = client;
  this.definition = definition;
  this.applications = applications;
  if (StringUtils.isEmpty(definition)) {
    createStreamDefinition();
  }
  this.client.streamOperations().createStream(this.name, this.definition,
      false);
}
origin: spring-cloud/spring-cloud-dataflow

/**
 * @return Status of the deployed stream
 */
public String getStatus() {
  StreamDefinitionResource resource = client.streamOperations()
      .getStreamDefinition(this.name);
  return resource.getStatus();
}
origin: spring-cloud/spring-cloud-dataflow

  private TaskOperations taskOperations() {
    return dataFlowShell.getDataFlowOperations().taskOperations();
  }
}
origin: spring-cloud/spring-cloud-dataflow

public Link getLink(ResourceSupport resourceSupport, String rel) {
  Link link = resourceSupport.getLink(rel);
  if (link == null) {
    throw new DataFlowServerException(
        "Server did not return a link for '" + rel + "', links: '" + resourceSupport + "'");
  }
  return link;
}
origin: spring-cloud/spring-cloud-dataflow

  protected StreamOperations streamOperations() {
    return dataFlowShell.getDataFlowOperations().streamOperations();
  }
}
origin: spring-cloud/spring-cloud-dataflow

@Override
public PagedResources<AppRegistrationResource> list() {
  return list(/* ApplicationType */null);
}
origin: spring-cloud/spring-cloud-dataflow

  private RuntimeOperations runtimeOperations() {
    return dataFlowShell.getDataFlowOperations().runtimeOperations();
  }
}
origin: org.springframework.cloud/spring-cloud-dataflow-rest-client

/**
 * Deploy the current stream using the deploymentProperties. This method invokes the
 * remote server
 * @param deploymentProperties Map of properties to be used during deployment
 * @return A deployed {@link Stream}
 */
public Stream deploy(Map<String, String> deploymentProperties) {
  Map<String, String> resolvedProperties = resolveDeploymentProperties(
      deploymentProperties);
  client.streamOperations().deploy(this.name, resolvedProperties);
  return new Stream(this.name, this.applications, this.definition, this.client);
}
origin: spring-cloud/spring-cloud-dataflow

/**
 * Destroy the stream from the server. This method invokes the remote server
 */
public void destroy() {
  client.streamOperations().destroy(this.name);
}
origin: org.springframework.cloud/spring-cloud-dataflow-rest-client

/**
 * Undeploy the current {@link Stream}. This method invokes the remote server
 * @return A reference the the {@link StreamDefinition} so one can invoke other builder operations such as {@link StreamDefinition#deploy()}
 */
public StreamDefinition undeploy() {
  client.streamOperations().undeploy(this.name);
  return new StreamDefinition(this.name, this.client, this.definition,
      this.applications);
}
origin: org.springframework.cloud/spring-cloud-dataflow-rest-client

public StreamDefinition(String name, DataFlowOperations client, String definition,
    List<StreamApplication> applications) {
  this.name = name;
  this.client = client;
  this.definition = definition;
  this.applications = applications;
  if (StringUtils.isEmpty(definition)) {
    createStreamDefinition();
  }
  this.client.streamOperations().createStream(this.name, this.definition,
      false);
}
origin: org.springframework.cloud/spring-cloud-dataflow-rest-client

/**
 * @return Status of the deployed stream
 */
public String getStatus() {
  StreamDefinitionResource resource = client.streamOperations()
      .getStreamDefinition(this.name);
  return resource.getStatus();
}
origin: org.springframework.cloud/spring-cloud-dataflow-rest-client

/**
 * Invokes {@link #prepareRestTemplate(RestTemplate)}.
 *
 * @return RestTemplate with the required Jackson MixIns applied
 */
public static RestTemplate getDefaultDataflowRestTemplate() {
  return prepareRestTemplate(null);
}
origin: org.springframework.cloud/spring-cloud-dataflow-rest-client

@Override
public PagedResources<AppRegistrationResource> list() {
  return list(/* ApplicationType */null);
}
origin: org.springframework.cloud/spring-cloud-dataflow-rest-client

/**
 * Destroy the stream from the server. This method invokes the remote server
 */
public void destroy() {
  this.client.streamOperations().destroy(this.name);
}
origin: org.springframework.cloud/spring-cloud-dataflow-rest-client

/**
 * Destroy the stream from the server. This method invokes the remote server
 */
public void destroy() {
  client.streamOperations().destroy(this.name);
}
org.springframework.cloud.dataflow.rest.client

Most used classes

  • DataFlowOperations
    Interface the REST clients implement to interact with spring-cloud-dataflow REST API.
  • DataFlowTemplate
    Implementation of DataFlowOperations delegating to sub-templates, discovered via REST relations.
  • TaskOperations
    Interface defining operations available against tasks.
  • AboutOperations
    Interface defining operations to query information about the server and runtime environment.
  • DataFlowServerException
    A Java exception thrown when the server returns unexpected data.
  • AboutTemplate,
  • AggregateCounterOperations$Resolution,
  • AggregateCounterOperations,
  • AggregateCounterTemplate,
  • AppRegistryOperations,
  • AppRegistryTemplate,
  • CompletionOperations,
  • CompletionTemplate,
  • CounterOperations,
  • CounterTemplate,
  • DataFlowClientException,
  • FieldValueCounterOperations,
  • FieldValueCounterTemplate,
  • JobOperations
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now