Skip to content

Commit

Permalink
Merge branch 'feature/shibui-2393' of bitbucket.org:unicon/shib-idp-u…
Browse files Browse the repository at this point in the history
…i into feature/shibui-2393
  • Loading branch information
Bill Smith committed Dec 1, 2022
2 parents 5a7733d + e9ea0af commit 893f006
Show file tree
Hide file tree
Showing 5 changed files with 473 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -420,3 +420,4 @@ beacon/spring/out
/testbed/authentication/shibui/saml-signing-cert.pem
/testbed/authentication/shibui/samlKeystore.jks
/testbed/authentication/shibui/sp-metadata.xml
/backend/src/main/resources/application.yml
14 changes: 14 additions & 0 deletions backend/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,20 @@ processResources.dependsOn(':ui:npm_run_buildProd')

jar {
enabled = true
dependsOn 'copyApplicationYAML'
}

task copyApplicationYAML(type: Copy) {
if ( "${project.'use.release.app.yml'}".toBoolean() ) {
from 'src/main/app-resources/release.yml'
into 'src/main/resources'
rename { 'application.yml' }
}
else {
from 'src/main/app-resources/default.yml'
into 'src/main/resources'
rename { 'application.yml' }
}
}

//Integration of the frontend and backend into the build to have all of the UI resources available in the app's executable war
Expand Down
File renamed without changes.
Loading

0 comments on commit 893f006

Please sign in to comment.