Example map execution on ITX-RS using endpoint for V2 REST API
Prerequisites
- Import the example .zip projects on <WINDOWS_pack_install_dir>/financial_payments_plus_vn.n.n.n/UIProjectImports into Design Server. See pack release notes for complete list of Design Server projects.
- Create packages for each project including all maps and files.
- OPTIONAL: Clear out the URL of run maps, leaving only main maps with URL.
- Deploy package into ITX-RS server instance.
- Set config.yaml property rest.mode to fenced.
Below are examples of REST calls using curl commands to execute translation and compliance maps:
- CBPR+ Translation
- MT-MX
curl -X PUT "http://localhost:8080/tx-rest/v2/run/cbpr2800_mt103_framework?output=3;FILE;/data/maps/finplus/cbpr_plus/mt-mx/data/results.xml&output=4;FILE;/data/maps/finplus/cbpr_plus/mt-mx/data/audit_msg.json&return=log&audit_file=always" -H "accept: */*"
curl -X PUT "http://localhost:8080/tx-rest/v2/run/cbpr2810_mt202_framework?output=3;FILE;/data/maps/finplus/cbpr_plus/mt-mx/data/results.xml&output=4;FILE;/data/maps/finplus/cbpr_plus/mt-mx/data/audit_msg.json&return=log&audit_file=always" -H "accept: */*"
curl -X PUT "http://localhost:8080/tx-rest/v2/run/cbpr2811_mt205_framework?output=3;FILE;/data/maps/finplus/cbpr_plus/mt-mx/data/results.xml&output=4;FILE;/data/maps/finplus/cbpr_plus/mt-mx/data/audit_msg.json&return=log&audit_file=always" -H "accept: */*"
curl -X PUT "http://localhost:8080/tx-rest/v2/run/cbpr1500_mt9n0_framework?output=3;FILE;/data/maps/finplus/cbpr_plus/mt-mx/data/results.xml&output=4;FILE;/data/maps/finplus/cbpr_plus/mt-mx/data/audit_msg.json&return=log&audit_file=always" -H "accept: */*"
curl -X PUT "http://localhost:8080/tx-rest/v2/run/cbpr2820_mtn96_framework?output=3;FILE;/data/maps/finplus/cbpr_plus/mt-mx/data/results.xml&output=4;FILE;/data/maps/finplus/cbpr_plus/mt-mx/data/audit_msg.json&return=log&audit_file=always" -H "accept: */*"
curl -X PUT "http://localhost:8080/tx-rest/v2/run/cbpr2820_mtn96_framework?input=1;FILE;../data/MT296.inp&output=3;FILE;/data/maps/finplus/cbpr_plus/mt-mx/data/results.xml&output=4;FILE;/data/maps/finplus/cbpr_plus/mt-mx/data/audit_msg.json&return=log&audit_file=always" -H "accept: */*"
- MX-MT
curl -X PUT "http://localhost:8080/tx-rest/v2/run/cbpr2500_pacs002_framework?output=2;FILE;/data/maps/finplus/cbpr_plus/mx-mt/data/results.out&output=3;FILE;/data/maps/finplus/cbpr_plus/mx-mt/data/audit_msg.json&return=log&audit_file=always" -H "accept: */*"
curl -X PUT "http://localhost:8080/tx-rest/v2/run/cbpr2700_pacs008_framework?output=2;FILE;/data/maps/finplus/cbpr_plus/mx-mt/data/results.out&output=3;FILE;/data/maps/finplus/cbpr_plus/mx-mt/data/audit_msg.json&return=log&audit_file=always" -H "accept: */*"
curl -X PUT "http://localhost:8080/tx-rest/v2/run/cbpr2710_pacs009_mt202_framework?output=2;FILE;/data/maps/finplus/cbpr_plus/mx-mt/data/results.out&output=3;FILE;/data/maps/finplus/cbpr_plus/mx-mt/data/audit_msg.json&return=log&audit_file=always" -H "accept: */*"
curl -X PUT "http://localhost:8080/tx-rest/v2/run/cbpr2724_pacs009_mt205_framework?output=2;FILE;/data/maps/finplus/cbpr_plus/mx-mt/data/results.out&output=3;FILE;/data/maps/finplus/cbpr_plus/mx-mt/data/audit_msg.json&return=log&audit_file=always" -H "accept: */*"
curl -X PUT "http://localhost:8080/tx-rest/v2/run/cbpr2520_camt029_framework?output=2;FILE;/data/maps/finplus/cbpr_plus/mx-mt/data/results.out&output=3;FILE;/data/maps/finplus/cbpr_plus/mx-mt/data/audit_msg.json&return=log&audit_file=always" -H "accept: */*"
curl -X PUT "http://localhost:8080/tx-rest/v2/run/cbpr2510_camt054_framework?output=2;FILE;/data/maps/finplus/cbpr_plus/mx-mt/data/results.out&output=3;FILE;/data/maps/finplus/cbpr_plus/mx-mt/data/audit_msg.json&return=log&audit_file=always" -H "accept: */*"
curl -X PUT "http://localhost:8080/tx-rest/v2/run/cbpr2600_camt057_framework?output=2;FILE;/data/maps/finplus/cbpr_plus/mx-mt/data/results.out&output=3;FILE;/data/maps/finplus/cbpr_plus/mx-mt/data/audit_msg.json&return=log&audit_file=always" -H "accept: */*"
- MT-MX
- CBPR+ Validation
- MX
Extended
curl -X PUT "http://localhost:8080/tx-rest/v2/run/cbpr6000_val?output=1;FILE;/data/maps/finplus/cbpr_plus/mx_extended/data/results.xml&return=log&audit_file=always" -H "accept: */*"
- Schema
Only
curl -X PUT "http://localhost:8080/tx-rest/v2/run/cbpr6100_val?output=1;FILE;/data/maps/finplus/cbpr_plus/schema_only/data/results.xml&return=log&audit_file=always" -H "accept: */*"
- MX
Extended
- CHAPS ENH Validation
- MX
Extended
curl -X PUT "http://localhost:8080/tx-rest/v2/run/chen8000_val?output=1;FILE;/data/maps/finplus/chaps_enh/mx_extended/data/results.xml&return=log&audit_file=always" -H "accept: */*"
- Schema
Only
curl -X PUT "http://localhost:8080/tx-rest/v2/run/chen8200_val?output=1;FILE;/data/maps/finplus/chaps_enh/schema_only/data/results.xml&return=log&audit_file=always" -H "accept: */*"
- MX
Extended
- CHAPS L4L Validation
- MX
Extended
curl -X PUT "http://localhost:8080/tx-rest/v2/run/chlf8000_val?output=1;FILE;/data/maps/finplus/chaps_l4l/mx_extended/data/results.xml&return=log&audit_file=always" -H "accept: */*"
- Schema
Only
curl -X PUT "http://localhost:8080/tx-rest/v2/run/chlf8200_val?output=1;FILE;/data/maps/finplus/chaps_l4l/schema_only/data/results.xml&return=log&audit_file=always" -H "accept: */*"
- MX
Extended
- EBA E1S1 Validation
- MX
Extended
curl -X PUT "http://localhost:8080/tx-rest/v2/run/e1s17000_val?output=1;FILE;/data/maps/finplus/eba_e1s1/mx_extended/data/results.xml&return=log&audit_file=always" -H "accept: */*"
- Schema
Only
curl -X PUT "http://localhost:8080/tx-rest/v2/run/e1s17200_val?output=1;FILE;/data/maps/finplus/eba_e1s1/schema_only/data/results.xml&return=log&audit_file=always" -H "accept: */*"
- MX
Extended
- SWIFT UC Validation
- MX
Extended
curl -X PUT "http://localhost:8080/tx-rest/v2/run/swuc1000_val?output=1;FILE;/data/maps/finplus/swift_uc/mx_extended/data/results.xml&return=log&audit_file=always" -H "accept: */*"
- Schema
Only
curl -X PUT "http://localhost:8080/tx-rest/v2/run/swuc1500_val?output=1;FILE;/data/maps/finplus/swift_uc/schema_only/data/results.xml&return=log&audit_file=always" -H "accept: */*"
- MX
Extended
- SWIFT GPI Validation
- MX
Extended
curl -X PUT "http://localhost:8080/tx-rest/v2/run/swgp1000_val?output=1;FILE;/data/maps/finplus/swift_gpi/mx_extended/data/results.xml&return=log&audit_file=always" -H "accept: */*"
- Schema
Only
curl -X PUT "http://localhost:8080/tx-rest/v2/run/swgp1500_val?output=1;FILE;/data/maps/finplus/swift_gpi/schema_only/data/results.xml&return=log&audit_file=always" -H "accept: */*"
- MX
Extended
- T2 CLM Validation
- MX
Extended
curl -X PUT "http://localhost:8080/tx-rest/v2/run/t2cl9000_val?output=1;FILE;/data/maps/finplus/t2_clm/mx_extended/data/results.xml&return=log&audit_file=always" -H "accept: */*"
- Schema
Only
curl -X PUT "http://localhost:8080/tx-rest/v2/run/t2cl9500_val?output=1;FILE;/data/maps/finplus/t2_clm/schema_only/data/results.xml&return=log&audit_file=always" -H "accept: */*"
- MX
Extended
- T2 CoCo Validation
- MX
Extended
curl -X PUT "http://localhost:8080/tx-rest/v2/run/t2co9000_val?output=1;FILE;/data/maps/finplus/t2_coco/mx_extended/data/results.xml&return=log&audit_file=always" -H "accept: */*"
- Schema
Only
curl -X PUT "http://localhost:8080/tx-rest/v2/run/t2co9500_val?output=1;FILE;/data/maps/finplus/t2_coco/schema_only/data/results.xml&return=log&audit_file=always" -H "accept: */*"
- MX
Extended
- T2 RTGS Validation
- MX
Extended
curl -X PUT "http://localhost:8080/tx-rest/v2/run/t2rt9000_val?output=1;FILE;/data/maps/finplus/t2_rtgs/mx_extended/data/results.xml&return=log&audit_file=always" -H "accept: */*"
- Schema
Only
curl -X PUT "http://localhost:8080/tx-rest/v2/run/t2rt9500_val?output=1;FILE;/data/maps/finplus/t2_rtgs/schema_only/data/results.xml&return=log&audit_file=always" -H "accept: */*"
- MX
Extended
- NBOR ReGIS Validation
- Schema
Only
curl -X PUT "http://localhost:8080/tx-rest/v2/run/rgis1500_val?output=1;FILE;/data/maps/finplus/nbor_regis/schema_only/data/results.xml&return=log&audit_file=always" -H "accept: */*"
- Schema
Only
- SIC RTGS Validation
- Schema
Only
curl -X PUT "http://localhost:8080/tx-rest/v2/run/sirt3500_val?output=1;FILE;/data/maps/finplus/sic_rtgs/schema_only/data/results.xml&return=log&audit_file=always" -H "accept: */*"
- Schema
Only
- T2 Sec Validation
- Schema
Only
curl -X PUT "http://localhost:8080/tx-rest/v2/run/t2se9500_val?output=1;FILE;/data/maps/finplus/t2_sec/schema_only/data/results.xml&return=log&audit_file=always" -H "accept: */*"
curl -X PUT "http://localhost:8080/tx-rest/v2/run/t2se9600_val?output=1;FILE;/data/maps/finplus/t2_sec/schema_only/data/pyld_results.xml&return=log&audit_file=always" -H "accept: */*"
- Schema
Only