Skip to content

Environments can be enabled without an org added or enabled #1457

Description

@rustyjux

API Services Portal Bug Issue

Test Case

ENV

  • DEV
  • TEST
  • PROD

TESTCASE

# create new gateway
gwa login
gwa gateway create -g

# generate config
# presumably would occur without a template or different template
gwa generate-config \              
  --template client-credentials-shared-idp \ 
  --service rjv-2026-05-13 \
  --upstream https://httpbin.org

# in gw-config.yaml, modify set environment active: true

# apply (may need to retry a second time)
gwa apply gw-config.yaml

EXPECTED

Not able to update product without adding org and org admin enabling

...
x [Product] rjv-2026-05-13 API failed

3/4 Published, 0 Skipped

x Errors encountered
Resource [Product] rjv-2026-05-13 API: something broke

ACTUAL

Can publish and enable

...
√ [Product] rjv-2026-05-13 API: created

4/4 Published, 0 Skipped

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingjira

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions