05-01-2017 02:27 PM
At GameStop we are leveraging a custom solution/pipeline to handle code migration and deployment from one environment to another. We are using Metadata List snap to list projects, accounts, pipelines, tasks from source project then using Metadata Create snap to recreate them in target environment (by specifying org/projectspace/project information). This solution seems to be working fine for all asset types: Account, Pipeline, Task. However it is failing for asset type PROJECT where I am always getting the same error: Error creating asset /GameStop/projects/TargetProject, Reason: Absolute path required when I try to create a any new project.
Did anyone stumble upon that error before: Absolute path required ?? I know that I am using the right absolute path correctly because it is working fine for other asset type: Account, Task, Pipelines. So why I cannot use it to create target project?
05-08-2017 02:11 PM
Thank you but this is different than the GitHub integration. Alex was also stuck on this one creating a project at runtime but the issue is resolved now. I worked with Sriram on it. I just made one suggestion for Sriram to fix the existing SnapLogic documentation ( http://doc.snaplogic.com/com-snaplogic-snaps-snaplogic-create_1 ) for the absolute path to remove the leading forward slash ‘/’ from the example because it will throw error when it is there when attempting to create a project.
05-08-2017 01:14 PM
We have a working solution for this task of creating a new “Project” asset using the “SnapLogic Create” snap:
Ensure that the user account attempting to complete this task has “Full-access” to “/” to be able to create a new project asset
Create a pipeline with the following sequence of snaps:
“SnapLogic Read” > “SnapLogic Create”
SnapLogic Read: Read from an existing project path
SnapLogic Create: Specify the target/actual project to be created. [ // ]
05-10-2017 04:27 PM
Hi Mohamad,
I am facing same issue when I try to automate project creation. What was the solution provided by SnapLogic team? Do I need to submit a ticket?
05-10-2017 04:41 PM
Attached is a sample pipeline that should be helpful for creating “Projects” using the SnapLogic Metadata snaps.
SnapLogic Read: Read from an existing project path
SnapLogic Create: Specify the target project to be created. Example: org/project_space_name/project_name
05-10-2017 04:47 PM
@sriram In my case I am trying to create new project on provided org. I am just using SnapLogic create snap not read snap.