File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 6
6
7
7
const path = require ( 'path' ) ;
8
8
const fsPromises = require ( 'fs/promises' ) ;
9
+ const i18n = require ( "./i18next.config" ) ;
9
10
10
11
function getEntryTypes ( ) {
11
12
// lazy load to allow initialization
@@ -23,6 +24,12 @@ function getEntryTypes() {
23
24
extensions : [ 'ear' , 'war' ] ,
24
25
pathPrefix : 'wlsdeploy/applications/'
25
26
} ,
27
+ 'applicationDeploymentPlan' : {
28
+ name : i18n . t ( 'wdt-archiveType-applicationDeploymentPlan' ) ,
29
+ subtype : 'file' ,
30
+ extensions : [ 'xml' ] ,
31
+ pathPrefix : 'wlsdeploy/applications/'
32
+ } ,
26
33
'atpWallet' : {
27
34
name : i18n . t ( 'wdt-archiveType-atpWallet' ) ,
28
35
subtype : 'file' ,
@@ -40,6 +47,16 @@ function getEntryTypes() {
40
47
subtype : 'emptyDir' ,
41
48
pathPrefix : 'wlsdeploy/coherence/'
42
49
} ,
50
+ 'customFile' : {
51
+ name : i18n . t ( 'wdt-archiveType-customFile' ) ,
52
+ subtype : 'file' ,
53
+ pathPrefix : 'wlsdeploy/custom/'
54
+ } ,
55
+ 'customDirectory' : {
56
+ name : i18n . t ( 'wdt-archiveType-customDirectory' ) ,
57
+ subtype : 'dir' ,
58
+ pathPrefix : 'wlsdeploy/custom/'
59
+ } ,
43
60
'domainBin' : {
44
61
name : i18n . t ( 'wdt-archiveType-domainBin' ) ,
45
62
subtype : 'file' ,
Original file line number Diff line number Diff line change 331
331
"wdt-archiveType-opssWallet" : " OPSS Wallet" ,
332
332
"wdt-archiveType-applicationFile" : " Application File" ,
333
333
"wdt-archiveType-applicationDir" : " Application Directory" ,
334
+ "wdt-archiveType-applicationDeploymentPlan" : " Application Deployment Plan" ,
334
335
"wdt-archiveType-classpathLibrary" : " Classpath Library" ,
335
336
"wdt-archiveType-coherenceStore" : " Coherence Store Directory" ,
337
+ "wdt-archiveType-customFile" : " Custom File" ,
338
+ "wdt-archiveType-customDirectory" : " Custom Directory" ,
336
339
"wdt-archiveType-domainBin" : " Domain Script" ,
337
340
"wdt-archiveType-domainLibrary" : " Domain Library" ,
338
341
"wdt-archiveType-nodeManagerFile" : " Node Manager File" ,
You can’t perform that action at this time.
0 commit comments