Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Als 5514 (#124) * ALS-5427: Updating Introspection token (#117) * token needs to be updated if persistent. * need to update the DML persisting via snapshot script to include upserting updated tokens. * should upsert in pic-sure-schema.sql as well to get ready to remove DML from DDL. * both the resources-registration.sql and pic-sure-schema.sql will be eliminated by using proper migration scripts. --------- Co-authored-by: Tom <[email protected]> * Add XSS protection in httpd-vhosts config (#119) The httpd-vhosts.conf configuration file now includes an option for built-in XSS protection supported by modern web browsers. It is set to block the entire page if a Cross-Site Scripting (XSS) attack is detected. This header already exists in our frontend harness and previously existed in the UI vhost files. * Update gss_prefix in infrastructure instances (#120) This commit modifies the gss_prefix in multiple Terraform instances to include a new variable, environment_prefix. It also adds this new variable in the variables.tf file for infrastructure app. This change provides more flexibility and control over the configuration of infrastructure instances. * [ALS-5567] Modify infrastructure to make a configurable value (#121) * [ALS-5567] Parameterize help link in app configuration * [ALS-5567] Add login link variable to app configuration * [ALS-5514] Add Okta configuration to infrastructure The Okta client API and domain configurations have been added. These are used for session management, improving secure access control to the application. The respective fields have been included in wildfly-instance.tf, standalone.xml, and variables.tf files. * [ALS-5514] Correct Okta variable in wildfly-instance.tf An incorrect Okta variable name was identified and replaced as necessary. The okta_domain has been properly replaced with okta_client_origin for proper Okta configuration management. * [ALS-5558] Add privacyPolicyLink (#122) * [ALS-5514] Adjust indentations in standalone.xml * [ALS-5514] Migrating changes from GitLab Co-authored-by: TDeSain <[email protected]> Co-authored-by: Tom <[email protected]> Co-authored-by: James <[email protected]> * [ALS-5082] Persist database: Flyway (#126) * [ALS-5082] Remove unused code This code is tracked by version control and I would prefer not to have dead code within the codebase. * [ALS-5082] Update MySQL connector version in Wildfly module config The MySQL connector version in the Wildfly configuration file has been updated from 5.1.38 to 8.0.33. This is necessary for keeping with the latest stable version for improved performance and security. * [ALS-5082] Add initial roles, privileges, resources, and create initial tables for database The commit includes SQL scripts to insert initial roles and privileges in the 'auth' database and to create the initial tables required for 'picsure' and 'auth' databases. Additionally, the commit inserts resources into the 'picsure' database. These updates initialize the foundational data structures needed for the application's function. * Refactor DNS records management in terraform Removed deprecated comments, unused code and the reliance on Jenkins and AWS CLI for managing route53 DNS records in the route53-template.tf file. The refactoring now utilizes Terraform natively, directly handling AWS Route53 changes and improving code clarity. * [ALS-5082] Update Terraform configuration and application to use persisted database, remove unnecessary vars, use DB username/host/password vars, add resource IDs and optimize AWS instance size and volume. This change allows us to have a persistent database for our application, which retains data across sessions and improves the overall performance and cost-effectiveness of the AWS instance. Various unnecessary variables have been obliterated, further streamlining the configuration process. * [ALS-5082] Remove resource-registration.sql * Add health check rule to httpd-vhosts.conf A new RewriteRule has been added to the httpd-vhosts.conf configurations. The rule matches any request to /picsureui/health and returns a 200 OK status. This update will help monitor the health status of the PicsureUI application. * [ALS-5387] Replace variables with hardcoded IDs in configs (#130) * Replace variables with hardcoded IDs in configs The `auth_hpds_resource_id` and `dictionary_resource_id` variables in application configurations have been removed and replaced with hardcoded values. This change affected several files including `wildfly-instance.tf` and `picsureui_settings.json`. This modification simplifies configuration and minimizes the risk of misconfiguration errors. * Update resource insertions in V2__Insert_Resources.sql The diff reflects changes made to the resource insertion queries in `V2__Insert_Resources.sql` file. Some names have been replaced with hardcoded values, and a few parameters, such as 'include_open_hpds' and 'include_auth_hpds', have been added to aid better flexibility and consistency in resource management. * Add private DNS name variable to wildfly-instance.tf A new variable 'env_private_dns_name' from environment variables has been included in the wildfly-instance.tf file. Furthermore, this variable has been incorporated in the JAVA_OPTS of the wildfly-user_data.sh script to use the target stack and private DNS dynamically. This inclusion enhances the adaptability of the script in various execution environments. * Update IDP provider URI value in standalone.xml (#131) Remove additional "/" all strings that are appended to the idp_provider_uri start with a "/". * Update configuration in picsureui_settings.json (#132) Added "include_bdc_specific_filters" field to configuration. This field enables filters specific to the Big Data Commons(BDC) infrastructure to be included when set to true. --------- Co-authored-by: TDeSain <[email protected]> Co-authored-by: Tom <[email protected]> Co-authored-by: James <[email protected]> Co-authored-by: Ryan Amari <[email protected]>
- Loading branch information