โ08-02-2017 11:29 PM
Hello SL community!!
Coming from a typical SOA/ESB background and working on tools like TIBCO Businessworks, Webmethods, etc. I was wondering if we have a way of using any code repository tool (Github, etc.) to store our Projects and other artifacts.
I understand we have a intuitive Import/Export capabilities, this is manual and is a explicit activity to be performed by a developer.
I was wondering:
if we have anything (or is there a possibility) to integrate SL and GitHub.
This should ensure that the Project and its assets gets checked-in into the GitHub repo without us doing any manual import-export.
And that this can be further use to move code from one environment to another (code migration).
I am new to the SL world, but already finding the community really helpful ๐
All response would be of help ๐
Thank you!
Sudhendu
โ07-09-2021 02:52 AM
Hello @bhavin.patel I tried to using above attached slps but I keep on getting below error.
"REST API service endpoint returned error result: status code = 404, reason phrase = Not Found, refer to the error_entity field in the error view document for more details
โerror_entityโ:
"{โmessageโ:โNot Foundโ,โdocumentation_urlโ:"Repositories - GitHub Docs
{
โerrorโ:
โREST API service endpoint returned error result: status code = 404, reason phrase = Not Foundโ
Steps I followed below :
Even from POST MAN app I also tried but no luckโฆ
Appreciate your help here.
and tell me one more thing how differfent is if I want to do in gitlab instead github.
if you have any sample code for gitlab that will be very helpful for me.
โ07-13-2021 02:51 PM
@subhash.a.chandra Bhavin is no longer in the Community. Hopefully someone else can assist you.
โ07-16-2021 01:48 AM
Hello @dmiller I got the solution by myself and able to integrate Gitlab and Github both from SnapLogic.
Thanks for your info.
โ08-03-2021 01:45 PM
See also
Additional links -
โ10-23-2017 12:14 PM
So the solution provided here is just an asset โcopyโ.
Meaning that it simply copies the original asset from the source place and copy it to the destination place.
The github is just a place to store the location of the original assets.
The promotion pipeline will read the files in github to get the location of the original asset and move(copy) it to destination location.
The problem of this is that, the files store in Github is not being used as source code. If I remove the asset from the source location, then the promotion pipeline will not be able to migrate the asset from source to destination as its doing a copy and the asset is missing.
Is there a way to take the files store in github as true source code and import this source code to a new org? In this case, even someone removes all the assets from source org, by importing the files in Git, we should still be able to migrate all the assets into destination org.
Thanks