feat: add CIP analytics topic, SDK client, and report tooling#155
Merged
feat: add CIP analytics topic, SDK client, and report tooling#155
Conversation
Collaborator
Author
|
3PL note: |
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.
This PR introduces end-to-end CIP/CCAC support across both the CLI and SDK, delivering a complete analytics feature set for curated report workflows, metadata discovery, and raw SQL access.
CLI Additions
New
ciptopic and command modelb2c cip.b2c cip queryfor raw SQL execution with:--fileinput mode<FROM>/<TO>token replacement from date flagsb2c cip report <report-name>Metadata discovery commands
b2c cip tablesto list metadata catalog tables with schema/pattern/type filtering.b2c cip describe <table>to inspect table column structure (name/type/nullability).cip tables: table/type;cip describe: column/type/nullability).Curated report command system
--describeand--sqlreport options, including SQL piping support intocip query.Auth, host, and output behavior
--stagingshorthand and automatic host selection behavior by tenant pattern, with explicit--cip-hostoverride support.--jsoncontinues to work as expected.SDK Additions
CIP client foundation
CipClient) and factory (createCipClient) in@salesforce/b2c-tooling-sdkfor executing CIP SQL queries.SDK configuration and exports
Curated report and metadata operations API
operations/cipmodule with curated report catalog + typed interfaces.listCipReportsgetCipReportByNamebuildCipReportSqlexecuteCipReportlistCipTablesdescribeCipTableDocs, Skills, and Release Artifacts
Analytics Reports (CIP/CCAC)with authentication, non-prod guidance, host behavior, query/report quick start, metadata discovery examples, output examples, and SDK references.Validation
pnpm --filter @salesforce/b2c-tooling-sdk run typecheck:agentpnpm --filter @salesforce/b2c-tooling-sdk run lint:agentpnpm --filter @salesforce/b2c-tooling-sdk run test:agentpnpm --filter @salesforce/b2c-cli run typecheck:agentpnpm --filter @salesforce/b2c-cli run lint:agentpnpm --filter @salesforce/b2c-cli run test:agentpnpm run docs:build