summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Klishin <mklishin@pivotal.io>2019-06-19 19:30:01 +0300
committerMichael Klishin <mklishin@pivotal.io>2019-06-19 19:30:01 +0300
commit9a9f87043e00e29bc03443cb5cee58699c83f7a1 (patch)
treed66d15c9cd0df4d2e9c8a00709b9804a74112792
parente2742ab6e75945cb383e35ccfa11e309acafd8db (diff)
downloadrabbitmq-codegen-git-9a9f87043e00e29bc03443cb5cee58699c83f7a1.tar.gz
Introduce connection.update-secret[-ok] methods
So that clients with expiring credentials/secrets, such as those using JWT/OAuth 2.0 tokens, would have a chance to provide updated credentials (e.g. a new JWT token) to the server without reconnecting. Pair: @gerhard. Per discussion with @acogoluegnes.
-rw-r--r--amqp-rabbitmq-0.9.1.json23
1 files changed, 16 insertions, 7 deletions
diff --git a/amqp-rabbitmq-0.9.1.json b/amqp-rabbitmq-0.9.1.json
index 6a89ddd2..fb58308e 100644
--- a/amqp-rabbitmq-0.9.1.json
+++ b/amqp-rabbitmq-0.9.1.json
@@ -5,7 +5,7 @@
"revision": 1,
"port": 5672,
"copyright": [
- "Copyright (C) 2008-2016 Pivotal Software, Inc, Inc.\n",
+ "Copyright (C) 2008-2019 Pivotal Software, Inc, Inc.\n",
"\n",
"Permission is hereby granted, free of charge, to any person\n",
"obtaining a copy of this file (the \"Software\"), to deal in the\n",
@@ -150,12 +150,21 @@
{"id": 51,
"arguments": [],
"name": "close-ok"},
- {"id": 60,
- "arguments": [{"type": "shortstr", "name": "reason", "default-value": ""}],
- "name": "blocked"},
- {"id": 61,
- "arguments": [],
- "name": "unblocked"}],
+ {"id": 60,
+ "arguments": [{"type": "shortstr", "name": "reason", "default-value": ""}],
+ "name": "blocked"},
+ {"id": 61,
+ "arguments": [],
+ "name": "unblocked"},
+ {"id": 70,
+ "arguments": [{"type": "shortstr", "name": "new-secret"},
+ {"type": "shortstr", "name": "reason"}],
+ "name": "update-secret",
+ "synchronous" : true},
+ {"id": 71,
+ "arguments": [],
+ "name": "update-secret-ok"}
+ ],
"name": "connection",
"properties": []
},