-
Notifications
You must be signed in to change notification settings - Fork 115
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
[Feat]: Provide Sequence as a Backend for APIs #743
Conversation
|
…development iteration
@@ -0,0 +1,621 @@ | |||
/* eslint-disable */ | |||
/* | |||
* Copyright (c) 2022, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. |
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.
Let's change this to the new license text
|
||
|
||
/** | ||
* Method to upload the certificate content by calling the rest api. |
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.
Shall we fix add the correct method comments
Can you attached new UI design |
setIsValidSequenceBackend(false); | ||
restAPI.getSequenceBackends(api.id) | ||
.then((result) => { | ||
console.log(result); |
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.
remove console log
}; | ||
|
||
const downloadCustomBackend = (keyType) => { | ||
console.log("Downloading"); |
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.
remove and check all other places
productionBackendList.push({"sequenceName": customBackend.name, "content": customBackend.content}); | ||
} | ||
restAPI.uploadCustomBackend(customBackend.content, uploadCustomBackendOpen.keyType, api.id).then((resp) => { | ||
console.log('Custom backend uploaded successfully' + resp); |
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.
we need messge box not console log
@@ -298,6 +314,9 @@ function EndpointOverview(props) { | |||
{ key: 'awslambda', value: 'AWS Lambda' }, | |||
]; | |||
} | |||
if(apiObject.gatewayType !== 'wso2/apk' && type === 'HTTP' ) { |
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.
formatting
Attached in the description. #743 (comment) |
645d3d2
to
12fe461
Compare
Quality Gate passedIssues Measures |
Provide a separate Endpoint option for REST APIs to define a sequence as its backend. This addresses the following use-cases.
UI will now look as follows for the REST APIs.
Related Issues