cancel
Showing results for 
Search instead for 
Did you mean: 

Using Github as a code repository for SnapLogic artifacts

sudhendu
New Contributor II

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:

  1. 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.

  2. 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

29 REPLIES 29

vipulk10
New Contributor III

Hi Bhavin , thanks for this project really helped us a lot. h ad a doubt ,that will this project work fine in case of pipelines having nested pipelines. ie from github to sl .

Am developing a pipeline which can be used for Check out, check in to GIT and migrating the pipelines/task/account from GIT(not GIT HUB) to Snaplogic Prod org. I have created a Service account in snaplogic. I need to run the migration pipelines using the service account, so that any pipelines/task/account created in production snaplogic org is owned by service account user. How do I achieve that ?

Mostly likely I will call migration pipeline via triggered task from ansible/Jenkins pipelines.

How are you all migrating accounts from GIT. The account config will be different for dev/qa/prod

Hi @Bhavin,

The pipeline is really helpful and I managed to do a quick check.
However when I used the pipeline to import projects from Github to SL, I can see the assets being appended by extra values like,

Try Snaps-fce2f794-2e8e-48aa-90de-2cb1e762cb81

Instead of
Try Snaps

image

Do you know any obvious reason for this?
Am I missing any configuration?

/Krupali

Check the file writer somewhere which is appending the string

Try Snaps-fce2f794-2e8e-48aa-90de-2cb1e762cb81

“Try Snaps” must be appended in the beginning in the expression.

If I am guessing, this is the

‘Try Snaps’ + pipe.ruuid

Let us know if you cannot find it.

Thank you for the reply.

The issue is been solved, the last snap had for each asset had ‘+ “-” + pipe.ruuid

like below,

_SL_Target_Proj + “/” + $property_map.info.label.value + “-” + pipe.ruuid

I removed that and it works as as expected. Thanks again.