3. Uploading Open Integration Configuration Files

After you modify the configuration files, upload the files to the SCM container to synchronize with the cluster and obtain the container path. This ensures that the modified configuration is available for deployment. You can upload the configuration files to the SCM container using the /syncutilities/upload API:

  • Method: POST
  • Endpoint: /syncutilities/upload
  • Description: Uploads the modified configuration files, Siebel KeyStore, Siebel TrustStore, and so on to the SCM container and returns the container path.
  • Sample API call request:
    POST https://<SCM_instance_IP>:<port_num>/scm/api/v1.0/syncutilities/upload
    Authorization: Basic Auth
    Content-Type: multipart/form-data
    Form: file[] /path/to/config.json
    Form: file[] /path/to/profile.json
    Form: file[] /path/to/siebelkeystore.jks
    Form: file[] /path/to/siebeltruststore.jks
  • Sample API call response:
    {
       "data": {
          "rejected_files": [],
          "sync_id": "SCM_FileSync_2025_05_23_05_46_20_FW6G8N",
          "synced_files": [
             "/home/opc/syncUtility/SCM_FileSync_2025_05_23_05_46_20_FW6G8N/keystore_custom.txt",
             "/home/opc/syncUtility/SCM_FileSync_2025_05_23_05_46_20_FW6G8N/SCM_FileSync_2025_05_23_05_46_20_FW6G8N_synclogs.txt"
             ]
          },
       "message": "All files successfully synced.",
       "status": "success"
    }