Configure the data integration path between Akeneo and SCCOS
Edit on GitHubAfter you have configured data mapping between Akeneo and SCCOS, you need to configure the data integration path. To configure the data integration between Akeneo and SCCOS, you need to do the following in the Spryker Middleware Powered by Alumio platform:
- Create an incoming configuration
- Create an outgoing configuration
- Define the route
Create an incoming configuration
The incoming configuration defines what data should be retrieved from Akeneo and how this should be done.
To create the incoming configuration, do the following:
- In Spryker Middleware powered by Alumio, go to Connections -> Incoming and click the + sign.
- In Name, enter the name of your configuration. As you are entering the name, the identifier will be populated automatically based on the name.
- Optional: In Description, add the description of your incoming configuration.
- To activate the incoming configuration, set the status to Enabled.
- In the Subscriber field, select the HTTP subscriber. You may also select the Akeneo subscriber, however, in this document, we consider the settings for the HTTP subscriber.
- In the Request URL, specify the URL to a specific product or the URL to a list of products. The URL should include just the path after
akeneo.com
, as the base path to the Akeneo environment is already specified in the HTTP client you created. For example, if the actual path to a specific product you want to import from Akeneo ishttps://test.cloud.akeneo.com/api/rest/v1/producs/1234567890
, the path to specify in the Request URL field is/api/rest/v1/producs/1234567890
.
If you want to import products in batch, say 100 products from page https://test.cloud.akeneo.com//api/rest/v1/products
, the path you should specify is /api/rest/v1/products?limit=100
. If you don’t specify the limit value in the URL for batch import, by default, 10 products are imported. If you want to import all the products, do the following:
- In the Request URL field, add the link to the page with the product without the limit value. For example:
/api/rest/v1/products
. - In Follow pagination, select Follow next links.
- in Pattern to the link for the next page enter
_links.next
.
- Optional: In Request Parameters, you can specify the request parameters to configure your incoming in a certain way. For example, you can specify the parameters that would enable the import of products that were updated in Akeneo:
search={"updated":[{"operator":">","value":"&{timestamp}"}],"completeness":[{"operator":"=","value":100,"scope":"ecommerce"}],"enabled":[{"operator":"=","value":true}]}
.
- In HTTP Client, select the Akeneo client that you created at step Connect Akeneo with Spryker Middleware powered by Alumio.
- In Entity schema, select Akeneo Product.
- Leave other fields empty. In the top right, click Save and continue. You should see the message that the incoming configuration has been created.
The incoming configuration should now appear at the Configurations -> Incoming page.
Create an outgoing configuration
The outgoing configuration defines how data retrieved from Akeneo should be sent to SCCOS.
To create the outgoing configuration, do the following:
- In Spryker Middleware powered by Alumio, go to Connections -> Outgoing and click the + sign.
- In Name, enter the name of your configuration. As you are entering the name, the identifier will be populated automatically based on the name.
- Optional: In Description, add the description of your incoming configuration.
- To activate the incoming configuration, set the status to Enabled.
- In Publisher, select No action publisher. You may also select the Akeneo publisher, however, in this document, we consider the settings for the No action publisher.
- Click Add entity transformer and add two transformers: the one you created at step Define the Akeneo to Base model transformer step and the one you created at step Define the Base to Spryker model transformer.
Define the route
The route configuration connects the incoming configuration and outgoing configuration to enable the import of data from Akeneo PIM into SCCOS.
To define the route, do the following:
-
In the Spryker Middleware powered by Alumio platform, go to Connections -> Routes and click the + sign.
-
In Name, enter the name of your client. As you are entering the name, the identifier will be populated automatically based on the name.
-
Optional: In Description field, add the description of your route.
-
To activate the route, set the status to Enabled.
-
In Incoming configuration fieled, select the configuration you created at step Create an incoming configuration.
-
In Outgoing configuration, select the outgoing configuration created at step Create and outgoing configuration.
-
Click Save & Continue.
The route should now appear on the Configurations -> Routes page.
Next step
Thank you!
For submitting the form