Repository navigation
feat(ccv2): implement complete Cloud Portal API sandbox - #7
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The CCv2 Worker previously exposed only service and storage health. This change adds isolated 24-hour sandbox runs, synthetic SAP-style OAuth/JWT authentication, deterministic scenario and fault handling, and stateful implementations for all 52 operations in the independently authored SAP Commerce Cloud Management API 2.0.12 inventory.
Result
Ccv2RunDurable Object, including the originalrun_metadatatable.Authoritative reference: SAP Cloud Portal API.
Validation
pnpm run cipasses from the repository root:The production signing-material generator was also executed against a temporary directory and verified to create all four non-empty files without printing their contents.
Required before merge
Provision these existing Worker secrets before allowing Cloudflare Workers Builds to deploy the merge:
MOCK_JWT_PRIVATE_KEYMOCK_JWT_PUBLIC_JWKMOCK_JWT_KIDRUN_TOKEN_SIGNING_KEYConfirm rate-limit namespace ID
1001is unused in the account, and retain the existingCCV2_RUNDurable Object namespace and custom domain. Exact generation andwrangler secret putcommands are inapps/ccv2/docs/cloudflare-deployment.md.This PR does not add a deployment workflow, deploy the feature branch, modify the CommerceKit website, or merge itself.