ReST Service Configuration

For certain ReST services, there is an option to run them in a multi-threaded mode. For the services that support this functionality, you can configure the chunk sizes and number of threads, based on your business volumes. The configurations are managed in Merchandising through spreadsheet upload and download processes. These processes are accessed through the main Merchandising task list under Foundation Data > Download Foundation Data and Foundation Data > Upload Foundation Data.

To update the configurations, you will select the template type of Administration from the Download Data screen and then the template ReST Services Data Loading Configuration. Click the Download button and when prompted, choose to either open the .ods file that is generated or save the file and open it separately in the spreadsheet application of your choice. Once opened, there will be one sheet that can be modified.

Update ReST Service Configuration

The structure of the data that is downloaded is such that each service name/parameter combination are listed in the rows in the spreadsheet template. The only action for these configurations is Update, new services or parameters cannot be added. For each row in the spreadsheet, the following parameters will exist:

  • Action - Indicates the action to be taken on upload; only Update is supported.

  • Service - Indicates the name of the service that supports this type of configuration. This value cannot be updated.

  • Parameter - Indicates the type of parameter being configured; valid values are THREAD_COUNT and CHUNK_SIZE.

  • Parameter Value - Relates to the parameter in the row and defines either the maximum number of threads or the maximum chunk size. Valid values are whole numbers greater than or equal to 1, with a maximum value of 9999999999.

If you would like to update any details for a service, download the spreadsheet, and then navigate to the row where you would like to make your updates. In the row where you make your updates, select the action type of Update, and then update the parameter value in the spreadsheet.

Uploading Changes

Once all the updates have been made to the data in the spreadsheet, save the file and close it. Then, return to the Merchandising screens and select Foundation Data > Upload Foundation Data from the main task list. In this screen, select the template type Administration and the template ReST Services Data Loading Configuration. This will generate a process description automatically, but this can be updated if desired. Lastly, select the Browse button and navigate to the directory where you saved the updated spreadsheet.

To review the status of the upload and check whether any errors occurred, select the Foundation Data > Review Status task from the main task list.

See also "Download/Upload Data from Spreadsheets" and "View Data Loading Status" in the Oracle Retail Merchandising Do the Basics User Guide.