How can I set "audit-enabled":false
in MarkLogic at the time of deployment
in the groups.json file?
Asked
Active
Viewed 41 times
0

Mads Hansen
- 63,927
- 12
- 112
- 147

Harmanjot Singh
- 115
- 6
-
Are you using ml-gradle? or another method? – Mike Gardner Aug 17 '20 at 18:45
-
i am using ml-gradle. – Harmanjot Singh Aug 18 '20 at 05:23
1 Answers
1
You can write a custom task that makes a call to https://docs.marklogic.com/REST/PUT/manage/v2/groups/[id-or-name]/properties to modify the audit-enabled property, along with any other properties of the group that you want. See https://github.com/marklogic-community/ml-gradle/wiki/Writing-your-own-task for examples on how to write a custom task.

rjrudin
- 2,108
- 9
- 7