I do not wanted to use object store and wanted to know is there any way to have file stored under src/main/resources in such a way that it survive application redeployment.
Right now we've deployed our application in CH2.0 with temp file under src/main/resources. It is running fine but when our application is redeploying our file stored previously is not available.
Note** We are not planning to use any third party services or OS v2 for this.
1 个回答
Manish Kumar Yadav (Hitachi Energy) Forum Ambassador
No, CloudHub 2.0 doesn't offer shared disk space that persists across application redeployments by default. The
/tmp directory gets wiped clean on redeployments.