-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBE30783.yaml
136 lines (135 loc) · 4.25 KB
/
BE30783.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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
asyncapi: "2.1.0"
info:
version: "62"
title: "RequestReplyEventXSDPayload"
x-channel-name: "/Channels/Kafka"
channels:
RequestReplyEventXSDPayload-57-be_kafka_topic:
subscribe:
operationId: "Channels_Kafka_testJson"
x-default-event: "/Events/SendStudentDataJson"
message:
$ref: "#/components/messages/SendStudentDataJson"
x-dest-properties:
compression.type: "none"
sync.sender: "false"
session.timeout.msec: "30000"
group.id: "be_group"
autocommit.interval: "5000"
IncludeEventType: "ALWAYS"
sync.sender.max.wait: "30000"
serializer-deserializer-class: "com.tibco.cep.driver.kafka.serializer.KafkaJsonSerializer"
enable.autocommit: "true"
topic.name: "RequestReplyEventXSDPayload-57-be_kafka_topic"
heartbeat.interval.msec: "3000"
max.poll.interval.ms: "300000"
consumer.threads: "1"
be_kafka_topicxml:
subscribe:
operationId: "Channels_Kafka_testXml"
x-default-event: "/Events/SendStudentDataXml"
message:
$ref: "#/components/messages/SendStudentDataXml"
x-dest-properties:
compression.type: "none"
sync.sender: "false"
session.timeout.msec: "30000"
group.id: "be_group"
autocommit.interval: "5000"
IncludeEventType: "ALWAYS"
sync.sender.max.wait: "30000"
serializer-deserializer-class: "com.tibco.cep.driver.kafka.serializer.KafkaXmlSerializer"
enable.autocommit: "true"
topic.name: "be_kafka_topicxml"
heartbeat.interval.msec: "3000"
max.poll.interval.ms: "300000"
consumer.threads: "1"
servers:
default:
url: "localhost:9092"
protocol: "Kafka"
x-config-properties:
kafka.security.protocol: "PLAINTEXT"
kafka.sasl.mechanism: "PLAIN"
async.server.url.property: "kafka.broker.urls"
kafka.broker.urls: "localhost:9092"
async.channelName.property: "topic.name"
components:
schemas:
Student_Request_Element:
type: "object"
xml:
namespace: "http://tibco.com/qa/xsd/student"
properties:
Name:
type: "string"
Roll_no:
type: "integer"
Marks:
type: "number"
IsTopper:
type: "boolean"
RegistrationNo:
type: "integer"
Subjects:
type: "string"
DOB:
type: "string"
format: "date-time"
attributes:
properties:
type:
type: "string"
historyPolicy: 0
historySize: 0
enum:
- "http://tibco.com/qa/xsd/student"
SendStudentDataJson:
type: "object"
properties:
payload:
properties:
Student_Request_Element:
type: "object"
$ref: "#/components/schemas/Student_Request_Element"
historyPolicy: 0
historySize: 0
x-conceptPath: "Student_Request_Element"
x-event-payloadtype: "XSD_ELEMENT_REF"
x-nameSpace: "http://tibco.com/qa/xsd/student"
SendStudentDataXml:
type: "object"
properties:
payload:
properties:
Student_Request_Element:
type: "object"
$ref: "#/components/schemas/Student_Request_Element"
historyPolicy: 0
historySize: 0
x-conceptPath: "Student_Request_Element"
x-event-payloadtype: "XSD_ELEMENT_REF"
x-nameSpace: "http://tibco.com/qa/xsd/student"
messages:
SendStudentDataJson:
payload:
$ref: "#/components/schemas/SendStudentDataJson"
contentType: "application/json"
examples:
- name: Test3
payload:
payload:
Student_Request_Element:
Name: Bob
Roll_no: 12
Marks: 88
IsTopper: true
RegistrationNo: 345677
Subjects: Maths
DOB: '2019-08-24T14:15:22Z'
attributes:
type: http://tibco.com/qa/xsd/student
SendStudentDataXml:
payload:
$ref: "#/components/schemas/SendStudentDataXml"
contentType: "application/json"