Search in sources :

Example 1 with DeploymentEventImpl

use of io.camunda.zeebe.client.impl.response.DeploymentEventImpl in project zeebe by camunda.

the class DeployProcessCommandImpl method send.

@Override
public ZeebeFuture<DeploymentEvent> send() {
    final DeployProcessRequest request = requestBuilder.build();
    final RetriableClientFutureImpl<DeploymentEvent, GatewayOuterClass.DeployProcessResponse> future = new RetriableClientFutureImpl<>(DeploymentEventImpl::new, retryPredicate, streamObserver -> send(request, streamObserver));
    send(request, future);
    return future;
}
Also used : RetriableClientFutureImpl(io.camunda.zeebe.client.impl.RetriableClientFutureImpl) DeployProcessRequest(io.camunda.zeebe.gateway.protocol.GatewayOuterClass.DeployProcessRequest) DeploymentEvent(io.camunda.zeebe.client.api.response.DeploymentEvent) DeploymentEventImpl(io.camunda.zeebe.client.impl.response.DeploymentEventImpl)

Example 2 with DeploymentEventImpl

use of io.camunda.zeebe.client.impl.response.DeploymentEventImpl in project zeebe by zeebe-io.

the class DeployProcessCommandImpl method send.

@Override
public ZeebeFuture<DeploymentEvent> send() {
    final DeployProcessRequest request = requestBuilder.build();
    final RetriableClientFutureImpl<DeploymentEvent, GatewayOuterClass.DeployProcessResponse> future = new RetriableClientFutureImpl<>(DeploymentEventImpl::new, retryPredicate, streamObserver -> send(request, streamObserver));
    send(request, future);
    return future;
}
Also used : RetriableClientFutureImpl(io.camunda.zeebe.client.impl.RetriableClientFutureImpl) DeployProcessRequest(io.camunda.zeebe.gateway.protocol.GatewayOuterClass.DeployProcessRequest) DeploymentEvent(io.camunda.zeebe.client.api.response.DeploymentEvent) DeploymentEventImpl(io.camunda.zeebe.client.impl.response.DeploymentEventImpl)

Example 3 with DeploymentEventImpl

use of io.camunda.zeebe.client.impl.response.DeploymentEventImpl in project zeebe by zeebe-io.

the class DeployResourceCommandImpl method send.

@Override
public ZeebeFuture<DeploymentEvent> send() {
    final DeployResourceRequest request = requestBuilder.build();
    final RetriableClientFutureImpl<DeploymentEvent, GatewayOuterClass.DeployResourceResponse> future = new RetriableClientFutureImpl<>(DeploymentEventImpl::new, retryPredicate, streamObserver -> send(request, streamObserver));
    send(request, future);
    return future;
}
Also used : RetriableClientFutureImpl(io.camunda.zeebe.client.impl.RetriableClientFutureImpl) DeployResourceRequest(io.camunda.zeebe.gateway.protocol.GatewayOuterClass.DeployResourceRequest) DeploymentEvent(io.camunda.zeebe.client.api.response.DeploymentEvent) DeploymentEventImpl(io.camunda.zeebe.client.impl.response.DeploymentEventImpl)

Example 4 with DeploymentEventImpl

use of io.camunda.zeebe.client.impl.response.DeploymentEventImpl in project zeebe by camunda-cloud.

the class DeployProcessCommandImpl method send.

@Override
public ZeebeFuture<DeploymentEvent> send() {
    final DeployProcessRequest request = requestBuilder.build();
    final RetriableClientFutureImpl<DeploymentEvent, GatewayOuterClass.DeployProcessResponse> future = new RetriableClientFutureImpl<>(DeploymentEventImpl::new, retryPredicate, streamObserver -> send(request, streamObserver));
    send(request, future);
    return future;
}
Also used : RetriableClientFutureImpl(io.camunda.zeebe.client.impl.RetriableClientFutureImpl) DeployProcessRequest(io.camunda.zeebe.gateway.protocol.GatewayOuterClass.DeployProcessRequest) DeploymentEvent(io.camunda.zeebe.client.api.response.DeploymentEvent) DeploymentEventImpl(io.camunda.zeebe.client.impl.response.DeploymentEventImpl)

Example 5 with DeploymentEventImpl

use of io.camunda.zeebe.client.impl.response.DeploymentEventImpl in project zeebe by camunda-cloud.

the class DeployResourceCommandImpl method send.

@Override
public ZeebeFuture<DeploymentEvent> send() {
    final DeployResourceRequest request = requestBuilder.build();
    final RetriableClientFutureImpl<DeploymentEvent, GatewayOuterClass.DeployResourceResponse> future = new RetriableClientFutureImpl<>(DeploymentEventImpl::new, retryPredicate, streamObserver -> send(request, streamObserver));
    send(request, future);
    return future;
}
Also used : RetriableClientFutureImpl(io.camunda.zeebe.client.impl.RetriableClientFutureImpl) DeployResourceRequest(io.camunda.zeebe.gateway.protocol.GatewayOuterClass.DeployResourceRequest) DeploymentEvent(io.camunda.zeebe.client.api.response.DeploymentEvent) DeploymentEventImpl(io.camunda.zeebe.client.impl.response.DeploymentEventImpl)

Aggregations

DeploymentEvent (io.camunda.zeebe.client.api.response.DeploymentEvent)5 RetriableClientFutureImpl (io.camunda.zeebe.client.impl.RetriableClientFutureImpl)5 DeploymentEventImpl (io.camunda.zeebe.client.impl.response.DeploymentEventImpl)5 DeployProcessRequest (io.camunda.zeebe.gateway.protocol.GatewayOuterClass.DeployProcessRequest)3 DeployResourceRequest (io.camunda.zeebe.gateway.protocol.GatewayOuterClass.DeployResourceRequest)2