From b0bb0f001c0b726ea84a61de7f7b5281b781bac3 Mon Sep 17 00:00:00 2001 From: Ray Lee Date: Fri, 22 Mar 2019 17:17:37 -0700 Subject: [PATCH] DRYD-195,DRYD-199: Add UI deployment configuration for bonsai and lhmc profiles. --- cspace-ui/build.xml | 208 +++++++++++++++++------- cspace-ui/cspace#bonsai/WEB-INF/web.xml | 23 +++ cspace-ui/cspace#bonsai/index.html | 27 +++ cspace-ui/cspace#lhmc/WEB-INF/web.xml | 23 +++ cspace-ui/cspace#lhmc/index.html | 27 +++ 5 files changed, 246 insertions(+), 62 deletions(-) create mode 100644 cspace-ui/cspace#bonsai/WEB-INF/web.xml create mode 100644 cspace-ui/cspace#bonsai/index.html create mode 100644 cspace-ui/cspace#lhmc/WEB-INF/web.xml create mode 100644 cspace-ui/cspace#lhmc/index.html diff --git a/cspace-ui/build.xml b/cspace-ui/build.xml index 4312fcaa0..5d242bd5a 100644 --- a/cspace-ui/build.xml +++ b/cspace-ui/build.xml @@ -2,14 +2,14 @@ CollectionSpace UI Component build - + - + - + The value of primary.profile.plugin.name is ${primary.profile.plugin.name} - + - + - + @@ -72,7 +72,7 @@ - + - + - + - + - + @@ -120,24 +120,24 @@ - + - - + + - + - + - + -o ${primary.profile.plugin.js} --fail --insecure --remote-name --location https://unpkg.com/${primary.profile.plugin.package}@${primary.profile.plugin.version}/dist/${primary.profile.plugin.name}.min.js @@ -146,7 +146,7 @@ - + @@ -154,18 +154,18 @@ - + - - - + + + - - + + @@ -175,55 +175,55 @@ - + - + - + - + Downloading from https://unpkg.com/cspace-ui@${cspace.ui.version}/dist/${cspace.ui.webapp.name}.min.js - + - + - + - - + + - + - + - + - + @@ -243,7 +243,7 @@ - + @@ -252,7 +252,7 @@ - + @@ -276,14 +276,14 @@ - + - + @@ -292,19 +292,59 @@ - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -316,14 +356,14 @@ - + - + @@ -332,19 +372,59 @@ - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -356,14 +436,14 @@ - + - + @@ -372,13 +452,13 @@ - + - + @@ -386,33 +466,37 @@ + General deploy target + --> - + + + - - + + - + + + - + diff --git a/cspace-ui/cspace#bonsai/WEB-INF/web.xml b/cspace-ui/cspace#bonsai/WEB-INF/web.xml new file mode 100644 index 000000000..b476587bd --- /dev/null +++ b/cspace-ui/cspace#bonsai/WEB-INF/web.xml @@ -0,0 +1,23 @@ + + + + FallbackResourceFilter + org.collectionspace.services.common.filter.FallbackResourceFilter + + + FallbackResourceFilter + /* + + + ExpiresFilter + org.apache.catalina.filters.ExpiresFilter + + ExpiresDefault + access plus 12 hours + + + + ExpiresFilter + /* + + \ No newline at end of file diff --git a/cspace-ui/cspace#bonsai/index.html b/cspace-ui/cspace#bonsai/index.html new file mode 100644 index 000000000..71fe0bcab --- /dev/null +++ b/cspace-ui/cspace#bonsai/index.html @@ -0,0 +1,27 @@ + + + + + + +
+ + + + + diff --git a/cspace-ui/cspace#lhmc/WEB-INF/web.xml b/cspace-ui/cspace#lhmc/WEB-INF/web.xml new file mode 100644 index 000000000..b476587bd --- /dev/null +++ b/cspace-ui/cspace#lhmc/WEB-INF/web.xml @@ -0,0 +1,23 @@ + + + + FallbackResourceFilter + org.collectionspace.services.common.filter.FallbackResourceFilter + + + FallbackResourceFilter + /* + + + ExpiresFilter + org.apache.catalina.filters.ExpiresFilter + + ExpiresDefault + access plus 12 hours + + + + ExpiresFilter + /* + + \ No newline at end of file diff --git a/cspace-ui/cspace#lhmc/index.html b/cspace-ui/cspace#lhmc/index.html new file mode 100644 index 000000000..0de8c1c17 --- /dev/null +++ b/cspace-ui/cspace#lhmc/index.html @@ -0,0 +1,27 @@ + + + + + + +
+ + + + + -- 2.47.3