Skip to content
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

[APIM410]API revision can be deployed with the wrong vhost param using Publisher REST API #1125

Closed
PrabhashDilhan opened this issue Dec 13, 2022 · 1 comment

Comments

@PrabhashDilhan
Copy link

Description

In APIM 410, an inconsistent behavior was observed where the revision deployment call(using publisher REST APIs) is getting passed without any issue even with the wrong vhost parameter.

Steps to Reproduce

  • create a new gateway environment us-region with us.wso2.com and foods.com vhosts.

  • Then we use Publisher REST API to deploy a new revision with the below payload.
    [
    {
    "revisionUuid": "194d5ba6-7d0c-4276-9089-d5e99077e167",
    "name": "us-region",
    "vhost": "ws.wso2.com",
    "displayOnDevportal": true
    }
    ]

  • As you can see in the payload, we are passing a wrong vhost(ws.wso2.com) with the correct gateway name.

  • The API call is getting invoked without any issue and the new revision is getting deployed into the gateway with the wrong vhost.

Affected Component

APIM

Version

4.1.0

Environment Details (with versions)

No response

Relevant Log Output

No response

Related Issues

No response

Suggested Labels

No response

@YasasRangika
Copy link

Closing this issue as the public fix for this issue has been added via the PR: wso2/carbon-apimgt#12022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants