Skip to content

Commit 92dd0e4

Browse files
committed
Prepend "config" to some archive paths for WDT 4.0 compliance
1 parent 77fc4bf commit 92dd0e4

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

electron/app/js/wdtArchive.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* @license
3-
* Copyright (c) 2021, 2023, Oracle and/or its affiliates.
3+
* Copyright (c) 2021, 2024, Oracle and/or its affiliates.
44
* Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
55
*/
66

@@ -60,7 +60,7 @@ function getEntryTypes() {
6060
extensions: ['xml'],
6161
fileLabel: i18n.t('wdt-archiveType-coherenceConfig-fileLabel'),
6262
fileHelp: i18n.t('wdt-archiveType-coherenceConfig-fileHelp'),
63-
pathPrefix: 'wlsdeploy/coherence/'
63+
pathPrefix: 'config/wlsdeploy/coherence/'
6464
},
6565
'coherencePersistenceDirectory': {
6666
name: i18n.t('wdt-archiveType-coherenceStore'),
@@ -85,7 +85,7 @@ function getEntryTypes() {
8585
fileHelp: i18n.t('wdt-archiveType-custom-fileHelp'),
8686
pathLabel: i18n.t('wdt-archiveType-custom-pathLabel'),
8787
pathHelp: i18n.t('wdt-archiveType-custom-pathHelp'),
88-
pathPrefix: 'wlsdeploy/custom/'
88+
pathPrefix: 'config/wlsdeploy/custom/'
8989
},
9090
'databaseWallet': {
9191
name: i18n.t('wdt-archiveType-databaseWallet'),
@@ -96,7 +96,7 @@ function getEntryTypes() {
9696
dirHelp: i18n.t('wdt-archiveType-databaseWallet-dirHelp'),
9797
fileLabel: i18n.t('wdt-archiveType-databaseWallet-fileLabel'),
9898
fileHelp: i18n.t('wdt-archiveType-databaseWallet-fileHelp'),
99-
pathPrefix: 'wlsdeploy/dbWallets/'
99+
pathPrefix: 'config/wlsdeploy/dbWallets/'
100100
},
101101
'domainBin': {
102102
name: i18n.t('wdt-archiveType-domainBin'),
@@ -128,22 +128,22 @@ function getEntryTypes() {
128128
extensions: ['properties'],
129129
fileLabel: i18n.t('wdt-archiveType-jmsForeignServerBinding-fileLabel'),
130130
fileHelp: i18n.t('wdt-archiveType-jmsForeignServerBinding-fileHelp'),
131-
pathPrefix: 'wlsdeploy/jms/foreignServer/'
131+
pathPrefix: 'config/wlsdeploy/jms/foreignServer/'
132132
},
133133
'mimeMapping': {
134134
name: i18n.t('wdt-archiveType-mimeMapping'),
135135
subtype: 'file',
136136
extensions: ['properties'],
137137
fileLabel: i18n.t('wdt-archiveType-mimeMapping-fileLabel'),
138138
fileHelp: i18n.t('wdt-archiveType-mimeMapping-fileHelp'),
139-
pathPrefix: 'wlsdeploy/config/'
139+
pathPrefix: 'config/wlsdeploy/config/'
140140
},
141141
'nodeManagerKeystore': {
142142
name: i18n.t('wdt-archiveType-nodeManagerKeystore'),
143143
subtype: 'file',
144144
fileLabel: i18n.t('wdt-archiveType-nodeManagerKeystore-fileLabel'),
145145
fileHelp: i18n.t('wdt-archiveType-nodeManagerKeystore-fileHelp'),
146-
pathPrefix: 'wlsdeploy/nodeManager/'
146+
pathPrefix: 'config/wlsdeploy/nodeManager/'
147147
},
148148
'opssWallet': {
149149
name: i18n.t('wdt-archiveType-opssWallet'),
@@ -166,7 +166,7 @@ function getEntryTypes() {
166166
subtype: 'file',
167167
fileLabel: i18n.t('wdt-archiveType-script-fileLabel'),
168168
fileHelp: i18n.t('wdt-archiveType-script-fileHelp'),
169-
pathPrefix: 'wlsdeploy/scripts/'
169+
pathPrefix: 'config/wlsdeploy/scripts/'
170170
},
171171
'serverKeystore': {
172172
name: i18n.t('wdt-archiveType-serverKeystore'),
@@ -175,7 +175,7 @@ function getEntryTypes() {
175175
segregatedHelp: i18n.t('wdt-archiveType-serverSegregationHelp'),
176176
fileLabel: i18n.t('wdt-archiveType-serverKeystore-fileLabel'),
177177
fileHelp: i18n.t('wdt-archiveType-serverKeystore-fileHelp'),
178-
pathPrefix: 'wlsdeploy/servers/'
178+
pathPrefix: 'config/wlsdeploy/servers/'
179179
},
180180
'sharedLibrary': {
181181
name: i18n.t('wdt-archiveType-sharedLibrary'),

0 commit comments

Comments
 (0)