File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
operator/src/main/resources/scripts Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -583,6 +583,13 @@ function restoreDomainConfig() {
583
583
chmod u+x ${DOMAIN_HOME} /bin/* .sh ${DOMAIN_HOME} /* .sh || return 1
584
584
}
585
585
586
+ restoreZippedDbWallets () {
587
+ local count=$( find ${DOMAIN_HOME} /wlsdeploy/dbWallets/* /* .zip -type f 2> /dev/null | wc -l)
588
+ if [ " $count " -gt 0 ] ; then
589
+ find ${DOMAIN_HOME} /wlsdeploy/dbWallets/* /* .zip -type f | xargs -I % sh -c ' unzip -jo % -d $(dirname %) ; rm %'
590
+ fi
591
+ }
592
+
586
593
# Expands into the root directory the MII primordial domain, stored in one or more config maps
587
594
function restorePrimordialDomain() {
588
595
restoreEncodedTar " primordial_domainzip.secure" || return 1
@@ -1338,6 +1345,11 @@ function prepareMIIServer() {
1338
1345
# No need to have domainLibraries in domain home
1339
1346
rm -fr ${WLSDEPLOY_DOMAINLIB}
1340
1347
done
1348
+
1349
+ trace " Model-in-image: Restore dbWallets zip"
1350
+
1351
+ restoreZippedDbWallets || return 1
1352
+
1341
1353
return 0
1342
1354
}
1343
1355
You can’t perform that action at this time.
0 commit comments