1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.apache.syncope.client.enduser;
20
21 import org.apache.syncope.client.enduser.rest.BpmnProcessRestClient;
22 import org.apache.syncope.client.enduser.rest.UserRequestRestClient;
23 import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
24 import org.springframework.context.annotation.Bean;
25 import org.springframework.context.annotation.Configuration;
26
27 @Configuration(proxyBeanMethods = false)
28 public class FlowableEnduserContext {
29
30 @ConditionalOnMissingBean
31 @Bean
32 public BpmnProcessRestClient bpmnProcessRestClient() {
33 return new BpmnProcessRestClient();
34 }
35
36 @ConditionalOnMissingBean
37 @Bean
38 public UserRequestRestClient userRequestRestClient() {
39 return new UserRequestRestClient();
40 }
41 }