Forum Discussion
Thanks @robin, I haven’t had a chance to test the solution you provided but I’m sure it would have worked.
I went with a different route for my development so the concern I was having has been resolved.
XML Generator does intake dynamic values if they have been binded properly prior to it (using Aggregate or Group By), the only challenge I found was ingesting native html tags because <a href ="$URL">
wasn’t generating the desired output as the tags gets converted to snapLogic’s predefined symbols like < = <
,so on and so forth. Check these links for detailed explanation on tags conversion:
What I found and worked for me was defining the html format (if you’re trying to generate html files; could be any format you’re interested into) in the mapper itself/file writer and then let the format do its job.
Thanking @robin for his suggestions, time and help on this. Signing off from this thread.
- JensDeveloper2 years agoContributor II
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- ramaonline2 years agoAdmin
I reviewed this internally. We have an enhancement request currently open to support commits for SnapLogic assets using the public API.
- JensDeveloper2 years agoContributor II
- ramaonline2 years agoAdmin
Thanks for the feedback JensDeveloper. I will research this and update here later this week.
- ramaonline2 years agoAdmin
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!
- ramaonline2 years agoAdmin
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.
Related Content
- 2 years ago
- 2 years ago
- 2 years ago
- 11 months ago
- 2 years ago