generated from Luis/nextjs-python-web-template
Fixed eventmessage formatting problem
This commit is contained in:
@@ -21,13 +21,62 @@ c1_url = f"http://{host}:{c1_port}/docs"
|
||||
c2_url = f"http://{host}:{c2_port}/docs"
|
||||
|
||||
|
||||
msg_type_to_label = {
|
||||
1: "Attachement",
|
||||
2: "Connection Setup",
|
||||
3: "Presentation",
|
||||
4: "DID Resolution",
|
||||
5: "Service De-registration",
|
||||
6: "Service Registration",
|
||||
7: "Service Discovery",
|
||||
8: "Service Operation",
|
||||
group_type_to_label = {
|
||||
1: {
|
||||
"name": "Attachement",
|
||||
1: "Request Send",
|
||||
2: "Request Received",
|
||||
3: "Response Send",
|
||||
4: "Response Received",
|
||||
},
|
||||
2: {
|
||||
"name": "Connection Setup",
|
||||
1: "Request Send",
|
||||
2: "Request Received",
|
||||
3: "Response Send",
|
||||
4: "Response Received",
|
||||
},
|
||||
3: {
|
||||
"name": "Presentation",
|
||||
1: "Request Send",
|
||||
2: "Request Received",
|
||||
3: "Respone Send",
|
||||
4: "Respone Received",
|
||||
5: "Respone Ack",
|
||||
},
|
||||
4: {
|
||||
"name": "DID Resolution",
|
||||
1: "Request Send",
|
||||
2: "Request Received",
|
||||
3: "Response Send",
|
||||
4: "Response Received",
|
||||
},
|
||||
5: {
|
||||
"name": "Service De-registration",
|
||||
1: "Send",
|
||||
2: "Received",
|
||||
3: "Success Send",
|
||||
4: "Success Received",
|
||||
},
|
||||
6: {
|
||||
"name": "Service Registration",
|
||||
1: "Send",
|
||||
2: "Received",
|
||||
3: "Success Send",
|
||||
4: "Success Received",
|
||||
},
|
||||
7: {
|
||||
"name": "Service Discovery",
|
||||
1: "Discovery Send",
|
||||
2: "Discovery Received",
|
||||
3: "Result Send",
|
||||
4: "Result Received",
|
||||
},
|
||||
8: {
|
||||
"name": "Service Operation",
|
||||
1: "Request Send",
|
||||
2: "Request Received",
|
||||
3: "Response Send",
|
||||
4: "Response Received",
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user