I'm looking for information on how to fully uninstall a cordapp from an enterprise corda node.
Remove a CorDapp Once you remove a contracts or flows CorDapp from your node, you will no longer be able to use the related states or flows. Note though, that a deleted contracts CorDapp may still be present in the attachments store, and may be downloaded again from another node as part of the verification of a transaction history.
To remove a CorDapp from your node:
Make sure that there are no running flows that use the to-be-deleted CorDapp, by draining your node. If the flow on your node is a result of responding to a flow from another node, the initator flow must be killed as well. Otherwise it will be stuck waiting for your node's response. Stop the Corda runtime of your node. Remove the CorDapp's jar file from the cordapps folder. Start the node.
I understand that this will prevent that cordapp from being accessible in the future, but it does not remove transactions associated with that cordapp from the vault and also does not roll back the migrations associated with any custom schemas defined within the cordapp.
I am specifically looking for best practices blow away anything and everything associated with a cordapp after I have removed the relevant jars from the cordapps
folder.