corda/node-api-tests
Dan Newton fa739fc467
ENT-6588 Restrict database operations platform flag (#7053)
* ENT-6588 Restrict database operations platform flag

Put the restricting of database operations in `RestrictedConnection` and
`RestrictedEntityManager` behind a platform version flag.

`RESTRICTED_DATABASE_OPERATIONS = 7` was added to signify this.

If the version is less than 7, then the database operations will not be
restricted. A warning is logged to indicate that they are using
potentially dangerous methods.

If the version is 7 or greater, then the database operations are
restricted and throw an error if called.
2022-02-08 10:06:44 +00:00
..
src/test ENT-6588 Restrict database operations platform flag (#7053) 2022-02-08 10:06:44 +00:00
build.gradle CORDA-3569 - Add RestrictedConnection and more blocked methods to RestrictedEntityManager (#6129) 2020-04-21 14:39:41 +01:00