mirror of
https://github.com/corda/corda.git
synced 2024-12-19 13:08:04 +00:00
b24ec9f680
* CORDA-939 Modify Api Scanner to check api for internal exposures (#2510) * Update check api changes to look for internals * Update several more uses of internal * Make check-api-changes script filter out internal class usages * Make CordaClock part of API * Update api-current.txt * Remove exclusion of nodeapi.internal * Remove access to CordaPersistence from public api * Don't expose DB Connection from StartedMockNode and remove unnecessary transaction from CustomVaultQueryTest * Make internal tests that use need db access use InternalMockNetwork * Make test certificates internal * Address further review comments * Revert some accidental changes to api-current.txt * Address Shams' review comments * Update Api Scanner to filter out CordaInternal attribute * Update api-current.txt * Remove superfluous brackets * Add transaction to StartedMockNode * More leaky transaction fixes # Conflicts: # .ci/api-current.txt # node-api/src/test/kotlin/net/corda/nodeapi/internal/AttachmentsClassLoaderStaticContractTests.kt # node-api/src/test/kotlin/net/corda/nodeapi/internal/AttachmentsClassLoaderTests.kt # node/src/integration-test/kotlin/net/corda/node/services/AttachmentLoadingTests.kt # node/src/test/kotlin/net/corda/node/internal/cordapp/CordappProviderImplTests.kt # testing/node-driver/src/main/kotlin/net/corda/testing/node/internal/InternalMockNetwork.kt # testing/test-utils/src/main/kotlin/net/corda/testing/internal/MockCordappConfigProvider.kt # testing/test-utils/src/main/kotlin/net/corda/testing/internal/MockCordappProvider.kt * Bump gradle plugins version * One last internal exposure * Update constants.properties * Fix api-current * Address mikes review comments |
||
---|---|---|
.. | ||
dependency-checker | ||
api-current.txt | ||
check-api-changes.sh | ||
README.md |
!! DO NOT MODIFY THE API FILE IN THIS DIRECTORY !!
The api-current.txt
file contains a summary of Corda's current public APIs,
as generated by the api-scanner
Gradle plugin. (See here for a detailed description of this plugin.) It will be regenerated and the copy in this repository updated by the Release Manager with
each new Corda release. It will not be modified otherwise except under special circumstances that will require extra approval.
Deleting or changing the existing Corda APIs listed in api-current.txt
may
break developers' CorDapps in the next Corda release! Please remember that we
have committed to API Stability for CorDapps.