Skip to content

Commit 92db544

Browse files
author
Bill Miller
committed
Updated per Pull Request comments.
1 parent 90a523f commit 92db544

File tree

4 files changed

+7
-18
lines changed

4 files changed

+7
-18
lines changed

examples/redaction-ruleset-project/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ mlSchemasPath).
55
Note that in order for this to work, the content-database.json file must specify the schema
66
database that it's associated with. And in most cases, you'll want your own schemas database - not the default Schemas one - so schemas-database.json can be used to create own with a name based on mlAppName.
77

8-
Within each folder containing one or more Redaction Rulesets, you must provide a **collecitons.properties** and **permissions.properties** file.
9-
These files contain the definitions for the applicable collections to be applied to the rulesets as well as the document permissions.
8+
Within each folder containing one or more Redaction Rulesets, you must provide a **collections.properties** and (optionally) a **permissions.properties** file.
9+
These files contain the definitions for the applicable collections to be applied to the rulesets as well as the document permissions (if included).
1010

1111
***Note***: Rulesets must have a .json or .xml file extension.
1212

13-
See [Specifying collections and permissions](https://github.com/marklogic-community/ml-javaclient-util/wiki/Loading-files#specifying-collections-and-permissions) for information on how to appliy the collections and permission when the rulesets are loaded
13+
See [Specifying collections and permissions](https://github.com/marklogic-community/ml-javaclient-util/wiki/Loading-files#specifying-collections-and-permissions) for information on how to apply the collections and permission when the rulesets are loaded
1414

1515
See [Redacting Document Content](http://docs.marklogic.com/guide/app-dev/redaction) for more information on redacting content

examples/redaction-ruleset-project/build.gradle

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ buildscript {
55
maven { url "http://developer.marklogic.com/maven2/" }
66
}
77
dependencies {
8-
//Needed for CorbTask to dynamicaly generate properties from CORB Options class
8+
//Needed for CorbTask below
99
classpath 'com.marklogic:marklogic-corb:2.3.2'
1010
}
1111
}
@@ -22,27 +22,21 @@ repositories {
2222
}
2323

2424
configurations {
25-
// This configuration captures the dependencies for running corb (Content Reprocessing in Bulk).
26-
// This is only needed if you want to run corb via Gradle tasks.
27-
// If you do, using com.marklogic.gradle.task.CorbTask is a useful starting point, as shown below.
25+
// Needed to run corb task below.
2826
corb
2927
}
30-
3128
dependencies {
3229
// required to run CoRB2
3330
corb 'com.marklogic:marklogic-corb:2.3.2'
3431
// optional
35-
//corb 'org.jasypt:jasypt:1.9.2' // would be necessary to leverage JasyptDecrypter
3632
}
37-
3833
/*
3934
* ml-gradle adds an instance of com.marklogic.appdeployer.AppConfig to the Gradle project under the key "mlAppConfig".
4035
* This instance can be modified to affect the behavior of ml-gradle.
4136
*/
4237
ext {
43-
// mlAppConfig is an instance of com.marklogic.appdeployer.AppConfig
4438
mlAppConfig {
45-
// XCC URL for running corb task below and for creating triggers on pre-8.0-4 builds of MarkLogic
39+
// XCC URL for running corb task below
4640
contentXccUrl = "xcc://${mlUsername}:${mlPassword}@${mlHost}:${mlRestPort}"
4741
}
4842
}

examples/redaction-ruleset-project/src/main/ml-schemas/redactionRules/collections.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#Add one or more collecitons to add the ruleset to (comma separated)
1+
#Add one or more collections to add the ruleset to (comma separated)
22
# Example: file.json=collection1,collection2
33

44
ssn.json=security-rules,pii-rules

examples/redaction-ruleset-project/src/main/ml-schemas/redactionRules/permissions.properties

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)