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

Template metadata file needs to be updated as to be valid json #12

Open
ronaldboodram opened this issue Nov 1, 2018 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@ronaldboodram
Copy link

please update the tempalte_metadata file to:

{
"name": "dlp-tokenization",
"description": "DLP Data Tokenization Pipeline",
"parameters": [{
"name": "inputFile",
"label": "GCS File Path to Tokenize",
"help_text": "gs://MyBucket/object",
"regexes": ["^gs://[^\n\r]+$"],
"is_optional": false
},
{
"name": "outputFile",
"label": "Location of GCS path where Tokenized Data will be written",
"help_text": "Path and filename prefix for writing output files. ex: gs://MyBucket/object",
"regexes": ["^gs://[^\n\r]+$"],
"is_optional": false
},
{
"name": "tableSpec",
"label": "BQ Table Spec ",
"help_text": "<project_id>:<dataset_id>.<table_id>",
"is_optional": false
},
{
"name": "project",
"label": "Name of the Host Project",
"help_text": "project_id",
"is_optional": true
},
{
"name": "batchSize",
"label": "batch size in number of rows",
"help_text": "4700, 200",
"is_optional": false
},
{
"name": "pollingInterval",
"label": "batch size in number of rows",
"help_text": "in seconds: 10, 60",
"is_optional": false
},
{
"name": "inspectTemplateName",
"label": "inspect template name",
"help_text": "null, projects/{dlp_prject_name}/inspectTemplates/{name}",
"is_optional": true
},
{
"name": "deidentifyTemplateName",
"label": "deidentify template name",
"help_text": "null, projects/{dlp_prject_name}/deidentifyTemplates/{name}",
"is_optional": false
},
{
"name": "csek",
"label": "Client Supplied Encryption key (KMS Wrapped)",
"help_text": "CiQAbkxly/0bahEV7baFtLUmYF5pSx0+qdeleHOZmIPBVc7cnRISSQD7JBqXna11NmNa9NzAQuYBnUNnYZ81xAoUYtBFWqzHGklPMRlDgSxGxgzhqQB4zesAboXaHuTBEZM/4VD/C8HsicP6Boh6XXk=",
"is_optional": true
},
{
"name": "csekhash",
"label": "Hash of CSEK",
"help_text": "lzjD1iV85ZqaF/C+uGrVWsLq2bdN7nGIruTjT/mgNIE=",
"is_optional": true
},
{
"name": "fileDecryptKeyName",
"label": "Key Ring For Input File Encryption",
"help_text": "gcs-bucket-encryption",
"is_optional": true
},
{
"name": "fileDecryptKey",
"label": "Key Name For Input File Encryption",
"help_text": "data-file-key",
"is_optional": true
},
{
"name": "workerMachineType",
"label": "Machine Type",
"help_text": "n1-highmem-4",
"is_optional": true
},
{
"name": "numWorkers",
"label": "Number of Workers",
"help_text": "number 1",
"is_optional": true
}
]

}

@santhh santhh self-assigned this Nov 2, 2018
@santhh santhh added the bug Something isn't working label Nov 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants