diff --git a/_includes/pbc/all/install-features/202311.0/unified-commerce/install-the-warehouse-picking-product-feature.md b/_includes/pbc/all/install-features/202311.0/unified-commerce/install-the-warehouse-picking-product-feature.md index ee36403e2c0..c42d235f6ce 100644 --- a/_includes/pbc/all/install-features/202311.0/unified-commerce/install-the-warehouse-picking-product-feature.md +++ b/_includes/pbc/all/install-features/202311.0/unified-commerce/install-the-warehouse-picking-product-feature.md @@ -16,9 +16,12 @@ Install the required features: Enable the following plugins. -| PLUGIN | SPECIFICATION | PREREQUISITES | NAMESPACE | -|---------------------------------------------------------------------|-----------------------------------------------------------------------------------------|---------------|------------------------------------------------------------------------------------------------| -| ConcreteProductsByPickingListItemsBackendResourceRelationshipPlugin | Adds the `concrete-products` resource as a relationship to the `picking-list-items` resource. | | Spryker\Glue\ProductsBackendApi\Plugin\GlueBackendApiApplicationGlueJsonApiConventionConnector | +| PLUGIN | SPECIFICATION | PREREQUISITES | NAMESPACE | +|---------------------------------------------------------------------|--------------------------------------------------------------------------------------------------|---------------|--------------------------------------------------------------------------------------------------------| +| ConcreteProductsByPickingListItemsBackendResourceRelationshipPlugin | Adds the `concrete-products` resource as a relationship to the `picking-list-items` resource. | | Spryker\Glue\ProductsBackendApi\Plugin\GlueBackendApiApplicationGlueJsonApiConventionConnector | +| ConcreteProductImageSetsByProductsBackendResourceRelationshipPlugin | Adds the `concrete-product-image-sets` resource as a relationship to the `concrete-products` resource. | | Spryker\Glue\ProductImageSetsBackendApi\Plugin\GlueBackendApiApplicationGlueJsonApiConventionConnector | + + **src/Pyz/Glue/GlueBackendApiApplicationGlueJsonApiConventionConnector/GlueBackendApiApplicationGlueJsonApiConventionConnectorDependencyProvider.php** @@ -32,6 +35,8 @@ use Spryker\Glue\GlueBackendApiApplicationGlueJsonApiConventionConnector\GlueBac use Spryker\Glue\GlueJsonApiConventionExtension\Dependency\Plugin\ResourceRelationshipCollectionInterface; use Spryker\Glue\PickingListsBackendApi\PickingListsBackendApiConfig; use Spryker\Glue\ProductsBackendApi\Plugin\GlueBackendApiApplicationGlueJsonApiConventionConnector\ConcreteProductsByPickingListItemsBackendResourceRelationshipPlugin; +use Spryker\Glue\ProductsBackendApi\ProductsBackendApiConfig; +use Spryker\Glue\ProductImageSetsBackendApi\Plugin\GlueBackendApiApplicationGlueJsonApiConventionConnector\ConcreteProductImageSetsByProductsBackendResourceRelationshipPlugin; class GlueBackendApiApplicationGlueJsonApiConventionConnectorDependencyProvider extends SprykerGlueBackendApiApplicationGlueJsonApiConventionConnectorDependencyProvider { @@ -48,6 +53,11 @@ class GlueBackendApiApplicationGlueJsonApiConventionConnectorDependencyProvider new ConcreteProductsByPickingListItemsBackendResourceRelationshipPlugin(), ); + $resourceRelationshipCollection->addRelationship( + ProductsBackendApiConfig::RESOURCE_CONCRETE_PRODUCTS, + new ConcreteProductImageSetsByProductsBackendResourceRelationshipPlugin(), + ); + return $resourceRelationshipCollection; } } @@ -57,75 +67,313 @@ class GlueBackendApiApplicationGlueJsonApiConventionConnectorDependencyProvider {% info_block warningBox "Verification" %} -Send the request: `GET https://glue-backend.mysprykershop.com/picking-lists/{% raw %}{{{% endraw %}picking-list-uuid{% raw %}}{{% endraw %}?include=picking-list-items,concrete-products`. - -Make sure the `concrete-products` resource is returned as a relationship to the `picking-list-items` resource. +Make sure the `concrete-products` and `concrete-product-image-sets` resources are returned as relationships to `picking-list-items` resource. +`GET https://glue-backend.mysprykershop.com/picking-lists/{% raw %}{{{% endraw %}picking-list-uuid{% raw %}}{{% endraw %}?include=picking-list-items,concrete-products,concrete-product-image-sets`
Response sample ```json { - "data": { - "id": "14baa0f3-e6e7-5aa8-bc6c-c02ec39ca77b", - "type": "picking-lists", - "attributes": { - "status": "ready-for-picking", - "createdAt": "2023-03-23 15:47:07.000000", - "updatedAt": "2023-03-23 15:49:57.000000" + "data": [ + { + "id": "910a4d20-59a3-5c49-808e-aa7038a59313", + "type": "picking-lists", + "attributes": { + "status": "ready-for-picking", + "createdAt": "2023-10-27 13:00:32.000000", + "updatedAt": "2023-10-27 13:00:32.000000" + }, + "relationships": { + "picking-list-items": { + "data": [ + { + "id": "9ac9fd06-f491-506e-b302-0b166786d91c", + "type": "picking-list-items" + }, + { + "id": "54a264b8-dc2b-5a0e-9a78-ae7138e9d0b5", + "type": "picking-list-items" + } + ] + } + }, + "links": { + "self": "https://glue-backend.mysprykershop.com/picking-lists/910a4d20-59a3-5c49-808e-aa7038a59313?include=picking-list-items,concrete-products,concrete-product-image-sets" + } + } + ], + "links": { + "self": "https://glue-backend.mysprykershop.com/picking-lists?include=picking-list-items,concrete-products,concrete-product-image-sets" + }, + "included": [ + { + "id": "091_25873091", + "type": "concrete-product-image-sets", + "attributes": { + "imageSets": [ + { + "name": "default", + "locale": "de_DE", + "images": [ + { + "externalUrlLarge": "https://images.icecat.biz/img/norm/high/25873091-2214.jpg", + "externalUrlSmall": "https://images.icecat.biz/img/norm/medium/25873091-2214.jpg" + } + ] + }, + { + "name": "default", + "locale": "en_US", + "images": [ + { + "externalUrlLarge": "https://images.icecat.biz/img/norm/high/25873091-2214.jpg", + "externalUrlSmall": "https://images.icecat.biz/img/norm/medium/25873091-2214.jpg" + } + ] + } + ] + }, + "links": { + "self": "https://glue-backend.mysprykershop.com/concrete-product-image-sets/091_25873091?include=picking-list-items,concrete-products,concrete-product-image-sets" + } }, - "relationships": { - "picking-list-items": { - "data": [ + { + "id": "091_25873091", + "type": "concrete-products", + "attributes": { + "sku": "091_25873091", + "isQuantitySplittable": true, + "isActive": true, + "localizedAttributes": [ + { + "locale": { + "locale_name": "de_DE", + "id_locale": 46, + "name": null, + "is_active": true + }, + "name": "Sony SmartWatch 3", + "description": "Gear S2 X Atelier Mendini In einer wunderbaren Partnerschaft bringt Alessandro Mendini seinen Geschmack, Humor und Farbsinn in die Gestaltung der Gear S2 ein. Das Ergebnis ist eine Reihe von Zifferblättern und Armbändern, die Ihren persönlichen Stil zum Ausdruck bringen. Die wesentlichen Smartphone-Funktionen sind mit einer einfachen Drehung an der Gear S2 verfügbar. Drehen Sie leicht an der Blende, um lange E-Mails zu durchblättern, eine Karte zu vergrössern oder bei der Musikwiedergabe ein Stück zu überspringen. Mit jeder Drehung wird das Leben noch interessanter und bunter. Mit der Gear S2 können Sie sich sehr leicht um Ihre Gesundheit kümmern. Verfolgen Sie Ihre täglichen Aktivitäten, Ihren Puls und Ihren Wasserkonsum verglichen mit Ihrem Koffeinkonsum. Bleiben Sie fit mit zeitgerechten motivierenden Botschaften. Bleiben Sie auf dem Laufenden und fit. Und wenn es Zeit ist, die Smartwatch wieder aufzuladen, stellen Sie sie einfach auf eine drahtlose Ladestation.", + "isSearchable": true, + "attributes": { + "color": "Weiß" + } + }, { - "id": "65bb3aec-0a45-5ec6-9b12-bbca6551d87f", - "type": "picking-list-items" + "locale": { + "locale_name": "en_US", + "id_locale": 66, + "name": null, + "is_active": true + }, + "name": "Sony SmartWatch 3", + "description": "The way you like it Whatever your lifestyle SmartWatch 3 SWR50 can be made to suit it. You can choose from a range of wrist straps – formal, sophisticated, casual, vibrant colours and fitness style, all made from the finest materials. Designed to perform and impress, this smartphone watch delivers a groundbreaking combination of technology and style. Downloadable apps let you customise your SmartWatch 3 SWR50 and how you use it. Tell SmartWatch 3 SWR50 smartphone watch what you want and it will do it. Search. Command. Find.", + "isSearchable": true, + "attributes": { + "color": "White" + } + } + ], + "imageSets": [ + { + "name": "default", + "locale": { + "locale_name": "de_DE", + "id_locale": 46, + "name": null, + "is_active": true + }, + "images": [] + }, + { + "name": "default", + "locale": { + "locale_name": "en_US", + "id_locale": 66, + "name": null, + "is_active": true + }, + "images": [] } ] + }, + "relationships": { + "concrete-product-image-sets": { + "data": [ + { + "id": "091_25873091", + "type": "concrete-product-image-sets" + } + ] + } + }, + "links": { + "self": "https://glue-backend.mysprykershop.com/concrete-products/091_25873091?include=picking-list-items,concrete-products,concrete-product-image-sets" + } + }, + { + "id": "9ac9fd06-f491-506e-b302-0b166786d91c", + "type": "picking-list-items", + "attributes": { + "quantity": 1, + "numberOfPicked": 0, + "numberOfNotPicked": 0, + "orderItem": { + "uuid": "120b7a51-69e4-54b9-96a6-3b5eab0dfe7a", + "sku": "091_25873091", + "quantity": 1, + "name": "Sony SmartWatch 3", + "amountSalesUnit": null, + "amount": null + } + }, + "relationships": { + "concrete-products": { + "data": [ + { + "id": "091_25873091", + "type": "concrete-products" + } + ] + } + }, + "links": { + "self": "https://glue-backend.mysprykershop.com/picking-list-items/9ac9fd06-f491-506e-b302-0b166786d91c?include=picking-list-items,concrete-products,concrete-product-image-sets" + } + }, + { + "id": "066_23294028", + "type": "concrete-product-image-sets", + "attributes": { + "imageSets": [ + { + "name": "default", + "locale": "de_DE", + "images": [ + { + "externalUrlLarge": "https://images.icecat.biz/img/gallery/23294028_3275.jpg", + "externalUrlSmall": "https://images.icecat.biz/img/gallery_mediums/23294028_3275.jpg" + } + ] + }, + { + "name": "default", + "locale": "en_US", + "images": [ + { + "externalUrlLarge": "https://images.icecat.biz/img/gallery/23294028_3275.jpg", + "externalUrlSmall": "https://images.icecat.biz/img/gallery_mediums/23294028_3275.jpg" + } + ] + } + ] + }, + "links": { + "self": "https://glue-backend.mysprykershop.com/concrete-product-image-sets/066_23294028?include=picking-list-items,concrete-products,concrete-product-image-sets" } }, - "links": { - "self": "https://glue-backend.mysprykershop.com/picking-lists/14baa0f3-e6e7-5aa8-bc6c-c02ec39ca77b?include=picking-list-items,concrete-products" - } - }, - "included": [ { - "id": "141_29380410", + "id": "066_23294028", "type": "concrete-products", "attributes": { - "sku": "141_29380410", - "name": "Asus Zenbook US303UB" + "sku": "066_23294028", + "isQuantitySplittable": true, + "isActive": true, + "localizedAttributes": [ + { + "locale": { + "locale_name": "de_DE", + "id_locale": 46, + "name": null, + "is_active": true + }, + "name": "Samsung Galaxy S5 mini", + "description": "Ein Kunstwerk Das 5-Zoll-Display des Liquid Jade ist ein ansprechender Anblick. Die HD-Auflösung in Kombination mit der IPS1-Technologie verleiht Videos, Bildern und Web-Inhalten noch mehr Leben. Außerdem lässt das Zero Air Gap-Design alle Bilder gut aussehen – auch bei Sonnenlicht. Der Name sagt alles: ein Smartphone, das ist so schön ist wie Jade. Dank der 7,5 mm flachen und geschwungenen, ergonomischen Oberflächen liegt das Liquid Jade angenehm in der Hand. Die geschwungene Corning® Gorilla® Glass-Display unterstreicht die robuste und doch ansprechende Bauweise des Liquid Jade.", + "isSearchable": true, + "attributes": { + "color": "Blau" + } + }, + { + "locale": { + "locale_name": "en_US", + "id_locale": 66, + "name": null, + "is_active": true + }, + "name": "Samsung Galaxy S5 mini", + "description": "Galaxy S5 mini continues Samsung design legacy and flagship experience Outfitted with a 4.5-inch HD Super AMOLED display, the Galaxy S5 mini delivers a wide and vivid viewing experience, and its compact size provides users with additional comfort, allowing for easy operation with only one hand. Like the Galaxy S5, the Galaxy S5 mini features a unique perforated pattern on the back cover creating a modern and sleek look, along with a premium, soft touch grip. The Galaxy S5 mini enables users to enjoy the same flagship experience as the Galaxy S5 with innovative features including IP67 certification, Ultra Power Saving Mode, a heart rate monitor, fingerprint scanner, and connectivity with the latest Samsung wearable devices.The Galaxy S5 mini comes equipped with a powerful Quad Core 1.4 GHz processor and 1.5GM RAM for seamless multi-tasking, faster webpage loading, softer UI transition, and quick power up. The high-resolution 8MP camera delivers crisp and clear photos and videos, while the Galaxy S5 mini’s support of LTE Category 4 provides users with ultra-fast downloads of movies and games on-the-go. ", + "isSearchable": true, + "attributes": { + "color": "Blue" + } + } + ], + "imageSets": [ + { + "name": "default", + "locale": { + "locale_name": "de_DE", + "id_locale": 46, + "name": null, + "is_active": true + }, + "images": [] + }, + { + "name": "default", + "locale": { + "locale_name": "en_US", + "id_locale": 66, + "name": null, + "is_active": true + }, + "images": [] + } + ] + }, + "relationships": { + "concrete-product-image-sets": { + "data": [ + { + "id": "066_23294028", + "type": "concrete-product-image-sets" + } + ] + } }, "links": { - "self": "https://glue-backend.mysprykershop.com/concrete-products/141_29380410?include=picking-list-items,concrete-products" + "self": "https://glue-backend.mysprykershop.com/concrete-products/066_23294028?include=picking-list-items,concrete-products,concrete-product-image-sets" } }, { - "id": "65bb3aec-0a45-5ec6-9b12-bbca6551d87f", + "id": "54a264b8-dc2b-5a0e-9a78-ae7138e9d0b5", "type": "picking-list-items", "attributes": { "quantity": 1, "numberOfPicked": 0, "numberOfNotPicked": 0, "orderItem": { - "uuid": "31e21001-e544-5533-9754-51331c8c9ac5", - "sku": "141_29380410", + "uuid": "14d86bb2-ea23-57ed-904c-eecc63ef10ac", + "sku": "066_23294028", "quantity": 1, - "name": "Asus Zenbook US303UB", - "amountSalesUnit": null + "name": "Samsung Galaxy S5 mini", + "amountSalesUnit": null, + "amount": null } }, "relationships": { "concrete-products": { "data": [ { - "id": "141_29380410", + "id": "066_23294028", "type": "concrete-products" } ] } }, "links": { - "self": "https://glue-backend.mysprykershop.com/picking-list-items/65bb3aec-0a45-5ec6-9b12-bbca6551d87f?include=picking-list-items,concrete-products" + "self": "https://glue-backend.mysprykershop.com/picking-list-items/54a264b8-dc2b-5a0e-9a78-ae7138e9d0b5?include=picking-list-items,concrete-products,concrete-product-image-sets" } } ] diff --git a/docs/ca/dev/configure-deployment-pipelines/configure-gitlab-pipelines.md b/docs/ca/dev/configure-deployment-pipelines/configure-gitlab-pipelines.md index e85eadde60d..f2ec44a4a57 100644 --- a/docs/ca/dev/configure-deployment-pipelines/configure-gitlab-pipelines.md +++ b/docs/ca/dev/configure-deployment-pipelines/configure-gitlab-pipelines.md @@ -16,7 +16,7 @@ This document describes how to configure continuous integration using GitLab Pip ## What is GitLab Pipelines? GitLab pipelines automate steps in the SDLC like builds, tests, and deployments. When a team takes advantage of automated pipelines, they simplify the handoff process and decrease the chance of human error, creating faster iterations and better quality code. Everyone can see where code is in the process and identify problems long before they make it to production. -For more information on Gitlab Pipelines, see [GitLab CI/CD](https://docs.gitlab.com/ee/ci/README.html). +For more information on Gitlab Pipelines, see [GitLab CI/CD](https://docs.gitlab.com/ee/ci/pipelines/). ## Prerequisites In the repository root, create the CI/CD configuration file: `.gitlab-ci.yml`.