Skip to content

Fix portal-created service provider attribution - #2

Open
Codecraft-Ops wants to merge 1 commit into
JudyaiLab:mainfrom
Codecraft-Ops:fix/portal-service-provider-attribution
Open

Fix portal-created service provider attribution#2
Codecraft-Ops wants to merge 1 commit into
JudyaiLab:mainfrom
Codecraft-Ops:fix/portal-service-provider-attribution

Conversation

@Codecraft-Ops

Copy link
Copy Markdown

Summary

  • persist portal-created services under the provider account UUID
  • add a regression test that creates a service through the portal and verifies it appears in the returned dashboard and belongs to that account

The wizard currently prefers api_key_id, while every portal dashboard/analytics query and PAT-owned service fixture uses the account UUID. That publishes the service in discovery but orphans it from the provider that created it.

Verification

73 passed:

tests/test_portal_token.py tests/test_provider.py tests/test_proxy.py tests/test_prompt_service.py

Closes #1

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Provider portal publishes orphaned service under API-key ID

1 participant