Repository navigation
feat: add dx-sap-spartacus-import skill (DX-32793) - #35
Open
timbenniks-contentstack wants to merge 1 commit into
Open
timbenniks-contentstack wants to merge 1 commit into
timbenniks-contentstack wants to merge 1 commit into
Conversation
Imports an SAP Commerce Cloud (Spartacus) storefront's CMS content over OCC into Contentstack, in the model @contentstack/contentstack-spartacus-connector reads. Dry run first, two approval gates, idempotent seed and publish, round-trip verify, optional locales. Based on Vaishnavi Kedar's spartacus-content-modelling-agent, trimmed to the connector-profile pipeline and hardened for a public bundle: - OCC TLS verified by default; OCC_INSECURE_TLS=1 opt-in for dev backends - no hardcoded OCC host; OCC_BASE_URL or --base required - starter pack read from the project's installed connector package - content pages map to landing_page (connector PR #35) - gate 2 stops when the plan needs types or fields the pack lacks - page slots the target type lacks are left to OCC Co-Authored-By: Vaishnavi Kedar <vaishnavi.kedar@contentstack.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
🔒 Security Scan Results
⏱️ SLA Breach Summary
✅ BUILD PASSED - All security checks passed |
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.
What
A new action skill,
dx-sap-spartacus-import. It imports the CMS content of a running SAP Commerce Cloud (Spartacus) storefront into a Contentstack stack, in the model@contentstack/contentstack-spartacus-connectorreads. This is the "ng addthe connector, then import with a skill" step of the SAP demo. Jira: DX-32793.The pipeline:
sap_uid,urlandtitle).The scripts are Python 3.9+ standard library only.
Origin
Based on Vaishnavi Kedar's
spartacus-content-modelling-agent(private repo). Only the pipeline that targets the connector's starter pack is kept: no earlier free-form model, no 1.2 MB fixtures, no vendored starter pack.Changes for a public bundle:
OCC_INSECURE_TLS=1is an explicit opt-in for self-signed dev backends. The original disabled verification everywhere.OCC_BASE_URLor--baseis required.node_modules/@contentstack/contentstack-spartacus-connector/...), or fromCONNECTOR_STARTER_PACK.ContentPage1Template) map tolanding_page, matching connector PR feat: add dx-sap-spartacus-import skill (DX-32793) #35, andHomepageNavLinkis mapped.Files
skills/dx-sap-spartacus-import/:SKILL.md,references/pipeline.md,references/mapping-profile.md,scripts/docs/skills/dx-sap-spartacus-import.md, plus a row indocs/skills/index.mdREADME.mdevals/routing-dx-sap-spartacus-import-{1,2}: each loads the skill and checks thatmigration-companionis skippedTesting
node scripts/validate.mjs: 34 skills, 7 manifests valid.mainand against PR feat: add dx-sap-spartacus-import skill (DX-32793) #35's pack.main, the slots that only PR feat: add dx-sap-spartacus-import skill (DX-32793) #35 adds stay with OCC.Not run yet:
snyk-agent-scan(CI runs it).🤖 Generated with Claude Code