Skip to content

Bug in configure uri in the new version of 0.19 lookup ui  #10436

@tarunparackal

Description

@tarunparackal

The lookup UI has been updated from 0.18 to 0.19 version. In the older version we could specify the json defenenition for the lookup . But in the later version lookup UI has been updated with the UI to specify each paramter .
Issue 1 :
With the new UI for type uri, it is not possible to specify the complete uri . only uri prefix and file regex can be configured.
Issue 2:
if the lookup is created in older version(0.18) and upgraded to new version , it is not possible to edit the uri. At the same time if we need to be change the uri to uriprefix then UI send the old uri and also the uriprefix .
A sample request object is given as below.
{
"version": "2020-09-25T11:43:27.056Z",
"lookupExtractorFactory": {
"type": "cachedNamespace",
"extractionNamespace": {
"type": "uri",
"namespaceParseSpec": {
"format": "csv",
"columns": ["key", "value"],
"keyColumn": "key",
"valueColumn": "value"
},
"uri": "file:/Users/apple/lookup.csv",
"uriPrefix": "file:/Users/apple/",
"fileRegex": "lookup.csv"
}
}
}

Affected Version

0.19

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions