Last active
June 23, 2024 00:37
-
-
Save jlantz/0b4bc65070feb7d430d4fdbe3c8d2633 to your computer and use it in GitHub Desktop.
Prototype Output of MuseLab D2X Dependency Composer
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
| # The source cumulusci.yml file in the D2X-Cloud-Demo-1 repo defining the dependencies to be resolved... | |
| minimum_cumulusci_version: '3.76.0' | |
| project: | |
| name: D2X-Cloud-Demo-1 | |
| package: | |
| name: D2X Cloud Demo 1 | |
| namespace: d2x | |
| api_version: '58.0' | |
| git: | |
| default_branch: 'main' | |
| source_format: sfdx | |
| dependencies: | |
| - github: 'https://github.com/SFDO-Community/declarative-lookup-rollup-summaries' | |
| - github: 'https://github.com/SFDO-Community/GrassrootsSurveySalesforcePackage' | |
| - github: 'https://github.com/SFDO-Community/Salesforce-Indicators' | |
| - github: 'https://github.com/SFDO-Community/Summit-Events-App' | |
| - namespace: pmdm | |
| version: 1.33 | |
| - github: 'https://github.com/muselab-d2x/D2X-Cloud-Demo-1' | |
| subfolder: 'force-app' |
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
| // Auto-generated sample client code from the D2X API docs. Yes, this could be cleaner :) | |
| const url = 'http://localhost:8000/d2x/muselab-d2x/dependency-requests'; | |
| const options = { | |
| method: 'POST', | |
| headers: { | |
| 'Content-Type': 'application/json', | |
| Accept: 'application/json', | |
| Authorization: 'Bearer ****************************************************' | |
| }, | |
| body: '{\n "cumulusci_strategy": "include_beta",\n "repo":\n "owner": "muselab-d2x",\n "name": "D2X-Cloud-Demo-1"\n}' | |
| }; | |
| try { | |
| const response = await fetch(url, options); | |
| const data = await response.json(); | |
| console.log(data); | |
| } catch (error) { | |
| console.error(error); | |
| } | |
| const url = 'http://localhost:8000/d2x/muselab-d2x/dependency-requests/' + data.id; | |
| const options = { | |
| method: 'GET', | |
| headers: { | |
| Accept: 'application/json', | |
| Authorization: 'Bearer ****************************************************' | |
| } | |
| }; | |
| try { | |
| const response = await fetch(url, options); | |
| const data = await response.json(); | |
| console.log(data); | |
| } catch (error) { | |
| console.error(error); | |
| } |
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
| { | |
| "dependencies": null, | |
| "branch": null, | |
| "tag": null, | |
| "cumulusci_strategy": "latest_release", | |
| "strategies": null, | |
| "created_at": "2024-06-23T00:25:24.879475Z", | |
| "created_by_user_id": "b50c5370-ee99-48f6-90aa-170d5f9efd85", | |
| "is_deleted": false, | |
| "deleted_at": null, | |
| "deleted_by_user_id": null, | |
| "updated_at": "2024-06-23T00:25:24.879483Z", | |
| "updated_by_user_id": "b50c5370-ee99-48f6-90aa-170d5f9efd85", | |
| "tenant_id": "9ee0a7f3-7386-434d-82b5-f1110d928cac", | |
| "status": "success", | |
| "requested_at": "2024-06-23T00:25:24.879327Z", | |
| "started_at": "2024-06-23T00:25:24.915743Z", | |
| "completed_at": "2024-06-23T00:25:29.817131Z", | |
| "log": "Failed to resolve GithubDependency: SFDO-Community/GrassrootsSurveySalesforcePackage (default_branch) with tag: No tag found in the dependency.\nFailed to resolve GithubDependency: SFDO-Community/declarative-lookup-rollup-summaries (default_branch) with tag: No tag found in the dependency.\nFailed to resolve GithubDependency: SFDO-Community/Salesforce-Indicators (default_branch) with tag: No tag found in the dependency.\nFailed to resolve GithubDependency: SFDO-Community/Summit-Events-App (default_branch) with tag: No tag found in the dependency.", | |
| "error_message": null, | |
| "id": "aaebc766-3925-44ed-9727-42e926a34580", | |
| "repo": { | |
| "name": "D2X-Cloud-Demo-1", | |
| "github_id": 766526903, | |
| "org_id": "a6998c9f-0a8f-4459-be6a-2c926570e51c", | |
| "user_id": null, | |
| "url": "https://github.com/muselab-d2x/D2X-Cloud-Demo-1", | |
| "id": "f94b4044-78e3-4982-8ae4-c77dde4bac9f", | |
| "org": { | |
| "name": "muselab-d2x", | |
| "github_id": 104277799, | |
| "url": "https://github.com/muselab-d2x", | |
| "id": "a6998c9f-0a8f-4459-be6a-2c926570e51c", | |
| "tenant": { | |
| "name": "muselab-d2x", | |
| "created_at": "2024-04-01T21:31:24.783251Z", | |
| "owner_id": null, | |
| "updated_by_user_id": null, | |
| "is_deleted": false, | |
| "id": "9ee0a7f3-7386-434d-82b5-f1110d928cac", | |
| "created_by_user_id": null, | |
| "slug": "muselab-d2x", | |
| "deleted_at": null, | |
| "updated_at": "2024-04-01T21:31:24.783251Z", | |
| "deleted_by_user_id": null | |
| } | |
| } | |
| }, | |
| "result": { | |
| "resolutions": [ | |
| { | |
| "is_resolved": true, | |
| "result": { | |
| "is_resolved": true, | |
| "dependency": { | |
| "version_id": "04t5p0000013oeHAAQ", | |
| "package_name": "https://github.com/SFDO-Community/declarative-lookup-rollup-summaries", | |
| "version_number": null, | |
| "password_env_name": null | |
| }, | |
| "resolved_by": "latest_release", | |
| "resolver_message": null | |
| }, | |
| "message": "Resolved successfully", | |
| "original_dependency": { | |
| "github": "https://github.com/SFDO-Community/declarative-lookup-rollup-summaries", | |
| "unmanaged": false, | |
| "tag": null, | |
| "skip": null, | |
| "password_env_name": null, | |
| "ref": null | |
| }, | |
| "dependency": { | |
| "version_id": "04t5p0000013oeHAAQ", | |
| "package_name": "https://github.com/SFDO-Community/declarative-lookup-rollup-summaries", | |
| "version_number": null, | |
| "password_env_name": null | |
| }, | |
| "dependencies": null | |
| }, | |
| { | |
| "is_resolved": true, | |
| "result": { | |
| "is_resolved": true, | |
| "dependency": { | |
| "version_id": "04t6g000008joioAAA", | |
| "package_name": "https://github.com/SFDO-Community/GrassrootsSurveySalesforcePackage", | |
| "version_number": null, | |
| "password_env_name": null | |
| }, | |
| "resolved_by": "latest_release", | |
| "resolver_message": null | |
| }, | |
| "message": "Resolved successfully", | |
| "original_dependency": { | |
| "github": "https://github.com/SFDO-Community/GrassrootsSurveySalesforcePackage", | |
| "unmanaged": false, | |
| "tag": null, | |
| "skip": null, | |
| "password_env_name": null, | |
| "ref": null | |
| }, | |
| "dependency": { | |
| "version_id": "04t6g000008joioAAA", | |
| "package_name": "https://github.com/SFDO-Community/GrassrootsSurveySalesforcePackage", | |
| "version_number": null, | |
| "password_env_name": null | |
| }, | |
| "dependencies": null | |
| }, | |
| { | |
| "is_resolved": true, | |
| "result": { | |
| "is_resolved": true, | |
| "dependency": { | |
| "version_id": "04t6g000007zMcpAAE", | |
| "package_name": "https://github.com/SFDO-Community/Salesforce-Indicators", | |
| "version_number": null, | |
| "password_env_name": null | |
| }, | |
| "resolved_by": "latest_release", | |
| "resolver_message": null | |
| }, | |
| "message": "Resolved successfully", | |
| "original_dependency": { | |
| "github": "https://github.com/SFDO-Community/Salesforce-Indicators", | |
| "unmanaged": false, | |
| "tag": null, | |
| "skip": null, | |
| "password_env_name": null, | |
| "ref": null | |
| }, | |
| "dependency": { | |
| "version_id": "04t6g000007zMcpAAE", | |
| "package_name": "https://github.com/SFDO-Community/Salesforce-Indicators", | |
| "version_number": null, | |
| "password_env_name": null | |
| }, | |
| "dependencies": null | |
| }, | |
| { | |
| "is_resolved": true, | |
| "result": { | |
| "is_resolved": true, | |
| "dependency": { | |
| "version_id": "04tHq0000010QbrIAE", | |
| "package_name": "https://github.com/SFDO-Community/Summit-Events-App", | |
| "version_number": null, | |
| "password_env_name": null | |
| }, | |
| "resolved_by": "latest_release", | |
| "resolver_message": null | |
| }, | |
| "message": "Resolved successfully", | |
| "original_dependency": { | |
| "github": "https://github.com/SFDO-Community/Summit-Events-App", | |
| "unmanaged": false, | |
| "tag": null, | |
| "skip": null, | |
| "password_env_name": null, | |
| "ref": null | |
| }, | |
| "dependency": { | |
| "version_id": "04tHq0000010QbrIAE", | |
| "package_name": "https://github.com/SFDO-Community/Summit-Events-App", | |
| "version_number": null, | |
| "password_env_name": null | |
| }, | |
| "dependencies": null | |
| }, | |
| { | |
| "is_resolved": true, | |
| "result": { | |
| "is_resolved": true, | |
| "dependency": { | |
| "namespace": "pmdm", | |
| "version": "1.33", | |
| "package_name": null, | |
| "version_id": null, | |
| "password_env_name": null | |
| }, | |
| "resolved_by": null, | |
| "resolver_message": null | |
| }, | |
| "message": "Converted to static PackageNamespaceVersionDependency.", | |
| "original_dependency": { | |
| "namespace": "pmdm", | |
| "version": "1.33", | |
| "version_id": null, | |
| "password_env_name": null | |
| }, | |
| "dependency": { | |
| "namespace": "pmdm", | |
| "version": "1.33", | |
| "package_name": null, | |
| "version_id": null, | |
| "password_env_name": null | |
| }, | |
| "dependencies": null | |
| }, | |
| { | |
| "is_resolved": true, | |
| "result": { | |
| "is_resolved": true, | |
| "dependency": { | |
| "unmanaged": false, | |
| "subfolder": "force-app", | |
| "namespace_inject": null, | |
| "namespace_strip": null, | |
| "collision_check": null, | |
| "zip_file": "base64 content removed" | |
| }, | |
| "resolved_by": null, | |
| "resolver_message": null | |
| }, | |
| "message": "Converted to inlined UnmanagedZipFileDependency.", | |
| "original_dependency": { | |
| "github": "https://github.com/muselab-d2x/D2X-Cloud-Demo-1", | |
| "unmanaged": false, | |
| "tag": null, | |
| "skip": null, | |
| "password_env_name": null, | |
| "ref": null | |
| }, | |
| "dependency": { | |
| "unmanaged": false, | |
| "subfolder": "force-app", | |
| "namespace_inject": null, | |
| "namespace_strip": null, | |
| "collision_check": null, | |
| "zip_file": "base64 content removed" | |
| }, | |
| "dependencies": null | |
| } | |
| ], | |
| "is_success": true, | |
| "num_failed_resolutions": 0, | |
| "num_input_dependencies": 6, | |
| "num_resolved_dependencies": 6, | |
| "num_output_dependencies": 6, | |
| "dependencies": [ | |
| { | |
| "version_id": "04t5p0000013oeHAAQ", | |
| "package_name": "https://github.com/SFDO-Community/declarative-lookup-rollup-summaries", | |
| "version_number": null, | |
| "password_env_name": null | |
| }, | |
| { | |
| "version_id": "04t6g000008joioAAA", | |
| "package_name": "https://github.com/SFDO-Community/GrassrootsSurveySalesforcePackage", | |
| "version_number": null, | |
| "password_env_name": null | |
| }, | |
| { | |
| "version_id": "04t6g000007zMcpAAE", | |
| "package_name": "https://github.com/SFDO-Community/Salesforce-Indicators", | |
| "version_number": null, | |
| "password_env_name": null | |
| }, | |
| { | |
| "version_id": "04tHq0000010QbrIAE", | |
| "package_name": "https://github.com/SFDO-Community/Summit-Events-App", | |
| "version_number": null, | |
| "password_env_name": null | |
| }, | |
| { | |
| "namespace": "pmdm", | |
| "version": "1.33", | |
| "package_name": null, | |
| "version_id": null, | |
| "password_env_name": null | |
| }, | |
| { | |
| "unmanaged": false, | |
| "subfolder": "force-app", | |
| "namespace_inject": null, | |
| "namespace_strip": null, | |
| "collision_check": null, | |
| "zip_file": "base64 content removed" | |
| } | |
| ], | |
| "strategy_name": "latest_release", | |
| "strategies": [ | |
| "tag", | |
| "latest_release", | |
| "unmanaged" | |
| ] | |
| } | |
| } |
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
| dependencies: null | |
| branch: null | |
| tag: null | |
| cumulusci_strategy: latest_release | |
| strategies: null | |
| created_at: "2024-06-23T00:25:24.879475Z" | |
| created_by_user_id: "b50c5370-ee99-48f6-90aa-170d5f9efd85" | |
| is_deleted: false | |
| deleted_at: null | |
| deleted_by_user_id: null | |
| updated_at: "2024-06-23T00:25:24.879483Z" | |
| updated_by_user_id: "b50c5370-ee99-48f6-90aa-170d5f9efd85" | |
| tenant_id: "9ee0a7f3-7386-434d-82b5-f1110d928cac" | |
| status: success | |
| requested_at: "2024-06-23T00:25:24.879327Z" | |
| started_at: "2024-06-23T00:25:24.915743Z" | |
| completed_at: "2024-06-23T00:25:29.817131Z" | |
| log: | | |
| Failed to resolve GithubDependency: SFDO-Community/GrassrootsSurveySalesforcePackage (default_branch) with tag: No tag found in the dependency. | |
| Failed to resolve GithubDependency: SFDO-Community/declarative-lookup-rollup-summaries (default_branch) with tag: No tag found in the dependency. | |
| Failed to resolve GithubDependency: SFDO-Community/Salesforce-Indicators (default_branch) with tag: No tag found in the dependency. | |
| Failed to resolve GithubDependency: SFDO-Community/Summit-Events-App (default_branch) with tag: No tag found in the dependency. | |
| error_message: null | |
| id: "aaebc766-3925-44ed-9727-42e926a34580" | |
| repo: | |
| name: D2X-Cloud-Demo-1 | |
| github_id: 766526903 | |
| org_id: "a6998c9f-0a8f-4459-be6a-2c926570e51c" | |
| user_id: null | |
| url: https://github.com/muselab-d2x/D2X-Cloud-Demo-1 | |
| id: "f94b4044-78e3-4982-8ae4-c77dde4bac9f" | |
| org: | |
| name: muselab-d2x | |
| github_id: 104277799 | |
| url: https://github.com/muselab-d2x | |
| id: "a6998c9f-0a8f-4459-be6a-2c926570e51c" | |
| tenant: | |
| name: muselab-d2x | |
| created_at: "2024-04-01T21:31:24.783251Z" | |
| owner_id: null | |
| updated_by_user_id: null | |
| is_deleted: false | |
| id: "9ee0a7f3-7386-434d-82b5-f1110d928cac" | |
| created_by_user_id: null | |
| slug: muselab-d2x | |
| deleted_at: null | |
| updated_at: "2024-04-01T21:31:24.783251Z" | |
| deleted_by_user_id: null | |
| result: | |
| resolutions: | |
| - is_resolved: true | |
| result: | |
| is_resolved: true | |
| dependency: | |
| version_id: "04t5p0000013oeHAAQ" | |
| package_name: https://github.com/SFDO-Community/declarative-lookup-rollup-summaries | |
| version_number: null | |
| password_env_name: null | |
| resolved_by: latest_release | |
| resolver_message: null | |
| message: Resolved successfully | |
| original_dependency: | |
| github: https://github.com/SFDO-Community/declarative-lookup-rollup-summaries | |
| unmanaged: false | |
| tag: null | |
| skip: null | |
| password_env_name: null | |
| ref: null | |
| dependency: | |
| version_id: "04t5p0000013oeHAAQ" | |
| package_name: https://github.com/SFDO-Community/declarative-lookup-rollup-summaries | |
| version_number: null | |
| password_env_name: null | |
| dependencies: null | |
| - is_resolved: true | |
| result: | |
| is_resolved: true | |
| dependency: | |
| version_id: "04t6g000008joioAAA" | |
| package_name: https://github.com/SFDO-Community/GrassrootsSurveySalesforcePackage | |
| version_number: null | |
| password_env_name: null | |
| resolved_by: latest_release | |
| resolver_message: null | |
| message: Resolved successfully | |
| original_dependency: | |
| github: https://github.com/SFDO-Community/GrassrootsSurveySalesforcePackage | |
| unmanaged: false | |
| tag: null | |
| skip: null | |
| password_env_name: null | |
| ref: null | |
| dependency: | |
| version_id: "04t6g000008joioAAA" | |
| package_name: https://github.com/SFDO-Community/GrassrootsSurveySalesforcePackage | |
| version_number: null | |
| password_env_name: null | |
| dependencies: null | |
| - is_resolved: true | |
| result: | |
| is_resolved: true | |
| dependency: | |
| version_id: "04t6g000007zMcpAAE" | |
| package_name: https://github.com/SFDO-Community/Salesforce-Indicators | |
| version_number: null | |
| password_env_name: null | |
| resolved_by: latest_release | |
| resolver_message: null | |
| message: Resolved successfully | |
| original_dependency: | |
| github: https://github.com/SFDO-Community/Salesforce-Indicators | |
| unmanaged: false | |
| tag: null | |
| skip: null | |
| password_env_name: null | |
| ref: null | |
| dependency: | |
| version_id: "04t6g000007zMcpAAE" | |
| package_name: https://github.com/SFDO-Community/Salesforce-Indicators | |
| version_number: null | |
| password_env_name: null | |
| dependencies: null | |
| - is_resolved: true | |
| result: | |
| is_resolved: true | |
| dependency: | |
| version_id: "04tHq0000010QbrIAE" | |
| package_name: https://github.com/SFDO-Community/Summit-Events-App | |
| version_number: null | |
| password_env_name: null | |
| resolved_by: latest_release | |
| resolver_message: null | |
| message: Resolved successfully | |
| original_dependency: | |
| github: https://github.com/SFDO-Community/Summit-Events-App | |
| unmanaged: false | |
| tag: null | |
| skip: null | |
| password_env_name: null | |
| ref: null | |
| dependency: | |
| version_id: "04tHq0000010QbrIAE" | |
| package_name: https://github.com/SFDO-Community/Summit-Events-App | |
| version_number: null | |
| password_env_name: null | |
| dependencies: null | |
| - is_resolved: true | |
| result: | |
| is_resolved: true | |
| dependency: | |
| namespace: pmdm | |
| version: "1.33" | |
| package_name: null | |
| version_id: null | |
| password_env_name: null | |
| resolved_by: null | |
| resolver_message: null | |
| message: Converted to static PackageNamespaceVersionDependency. | |
| original_dependency: | |
| namespace: pmdm | |
| version: "1.33" | |
| version_id: null | |
| password_env_name: null | |
| dependency: | |
| namespace: pmdm | |
| version: "1.33" | |
| package_name: null | |
| version_id: null | |
| password_env_name: null | |
| dependencies: null | |
| - is_resolved: true | |
| result: | |
| is_resolved: true | |
| dependency: | |
| unmanaged: false | |
| subfolder: force-app | |
| namespace_inject: null | |
| namespace_strip: null | |
| collision_check: null | |
| zip_file: base64 content removed | |
| resolved_by: null | |
| resolver_message: null | |
| message: Converted to inlined UnmanagedZipFileDependency. | |
| original_dependency: | |
| github: https://github.com/muselab-d2x/D2X-Cloud-Demo-1 | |
| unmanaged: false | |
| tag: null | |
| skip: null | |
| password_env_name: null | |
| ref: null | |
| dependency: | |
| unmanaged: false | |
| subfolder: force-app | |
| namespace_inject: null | |
| namespace_strip: null | |
| collision_check: null | |
| zip_file: base64 content removed | |
| dependencies: null | |
| is_success: true | |
| num_failed_resolutions: 0 | |
| num_input_dependencies: 6 | |
| num_resolved_dependencies: 6 | |
| num_output_dependencies: 6 | |
| dependencies: | |
| - version_id: "04t5p0000013oeHAAQ" | |
| package_name: https://github.com/SFDO-Community/declarative-lookup-rollup-summaries | |
| version_number: null | |
| password_env_name: null | |
| - version_id: "04t6g000008joioAAA" | |
| package_name: https://github.com/SFDO-Community/GrassrootsSurveySalesforcePackage | |
| version_number: null | |
| password_env_name: null | |
| - version_id: "04t6g000007zMcpAAE" | |
| package_name: https://github.com/SFDO-Community/Salesforce-Indicators | |
| version_number: null | |
| password_env_name: null | |
| - version_id: "04tHq0000010QbrIAE" | |
| package_name: https://github.com/SFDO-Community/Summit-Events-App | |
| version_number: null | |
| password_env_name: null | |
| - namespace: pmdm | |
| version: "1.33" | |
| package_name: null | |
| version_id: null | |
| password_env_name: null | |
| - unmanaged: false | |
| subfolder: force-app | |
| namespace_inject: null | |
| namespace_strip: null | |
| collision_check: null | |
| zip_file: base64 content removed | |
| strategy_name: latest_release | |
| strategies: | |
| - tag | |
| - latest_release | |
| - unmanaged |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment