From f21dcfacffedcdab6ba5e55fa110daf16e92f90c Mon Sep 17 00:00:00 2001 From: rob2universe Date: Wed, 13 Sep 2023 19:34:09 +0800 Subject: [PATCH] fixed deprecated SpringBoot client usage --- .../CustomerOnboardingProcessApplication.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/camunda/demo/customeronboarding/CustomerOnboardingProcessApplication.java b/src/main/java/com/camunda/demo/customeronboarding/CustomerOnboardingProcessApplication.java index 6eb8d95..c22439b 100644 --- a/src/main/java/com/camunda/demo/customeronboarding/CustomerOnboardingProcessApplication.java +++ b/src/main/java/com/camunda/demo/customeronboarding/CustomerOnboardingProcessApplication.java @@ -1,13 +1,11 @@ package com.camunda.demo.customeronboarding; -import io.camunda.zeebe.spring.client.EnableZeebeClient; -import io.camunda.zeebe.spring.client.annotation.ZeebeDeployment; +import io.camunda.zeebe.spring.client.annotation.Deployment; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication -@EnableZeebeClient -@ZeebeDeployment(resources = {"static/bpmn/customer_onboarding_en.bpmn", "static/bpmn/document_request_en.bpmn", "static/bpmn/risk_check_en.dmn"}) +@Deployment(resources = {"static/bpmn/customer_onboarding_en.bpmn", "static/bpmn/document_request_en.bpmn", "static/bpmn/risk_check_en.dmn"}) public class CustomerOnboardingProcessApplication { public static void main(String[] args) {