-
Notifications
You must be signed in to change notification settings - Fork 13
I added an instance variable to make this work in multi-tenancy #7
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
base: master
Are you sure you want to change the base?
Conversation
We should remember to update the documentation once this goes in so that users are aware of the Additionally, do we want to default |
Add default as rapidapi if the parameter is not provided
@s-giovanni just added the change that should prevent existing integrations from breaking. Let me do another deeper dive before we merge though. |
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.
Thanks for taking a look at the working through this.
I also need to update the readme and we'll want to add a bit more functionality to include the POST vs GET options with a body payload for trigger overrides
I can take over from here!
@@ -15,6 +15,9 @@ console.log(`Executing Test ID: ${TEST_ID}`); | |||
const LOCATION = core.getInput('location'); | |||
console.log(`Executing In Location: ${LOCATION}`); | |||
|
|||
const INSTANCE = core.getInput('instance') || "rapidapi"; |
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.
TODO: define input in action.yml, possibly with a default "rapidapi.com"
@@ -30,7 +33,10 @@ function sleep(time) { | |||
core.group('Execute Test', async () => { | |||
// 1. Trigger Test | |||
const envString = ENVIRONMENT ? `&enviroment=${ENVIRONMENT}` : ''; | |||
const instance = INSTANCE; |
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.
I think if we make this the full domain w/ .com then we can just call this DOMAIN
No description provided.