Oracle® Retail Bulk Data Integration Implementation Guide Release 16.0.027 E94818-01 |
|
![]() Previous |
![]() Next |
The System Setting service is a RESTful service available in all BDI apps (Job Admin, Process Flow and Scheduler) that provides endpoints to manage system option parameters and credentials to be used by the BDI apps. The system options are stored in the BDI_SYSTEM_OPTIONS table.
REST Resource | HTTP Method | Description |
---|---|---|
/system-setting/system-options | GET | Gets all system options from BDI_SYSTEM_OPTIONS table |
/system-setting/system-options | PUT | Creates a system option in BDI_SYSTEM_OPTIONS table. Only admin user is allowed to perform this operation. |
/system-setting/system-options | POST | Updates a system option in BDI_SYSTEM_OPTIONS table. Only admin user is allowed to perform this operation. |
/system-setting/system-options/{key} | DELETE | Deletes a system option from BDI_SYSETM_OPTIONS table. Only admin user is allowed to perform this operation. |
/system-setting/system-options/{key} | GET | Gets a system option from BDI_SYSTEM_OPTIONS table |
/system-setting/system-logs | GET | Gets system logs |
/system-setting/system-seed-data | GET | Gets system seed data file |
/system-setting/system-seed-data/reset-after-bounce | POST | Resets system seed data after bounce |
/system-setting/system-seed-data/reset-now | POST | Resets system seed data now |
/system-setting/system-credentials | GET | Gets system credentials. Only admin user is allowed to perform this operation. |
/system-setting/system-credentials | PUT | Creates system credentials. Only admin user is allowed to perform this operation. |
/system-setting/system-credentials | POST | Updates system credentials. Only admin user is allowed to perform this operation. |
/system-setting/system-credentials/{key} | DELETE | Deletes system credentials. Only admin user is allowed to perform this operation. |
/system-setting/reset-cache | POST | Resets system option cache |
Here are examples of curl commands to list/create/update/delete system options for Process Flow. These commands can be run for Job Admin, and Scheduler as well. Create/update/delete commands can only be run by administrator.
This command creates "reimappJobAdminBaseUrlUserAlias" system option in Process Flow.
curl --user userId:password -i -X PUT -H "Content-Type:application/json" http://server:port/bdi-process-flow/resources/system-setting/system-options -d '{"key":"reimappJobAdminBaseUrlUserAlias" , "value":" GET_FROM_WALLET:GET_FROM_WALLET "}'
This command updates "reimappJobAdminBaseUrl" system option in Process Flow.
curl --user userId:password -i -X POST -H "Content-Type:application/json" http://server:port/bdi-process-flow/resources/system-setting/system-options -d '{"key":"reimappJobAdminBaseUrl" , "value":"http://server:port/reim-batch-job-admin"}'
Here are examples of curl commands to list/create/update/delete credentials for Process Flow. These commands can be run for Job Admin, and Scheduler as well. Create/update/delete commands can only be run by administrator.
This command creates a credential in Process Flow.
curl --user userId:password -i -X PUT -H "Content-Type:application/json" http://server:port/bdi-process-flow/resources/system-setting/system-credentials -d '{"userAlias":" reimappJobAdminBaseUrlUserAlias", "userName":"reimjobadmin" , "userPassword":"xyzxyz"}'
This command updates a credential in Process Flow.
curl --user userId:password -i -X POST -H "Content-Type:application/json" http://server:port/bdi-process-flow/resources/system-setting/system-credentials -d '{"userAlias":" reimappJobAdminBaseUrlUserAlias", "userName":"reimjobadmin" , "userPassword":"wwwqqqq"}'