Open VICT0RW0NG opened 1 year ago
Looks like the space in between the Security Groups
OU is likely the problem - its not being URI encoded before being passed to the Http request library.
URI encoding for these values will need to be done to fix this problem
Describe the bug We are trying to use Julie to manage the Kafka artifacts and RBAC rules for Confluent 7.1.1. About the RBAC setting in Confluent we are using User / Group Principle to set the rules for different artifacts (e.g, topic , connectors etc.). Once we execute the julie script, it throws Throws java.lang.IllegalArgumentException , suspect that we have some special characters has been set in the group principle shown in the reproduce section. After that we based on the API shown in the error log and perform API testing via postman , we can get the principle details.
To Reproduce Steps to reproduce the behavior:
docker run --network host -v /mnt/c/julie/foo_demo/production:/foo_demo purbon/kafka-topology-builder:4.4.1 julie-ops-cli.sh --clientConfig /foo_demo/project-config.properties --topology /foo_demo/topology.yaml --brokers hk01lconfbkr01vp.aswatson.net:9093,hk01lconfbkr02vp.aswatson.net:9093,hk01lconfbkr03vp.aswatson.net:9093
Expected behavior Expected that would not throws an error, we have tried to attempt the same API via postman, it can return successfully,
Screenshots Error throws in the Console
Postman
Runtime (please complete the following information): Julie version: 4.4.1 Docker