Skip to content

[BUG] V-Host not set when API initially on state unpublished #22

Description

@cwiechmann

API-Mgr. CLI version
1.0.0

API-Manager and Service-Pack Version
7.7.0

Expected behavior
When an API is initially registered for the first time (No existing API found) the V-Host should be set.

Actual behavior
Only when the API is in state published, the V-Host is set. When going back from published to unpublished, the V-Host is also set.

Test case sample

{
  "name": "Axway Imagine - Weather API",
  "path": "/api/v1/weather",
  "state": "unpublished",
  "version": "1.0.0",
  "organization": "API Development",
  "apiDefinition": "../petstore.json",
  "vhost": "myhost.custom.com:8065"
}

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions