-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(migration): update merge CGW migration epic branch to develop #183
Conversation
Update api_key query param references to x-api-key header
@@ -155,17 +155,18 @@ const getMesh = async (organizationId, projectId, workspaceId, workspaceName, me | |||
const { baseUrl: devConsoleUrl, accessToken, apiKey } = await getDevConsoleConfig(); | |||
const config = { | |||
method: 'get', | |||
url: `${devConsoleUrl}/organizations/${organizationId}/projects/${projectId}/workspaces/${workspaceId}/meshes/${meshId}?API_KEY=${apiKey}`, | |||
url: `${devConsoleUrl}/organizations/${organizationId}/projects/${projectId}/workspaces/${workspaceId}/meshes/${meshId}`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you verify if this works on the dev console API?
@@ -1,6 +1,6 @@ | |||
{ | |||
"name": "@adobe/aio-cli-plugin-api-mesh", | |||
"version": "3.9.2", | |||
"version": "3.9.2-beta.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want this to be a beta package?
Developer console expects the Api Key to be passed as query parameter in uppercase |
Update
api_key
queryParam references to be passed asx-api-key
headerDescription
As part of cluster gateway migration api_key can no longer be passed as a query param and MUST be passed as
x-api-key
header.Related Issue
https://jira.corp.adobe.com/browse/CEXT-3607
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: