corda/node/src
Adel El-Beik c11eb382ce
ENT-6588 Restrict database operations platform flag (#7053) (#7073) (#7074) (#7076)
* 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.

Co-authored-by: Dan Newton <dan.newton@r3.com>
2022-02-18 09:42:59 +00:00
..
integration-test resolve merge conflicts 2021-04-26 11:35:17 +01:00
integration-test-slow/kotlin/net/corda INFRA-504 Change to use an out of process node (#6538) 2020-10-12 17:00:39 +01:00
main ENT-6588 Restrict database operations platform flag (#7053) (#7073) (#7074) (#7076) 2022-02-18 09:42:59 +00:00
test Merge remote-tracking branch 'origin/release/os/4.4' into adel/merge-from-4.4-19-Feb-21 2021-02-19 13:55:04 +00:00