Skip to content

Commit 57daf94

Browse files
feat(cc-addon-credentials-beta.smart): add support for open-api-url credential
Include `open-api-url` in credentials list and story configuration.
1 parent 36bfa35 commit 57daf94

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

src/components/cc-addon-credentials-beta/cc-addon-credentials-beta.smart-otoroshi.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ const LOADING_STATE = {
3838
code: 'api-url',
3939
value: fakeString(10),
4040
},
41+
{
42+
code: 'open-api-url',
43+
value: fakeString(10),
44+
},
4145
{
4246
code: 'ng',
4347
kind: 'standard',
@@ -241,6 +245,10 @@ class Api extends CcAddonCredentialsBetaClient {
241245
code: 'api-url',
242246
value: operator.api.url,
243247
},
248+
{
249+
code: 'open-api-url',
250+
value: operator.api.openapi,
251+
},
244252
{
245253
code: 'ng',
246254
kind: 'standard',

src/components/cc-addon-credentials-beta/cc-addon-credentials-beta.stories.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ export const dataLoadedWithTabs = makeStory(conf, {
8282
'api-url',
8383
'api-key',
8484
'api-password',
85+
'open-api-url',
8586
]),
8687
elastic: getFilteredAddonCredentials(['host', 'user', 'password']),
8788
kibana: getFilteredAddonCredentials(['user', 'password']),

0 commit comments

Comments
 (0)