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

Enhance dynamic dictionary logging #8973

Closed
exalate-issue-sync bot opened this issue Mar 28, 2023 · 0 comments
Closed

Enhance dynamic dictionary logging #8973

exalate-issue-sync bot opened this issue Mar 28, 2023 · 0 comments

Comments

@exalate-issue-sync
Copy link

exalate-issue-sync bot commented Mar 28, 2023

Describe the bug :

Today when we try to transform data using jolt transformation, if there is duplicated key, no error are logged in the management api. Or the dictionaries are a keys values map. The goal of this task is to alert the user when there is duplicated keys in his data

To Reproduce :

Example here https://apim-3-20-x-console.team-apim.gravitee.dev/#!/environments/tar-uk/settings/dictionaries/zendesk5966 Steps to reproduce the behaviour:

  1. here create a dynamic dictionary with this datasource: https://raw.githubusercontent.com/zveljanoski/repo/main/file.json and this jolt spec:

[{ "operation": "shift", "spec": { "agapes": { "*":

{ "db": "[&1].key", "codeAcademieSierh": "[&1].value" }

} } }]

  1. the output is ok in https://jolt-demo.appspot.com/

Expected behaviour :

properties should be created.

Current behaviour :

nothing is created, no error in logs

Useful information :

Screenshot, video, logs, other supporting material

Desktop :

  • Environment: APIM 3.20.1

  • Please see Zendesk Support tab for further comments and attachments.

@exalate-issue-sync exalate-issue-sync bot changed the title Dynamic dictionary not working Enhance dynamic dictionary logging Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants