For the purpose of account launch and best-practices configuration, the following data must be synchronized fully once:
...
Info |
---|
As this step was done in-house by Boxalino, for the POC of our ELT solution, further definition will be provided. |
The DI-SAAS request
The DI request will use the same headers (client, tm, mode, type, authorization) and a JSON request body that would provide mapping details between the loaded .jsonl files and data meaning.
...
it will load the files to BQ in a T (transform) dataset (ex:
SELECT * FROM rtux-data-integration.<account>_T.<tm>_<doc_X>_<property>_<name>
)it will run the transform flow (step #1-#3 from Data Integration )
generating each doc_X JSONL content
loading the doc_X JSONL in your GCS bucket
loading the doc_X JSONL to BQ
it will run the SYNC request Sync Request for the process
loads the content in core tables in BQ
loads the content in the respective data index (for products)
REQUEST DEFINITION
As an integrator, please create the bellow request to the provided endpoint.
Info |
---|
There should be a process within your own project that triggers the data sync between a 3rd party source (connector) and Boxalino. |
Endpoint | production | ||||
---|---|---|---|---|---|
1 |
| test / stage | https://boxalino-di-transformer-stage-krceabfwya-ew.a.run.app | ||
2 | Action | /di | |||
3 | Method | POST | |||
4 | Body | ||||
5 | Headers | Authorization | Basic base64<<DATASYNC API key : DATASYNC API Secret>> note: use the API credentials from your Boxalino account that have the ADMIN role assigned | ||
6 |
| Content-Type | application/json | ||
7 |
| client | account name | ||
8 |
| mode | data sync mode: F for full, D for delta | ||
9 |
| type | product, user, content, user_content, order. if left empty - it will check for all tables with the given tm | ||
10 |
| tm | (optional) time , in format: YmdHis;
technical: used to identify the documents version | ||
11 |
| ts | (optional) timestamp, must be millisecond based in UNIX timestamp | ||
12 |
| dev | (optional) use this to mark the content for the dev data index |
Expand | ||
---|---|---|
| ||
This is a sample of a triggered full product sync (minimal data):
The request above created the following resources:
|
...
Panel | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
The use of the header |
Tip |
---|
Step #1 - #2 must be repeated for every file that is required to be added for the given process (same tm, mode & type) Only after the full content is available in GCS, you can move on to step#3. |
Tip |
---|
After all required documents (doc) for the given |
...