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.
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:
dlp-plugins/src/main/java/io/cdap/plugin/dlp/SensitiveRecordRedaction.java
Line 164 in bb9aef9
This produces a situation where I'm able to use default templates only, or would need to redefine my inspection templates in Project_A.