Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
fatihpense
Active Contributor
2,697
If you want to track your packages in Git or have regular backups, CPISync provides the easiest, structured & automated way to achieve your goal. It comes under 10 MB and without any dependencies.

Update 2021-02-06: v0.2.0 here with changed config rules, new features, and bug fixes. You can check the changelog here.

 


CPI Sync - It is raining packages and artifacts!



Quick Setup & Start



  1. Download the latest release for Windows or Linux:


https://github.com/pizug/cpi-sync/releases/latest

  1. Create an empty folder & put cpisync.exe inside:





  1. Copy example configuration JSON and create "cpi-sync.json" file. Change the fields accordingly, and don't worry about making mistakes! CPI Sync will validate the config file and give helpful error messages.


{
"cpisync": "0.2.0",

"tenant": {
"management_host": "change-tmn.hci.eu1change.hana.ondemand.com",
"credential": {
"s_user": {
"username": "S000change",
"password_environment_variable": "CPI_PASSWORD"
}
}
},
"packages": {
"filter_rules": [
{ "type": "single", "id": "TrainingPackage" },
{ "type": "single", "id": "eDocumentElectronicInvoicingforYou" },
{ "type": "single", "id": "MYPACKAGE" }
]
}
}


  1. Now you can run double-click on "cpisync.exe"





  1. It will ask for your S-user password interactively. Then, if everything is correct it will download the artifacts in packages you have specified.



Since this was the quick start, we went with S-user. For regular usage, I recommend setting up an OAuth client for your CPI management node("tmn").

If you need to run it via jobs, run it for CI/CD or want more configuration, you can find further instructions & documentation on GitHub:

https://github.com/pizug/cpi-sync

If you similar have use cases and ideas, you can contact me or create an issue on the repository!

Thanks for reading!
14 Comments
Labels in this area