{"id":52037891,"url":"https://github.com/adobe/commerce-cif-magento-graphql","last_synced_at":"2026-08-01T21:03:47.408Z","repository":{"id":37712754,"uuid":"183461219","full_name":"adobe/commerce-cif-magento-graphql","owner":"adobe","description":"Magento GraphQL data models and query builders for AEM","archived":false,"fork":false,"pushed_at":"2026-07-17T06:27:32.000Z","size":1536,"stargazers_count":23,"open_issues_count":1,"forks_count":8,"subscribers_count":25,"default_branch":"master","last_synced_at":"2026-07-17T08:15:36.574Z","etag":null,"topics":["adobe","aem","cif","commerce","graphql","magento"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adobe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2019-04-25T15:25:29.000Z","updated_at":"2026-04-24T13:29:58.000Z","dependencies_parsed_at":"2025-10-20T17:34:39.947Z","dependency_job_id":"56b58b8e-8490-4777-9eb4-b9e5ae5801d9","html_url":"https://github.com/adobe/commerce-cif-magento-graphql","commit_stats":null,"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"purl":"pkg:github/adobe/commerce-cif-magento-graphql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adobe%2Fcommerce-cif-magento-graphql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adobe%2Fcommerce-cif-magento-graphql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adobe%2Fcommerce-cif-magento-graphql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adobe%2Fcommerce-cif-magento-graphql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adobe","download_url":"https://codeload.github.com/adobe/commerce-cif-magento-graphql/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adobe%2Fcommerce-cif-magento-graphql/sbom","scorecard":{"id":167232,"data":{"date":"2025-08-11","repo":{"name":"github.com/adobe/commerce-cif-magento-graphql","commit":"0bc22bb767a8270f94ee04d85ab2571569a146a1"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":4,"reason":"Found 12/30 approved changesets -- score normalized to 4","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/adobe/.github/.github/SECURITY.md:1","Info: Found linked content: github.com/adobe/.github/.github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/adobe/.github/.github/SECURITY.md:1","Info: Found text in security policy: github.com/adobe/.github/.github/SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-4jrv-ppp4-jm57"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 12 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-16T15:14:55.323Z","repository_id":37712754,"created_at":"2025-08-16T15:14:55.323Z","updated_at":"2025-08-16T15:14:55.323Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36170392,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-08-01T02:00:05.789Z","response_time":100,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["adobe","aem","cif","commerce","graphql","magento"],"created_at":"2026-08-01T21:03:46.978Z","updated_at":"2026-08-01T21:03:47.396Z","avatar_url":"https://github.com/adobe.png","language":"Java","funding_links":[],"categories":["API\u0026客户端"],"sub_categories":["文件同步"],"readme":"[![GitHub Actions](https://github.com/adobe/commerce-cif-magento-graphql/actions/workflows/ci.yml/badge.svg)](https://github.com/adobe/commerce-cif-magento-graphql/actions/workflows/ci.yml)\n[![Maven Central](https://img.shields.io/maven-central/v/com.adobe.commerce.cif/magento-graphql.svg)](https://search.maven.org/search?q=g:com.adobe.commerce.cif%20AND%20a:magento-graphql)\n\n# Magento GraphQL data models and query builders\n\nThis project contains the Magento GraphQL data models and query builders that have been automatically generated based on the default/generic (= out-of-the-box) Magento GraphQL schema. These classes can be used to build GraphQL requests and to parse/deserialise GraphQL JSON responses into java objects. These files are suitable for all projects that want to manipulate the default set of objects and attributes available in Magento, without any need to access for example customized product attributes.\n\nIf you want to access customized attributes like extra product attributes added to your product attributes set in Magento, you can use the [GraphQL Java Generator](https://github.com/adobe/graphql-java-generator) to generate a similar set of Java classes that would include the custom attributes of your Magento project. \n\nStarting with version `3.1.0-magento232`, this library now also supports custom query fields. That is, it is now possible to add custom fields to any GraphQL query without having to regenerate the Java classes, and the deserialization of JSON responses will accept and allow the parsing of custom fields. See the examples in the [unit tests](src/test/java/com/adobe/cq/commerce/magento/graphql/) to find out more about that new feature. Note that this feature should be used with care because it basically bypasses the type-checking enforced by the query builders and the deserialization.\n\n## Installation\n\nTo build and install the latest version in a running AEM instance, simply do\n\n```\nmvn clean install sling:install\n```\nThis installs everything by default to `localhost:4502` without any context path. You can also configure the install location with the following maven properties:\n* `aem.host`: the name of the AEM instance\n* `aem.port`: the port number of the AEM instance\n* `aem.contextPath`: the context path (if any) of your AEM instance, starting with `/`\n\n## Versioning\n\nThe following versioning scheme is used for that maven dependency: `MAJOR.MINOR.PATCH-magentoXYZ`.\n\nThe `MAJOR.MINOR.PATCH` parts refers to the semantic versioning of this maven artifact.\n\nThe `magentoXYZ` part refers to the version of the Magento GraphQL API, for example for Magento GraphQL `2.3.0` or `2.3.1`.\n\nFor example, the first released version of this artifact is `1.0.0-magento230`, which means that it uses the GraphQL schema from Magento `2.3.0` and is the first major version of that artifact.\n\n## Using the query builders and parsing responses\n\nTo use this library in your project, just add the following maven dependency to your project and install the bundle in your AEM instance:\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.adobe.commerce.cif\u003c/groupId\u003e\n    \u003cartifactId\u003emagento-graphql\u003c/artifactId\u003e\n    \u003cversion\u003e...\u003c/version\u003e\n    \u003cscope\u003eprovided\u003c/scope\u003e\n\u003c/dependency\u003e\n```\n\nYou can check some examples to create GraphQL queries and parse the JSON responses in the [unit tests](src/test/java/com/adobe/cq/commerce/magento/graphql/), including a test/example showing how to use GraphQL aliases. In addition, you can use our generic [GraphQL client bundle for AEM](https://github.com/adobe/commerce-cif-graphql-client) to send the queries.\n\n## Remove un-used imports\nTo format the code, sort and remove un-used imports that were automatically generated, please run the `format-code` profile.\n\n```java\nmvn clean install -Pformat-code\n```\n\n## Releases to Maven Central\n\nReleases are triggered by manually running `mvn release:prepare release:clean` on the `master` branch. This automatically pushes a commit with a release git tag like `magento-graphql-x.y.z-magento230` which triggers a dedicated `GitHub Actions` build that performs the deployment of the artifact to Maven Central.\n\n### Contributing\n \nContributions are welcomed! Read the [Contributing Guide](.github/CONTRIBUTING.md) for more information.\n \n### Licensing\n \nThis project is licensed under the Apache V2 License. See [LICENSE](LICENSE) for more information.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadobe%2Fcommerce-cif-magento-graphql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadobe%2Fcommerce-cif-magento-graphql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadobe%2Fcommerce-cif-magento-graphql/lists"}