This repository has been archived by the owner on Nov 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathservice-call.camel-component.yaml
101 lines (101 loc) · 4.82 KB
/
service-call.camel-component.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
apiVersion: camel.apache.org/v1alpha1
kind: EIP
metadata:
name: service-call
annotations:
camel.apache.org/kamelet.icon: "data:image/gif;base64,R0lGODlhUgAxAHcAMSH+GlNvZnR3YXJlOiBNaWNyb3NvZnQgT2ZmaWNlACH5BAEAAAAALAAAAABQAC8AggAAAAAAAICAgLvg48z/mf///wECAwECAwP/WLrc/jDKSau9OGsYuv9gKI5k6W2Lqa7siCodIc90bd94nndvEevAoPDWERg3v6FySQwYBcgAcyidmZrP6BTosQ6+4PCgSiseNcmtLfAls8VistV5zqTVsg7YDY+v6VBocnhve159hjVmgXaDU3p+eYiJZYBahIh8k2N/WYJqkH2ak46Ll0yFmYeknXUYd1SbnJKbpZafBAJLqaKrqoq3jTJPsbW+vcCewrlPulyyo7+Vyq9VzcQ70MdwttQXP9fNOLzc25HTrt/W4eKK2rSsya7s9PX0Ze8E5Odz1Pb/9dbk2xemWzoL4O4RGZiv38EKCa/pIEiJYptWjKoNazeRjKExeRnVbTQixOIsfQ3zBNPITInJaMjQhUToqKTHeDJP7bopzeFMiDVt4nyJUScqgjDLgTT6KCbRpbjw6OOVlJ9KbzSl4quYcipWoForXYTX8+pDCrC0diEb0yfTsPoqkcBydkJauFJNRcULV+8yvn1XqmtBuPCIr2gNK16M2ALAx5AjN+shubJldgkAADs="
camel.apache.org/provider: "Kaoto Bridge"
camel.apache.org/kamelet.group: "Knative"
kaoto.io/minbranches: "0"
kaoto.io/maxbranches: "0"
labels:
camel.apache.org/kamelet.type: "action"
spec:
definition:
title: "Service Call"
description: "Use a Service Call acting as a Messaging Gateway for distributed systems, that handles the complexity of calling the service in a reliable manner. In a nutshell, the EIP pattern sits between your Camel application and the services running in a distributed system (cluster). The pattern hides all the complexity of keeping track of all the physical locations where the services are running and allows you to call the service by a name."
required:
- name
type: object
properties:
name:
title: "Name"
description: "Sets the name of the service to use."
type: string
example: 'sc'
expression:
title: Expression
description: "Configures the Expression using the given configuration."
type: object
example: '${body}'
simple:
title: "Simple Expression"
description: "Configures the Expression using the given configuration."
type: string
constant:
title: "Constant Expression"
description: "Configures the Expression using the given configuration."
type: string
jq:
title: "Jq Expression"
description: "Configures the Expression using the given configuration."
type: string
jsonpath:
title: "JSON Path Expression"
description: "Configures the Expression using the given configuration."
type: string
uri:
title: "URI"
description: "The uri of the endpoint to send to. The uri can be dynamic computed using the org.apache.camel.language.simple.SimpleLanguage expression."
type: string
component:
title: "Component"
description: "The component to use."
default: 'http'
example: 'http'
type: string
pattern:
title: "Exchange Pattern"
description: "Sets the optional ExchangePattern used to invoke this endpoint."
example: 'InOnly'
type: string
configurationRef:
title: "Service Call Configuration Bean"
description: "Refers to a ServiceCall configuration to use."
type: string
serviceDiscoveryRef:
title: "Service Discovery Configuration Bean"
description: "Sets a reference to a custom ServiceDiscovery to use."
type: string
serviceFilterRef:
title: "Service Filter Configuration Bean"
description: "Sets a reference to a custom ServiceFilter to use."
type: string
serviceChooserRef:
title: "Service Chooser Configuration Bean"
description: "Sets a reference to a custom ServiceChooser to use."
type: string
loadBalancerRef:
title: "Load Balancer Bean"
description: "Sets a reference to a custom ServiceLoadBalancer to use."
type: string
expressionRef:
title: "Expression Bean"
description: "Sets a reference to a custom Expression to use."
type: string
serviceDiscoveryConfiguration:
title: "Service Discovery configuration"
description: "Configures the ServiceDiscovery using the given configuration. If none provided, it will take the bean with the proper class definition."
type: object
serviceFilterConfiguration:
title: "Service Filter configuration"
description: "Configures the ServiceFilter using the given configuration. If none provided, it will take the bean with the proper class definition."
type: object
loadBalancerConfiguration:
title: "Load Balancer configuration"
description: "Configures the LoadBalancer using the given configuration. If none provided, it will take the bean with the proper class definition."
type: object
description:
title: "Description"
description: "Sets the description of this node."
type: object