Open kkingavio opened 1 year ago
Also, some tips to figure out the policy json, (or more exmples) would be nice in the readme.
Tim G recommended looking chrome browser network traffic for the json sent when applying the policy manually... it was a great tip, although the naming is slightly different...
Currently the DSL only allows for BasicAuth as an option for the client ID enforcement policy. There is an api/model class for the custom headers option, however, DSL fails to recognize it, so in muleDeploy.groovy, you have to specify it as a generic policy
Current: ` policies {
Expected:
policies { clientEnforcementPolicyCustom { version '1.2.3' } }