Skip to content

doc: updating example results #543

doc: updating example results

doc: updating example results #543

Triggered via push January 6, 2025 13:07
Status Failure
Total duration 19m 45s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
md`.Example `define-schema-for-catalog.graphql`: md`#L1
org.opentest4j.AssertionFailedError: The query mutation { updateCatalogSchema( mutations: [ { createEntitySchemaMutation: { entityType: "Brand" } }, { modifyEntitySchemaMutation: { entityType: "Brand" schemaMutations: [ { modifyEntitySchemaDescriptionMutation: { description: "Brand is entity that represents manufacturer or supplier of the product." } }, { setEntitySchemaWithGeneratedPrimaryKeyMutation: { withGeneratedPrimaryKey: false } }, { allowLocaleInEntitySchemaMutation: { locales: ["en", "de"] } }, { createAttributeSchemaMutation: { name: "name" type: String description: "The apt brand name." filterableInScopes: [LIVE] sortableInScopes: [LIVE] } } ] } }, { createEntitySchemaMutation: { entityType: "Category" } }, { modifyEntitySchemaMutation: { entityType: "Category" schemaMutations: [ { modifyEntitySchemaDescriptionMutation: { description: "Category is entity that forms a hierarchical tree and categorizes items on the e-commerce site into a better accessible form for the customer." } setEntitySchemaWithGeneratedPrimaryKeyMutation: { withGeneratedPrimaryKey: false } setEntitySchemaWithHierarchyMutation: { withHierarchy: true, indexedInScopes: [LIVE] } allowLocaleInEntitySchemaMutation: { locales: ["en", "de"] } createAttributeSchemaMutation: { name: "name" type: String description: "The apt category name." localized: true filterableInScopes: [LIVE] sortableInScopes: [LIVE] } } ] } } { createEntitySchemaMutation: { entityType: "Product" } modifyEntitySchemaMutation: { entityType: "Product" schemaMutations: [ { modifyEntitySchemaDescriptionMutation: { description: "Product represents an article that can be displayed and sold on e-shop. Product can be organized in categories or groups. Product can relate to groups or brands. Product have prices." } }, { setEntitySchemaWithGeneratedPrimaryKeyMutation: { withGeneratedPrimaryKey: true } }, { allowLocaleInEntitySchemaMutation: { locales: ["en", "de"] } }, { allowCurrencyInEntitySchemaMutation: { currencies: ["USD", "EUR"] } }, { createAttributeSchemaMutation: { name: "name" type: String description: "The apt brand name." localized: true filterableInScopes: [LIVE] sortableInScopes: [LIVE] nullable: true } }, { createAttributeSchemaMutation: { name: "catalogCode" type: String description: "Product designation in your sales catalogue." filterableInScopes: [LIVE] sortableInScopes: [LIVE] nullable: true } }, { createAttributeSchemaMutation: { name: "stockQuantity" type: Integer description: "Number of pieces in stock." filterableInScopes: [LIVE] sortableInScopes: [LIVE] defaultValue: 0 } }, { createAssociatedDataSchemaMutation: { name: "gallery" type: StringArray nullable: true description: "List of links to images in the product gallery." } }, { createReferenceSchemaMutation: { name: "brand" referencedEntityType: "Brand" referencedEntityTypeManaged: true cardinality: ZERO_OR_ONE description: "Reference to the brand or manufacturer of the product." indexedInScopes: [LIVE] facetedInScopes: [LIVE] } }, { createReferenceSchemaMutation: { name: "categories" referencedEntityType: "Category" referencedEntityTypeManaged: true cardinality: ZERO_OR_MORE description: "Reference to one or more categories the product is listed in." indexedInScopes: [LIVE] } } ] } } ] ) { name } } failed: Call to GraphQL server with document: {"data":null,"errors":[{"message":"Entity schema `Brand` and existing entity schema `Brand` produce the same name `brand` in `CAMEL_CASE` convention! Please choose different entity schema name.","locations":[{"line":2,"column":3,"sourceName":null}],"path":["updateCatalogSchema"],"extensions":{"errorCode":"73a20adb22d95068d7daa5f6e2d96230:af7e03290249dcf135c6dd7ad7cd6bc9:92"}}]} ended with errors: [{"message":"Entity schema `Brand` and existing entity schema `Brand` produce the same name `brand` in `CAMEL_CASE` convention! Please choose different entity schema name.","locations":[{"line":2,"column":3,"sourceName":null}],"path":["updateCatalogSchema"],"extensions":{"errorCode":"73a20adb22d95068d7daa5f6e2d96230:af7e03290249dcf135c6dd7ad7cd6bc9:92"}}]
build
❌ Tests reported 1 failures
build
Process completed with exit code 1.
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636