Hi All,
Getting this error
- XYZ due [Not Found] after 1 attempt
this is my resolver.json file:
{
"schema": "iglu:com.snowplowanalytics.iglu/resolver-config/jsonschema/1-0-0",
"data": {
"cacheSize": 500,
"repositories": [
{
"name": "xyz Iglu Repo",
"priority": 0,
"vendorPrefixes": [
"au.com.xyz"
],
"connection": {
"http": {
"uri": "https://snowplow-schema-lphvsidewdq-uc.a.run.app"
}
}
}
]
}
}
The docker image was tagged into the cloud run job
along with the config
[both config and resolver were base64 encoded]
config.json:
{
"schema": "iglu:com.snowplowanalytics.snowplow/recovery_config/jsonschema/1-0-0",
"data": {
"iglu:com.snowplowanalytics.snowplow.badrows/schema_violations/jsonschema/2-0-0": [
{
"name":"ReplaceInBase64FieldInBody",
"conditions":[
{
"op": "Test",
"path":"$.payload.enriched.page_title",
"value":{
"eq":"Budget 2023 Winners and losers"
}
}
],
"steps":[
{
"op":"Replace",
"path":"$.raw.parameters.cx.data.[?(@.schema=~iglu:au.com.xyz/metadata/jsonschema/1-0-7)].data.page.authors",
"match":"dwdq dwdqd",
"value":["dwdq dwdqd"]
}
]
},
{
"name": "PassThrough",
"conditions": [],
"steps": []
}
]
}
}
I was trying to convert the authors name which comes in as a string to an array.
Any help will be appreciated.
Thanks.