Skip to content

Commit e6099b8

Browse files
Leeyoungonepetermetz
authored andcommitted
feat(keychain-aws-sm): complete request handler and endpoint
Fixes #967 Depends on #1349 Signed-off-by: Youngone Lee <[email protected]>
1 parent d016678 commit e6099b8

File tree

13 files changed

+789
-146
lines changed

13 files changed

+789
-146
lines changed

packages/cactus-plugin-keychain-aws-sm/src/main/json/openapi.json

+63-3
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"verbLowerCase": "post"
3232
}
3333
},
34-
"operationId": "getKeychainEntry",
34+
"operationId": "getKeychainEntryV1",
3535
"summary": "Retrieves the contents of a keychain entry from the backend.",
3636
"parameters": [],
3737
"requestBody": {
@@ -64,7 +64,7 @@
6464
"verbLowerCase": "post"
6565
}
6666
},
67-
"operationId": "setKeychainEntry",
67+
"operationId": "setKeychainEntryV1",
6868
"summary": "Sets a value under a key on the keychain backend.",
6969
"parameters": [],
7070
"requestBody": {
@@ -85,6 +85,66 @@
8585
}
8686
}
8787
}
88+
},
89+
"/api/v1/plugins/@hyperledger/cactus-plugin-keychain-aws-sm/delete-keychain-entry": {
90+
"post": {
91+
"x-hyperledger-cactus": {
92+
"http": {
93+
"path": "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-aws-sm/delete-keychain-entry",
94+
"verbLowerCase": "post"
95+
}
96+
},
97+
"operationId": "deleteKeychainEntryV1",
98+
"summary": "Deletes an entry under a key on the keychain backend.",
99+
"parameters": [],
100+
"requestBody": {
101+
"$ref": "https://raw.githubusercontent.com/hyperledger/cactus/v0.9.0/packages/cactus-core-api/src/main/json/openapi.json#/components/requestBodies/keychain_delete_entry_request_body"
102+
},
103+
"responses": {
104+
"200": {
105+
"$ref": "https://raw.githubusercontent.com/hyperledger/cactus/v0.9.0/packages/cactus-core-api/src/main/json/openapi.json#/components/responses/keychain_delete_entry_200"
106+
},
107+
"400": {
108+
"$ref": "https://raw.githubusercontent.com/hyperledger/cactus/v0.9.0/packages/cactus-core-api/src/main/json/openapi.json#/components/responses/keychain_delete_entry_400"
109+
},
110+
"401": {
111+
"$ref": "https://raw.githubusercontent.com/hyperledger/cactus/v0.9.0/packages/cactus-core-api/src/main/json/openapi.json#/components/responses/keychain_delete_entry_401"
112+
},
113+
"500": {
114+
"$ref": "https://raw.githubusercontent.com/hyperledger/cactus/v0.9.0/packages/cactus-core-api/src/main/json/openapi.json#/components/responses/keychain_delete_entry_500"
115+
}
116+
}
117+
}
118+
},
119+
"/api/v1/plugins/@hyperledger/cactus-plugin-keychain-aws-sm/has-keychain-entry": {
120+
"post": {
121+
"x-hyperledger-cactus": {
122+
"http": {
123+
"path": "/api/v1/plugins/@hyperledger/cactus-plugin-keychain-aws-sm/has-keychain-entry",
124+
"verbLowerCase": "post"
125+
}
126+
},
127+
"operationId": "hasKeychainEntryV1",
128+
"summary": "Checks that an entry exists under a key on the keychain backend",
129+
"parameters": [],
130+
"requestBody": {
131+
"$ref": "https://raw.githubusercontent.com/hyperledger/cactus/v0.9.0/packages/cactus-core-api/src/main/json/openapi.json#/components/requestBodies/keychain_has_entry_request_body"
132+
},
133+
"responses": {
134+
"200": {
135+
"$ref": "https://raw.githubusercontent.com/hyperledger/cactus/v0.9.0/packages/cactus-core-api/src/main/json/openapi.json#/components/responses/keychain_has_entry_200"
136+
},
137+
"400": {
138+
"$ref": "https://raw.githubusercontent.com/hyperledger/cactus/v0.9.0/packages/cactus-core-api/src/main/json/openapi.json#/components/responses/keychain_has_entry_400"
139+
},
140+
"401": {
141+
"$ref": "https://raw.githubusercontent.com/hyperledger/cactus/v0.9.0/packages/cactus-core-api/src/main/json/openapi.json#/components/responses/keychain_has_entry_401"
142+
},
143+
"500": {
144+
"$ref": "https://raw.githubusercontent.com/hyperledger/cactus/v0.9.0/packages/cactus-core-api/src/main/json/openapi.json#/components/responses/keychain_has_entry_500"
145+
}
146+
}
147+
}
88148
}
89149
}
90-
}
150+
}

0 commit comments

Comments
 (0)