Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
zbateson committed Apr 2, 2020
1 parent 41c17c7 commit 228f4e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ A new format and features for the requirements xml file. See the [sample_projec
- ```<Column>``` ```Where``` attribute is now an element ```<where>``` under ```<column>```.
- ```<PrimaryKey>``` is now called ```<primary-key>```.
- ```<column>``` must have a ```<plan>``` or ```<plan-ref>``` below it. One or more ```<function>``` elements can exist below a ```<plan>``` (used to be ```<Function>``` under ```<Column>```).
- The ```<function>``` element now has ```name``` and ```type``` (to optionally specify return type) attributes. The ```name``` attribute refers to the fully-qualified name of the function (unless it's part of a class in a package defined under the top-level ```<autoresolve-classes>```, whereas before, the content of the ```<Function>``` tag specified the name of the function.
- The ```<function>``` element now has ```name``` and ```type``` (to optionally specify return type) attributes. The ```name``` attribute refers to the fully-qualified name of the function (unless it's part of a class in a package defined under the top-level ```<autoresolve-classes>```), whereas before, the content of the ```<Function>``` tag specified the name of the function.
- ```<Parameters><Parameter>``` no longer exists, instead ```<argument>``` tags specify an argument to be passed to a function. The ```<argument>``` tag exists directly under ```<function>```. A new attribute of the ```<argument>``` tag, ```pass-current-value``` passes the running value as the specified argument to the function. The running value for the first function in a series of functions is the columns value. Afterwords, it's the returned value from the call to the previous function.

CoreFunctions has been split into a few different classes, and its package has been moved. See the new classes here: [src/main/java/com/strider/datadefender/anonymizer/functions](src/main/java/com/strider/datadefender/anonymizer/functions). Some functions have been removed entirely, for example randomInt, because apache commons can be used instead with RandomUtils.nextInt.
Expand Down

0 comments on commit 228f4e7

Please sign in to comment.