Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use custom template in Project outside Data Fusion #28

Open
FridayPush opened this issue May 1, 2020 · 1 comment
Open

Unable to use custom template in Project outside Data Fusion #28

FridayPush opened this issue May 1, 2020 · 1 comment

Comments

@FridayPush
Copy link

Data Fusion is hosted in Project_A, the Inspection template in Project_B. I want to use the default service-account path, but tried setting the Credentials 'Project' field to Project_B doesn't work, and it says the template doesn't exist. I believe there's something happening with the GCP Util fetching the project id returning the host project 'Project_A', and not using the one I provided.

I also can't outright provide the full path to the template as the code templates the path for you:

String templateName = String.format("projects/%s/inspectTemplates/%s", config.getProject(), config.templateId);

This produces a situation where I'm able to use default templates only, or would need to redefine my inspection templates in Project_A.

@nitinmotgi
Copy link

nitinmotgi commented May 1, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants