kmiesse
8 years agoContributor
Hash Functionality
How can I hash a unique combination of string values to create a unique single value?
How can I hash a unique combination of string values to create a unique single value?
Hi ramaonline ,
Thank you for this valuable information. This is very usefull for me!
I just have one question regarding commiting from snaplogic to github. I found that there is not a public api method form snaplogic that gets the assets from a project and commits it to a branch or repository to github automatically.
Have you had any experience with this. I am now trying to investigate/implement a scheduled pipeline that gets all the assets (account,pipeline .slp file and tasks) from each project from a certain projects space and commits these assets to a certain branch or repository in Github.
So that I don't need to manually go to the Manager tab and click on the project and then on the option 'commit to github'.
What my conclusion for now is is that I get the assets from the public api from snaplogic and try to use also the api of Github to update its contect or upload it to github blobs. https://docs.github.com/en/rest/git/blobs?apiVersion=2022-11-28#create-a-blob
Thank you for your info already this helps me a lot.
Regards
Jens
I reviewed this internally. We have an enhancement request currently open to support commits for SnapLogic assets using the public API.
Thanks for the feedback JensDeveloper. I will research this and update here later this week.
Hello JensDeveloper
There is no target date for this feature yet. It is part of the current backlog. I will check internally, and update if I have additional details on the status.
Thanks
Hi ramaonline
Thank you for this! Very informative and we've used this in designing our own CI/CD process as well. Quick question -- with the Pull to the Prod Org mentioned above, does that only refer to "updated" assets or does it pull all assets within the repo/branch?
If it pulls all assets, how would you go about selecting which assets to deploy?
Thanks again!
The pull request would pull all assets. For merging assets selectively, you can create a separate branch with those assets and merge that branch to the target branch.