Fix profile activation property#390
Merged
mmwinther merged 1 commit intofeat/upgrade-to-spring-3from Oct 27, 2025
Merged
Conversation
Jorgen-5
approved these changes
Oct 27, 2025
Jorgen-5
added a commit
that referenced
this pull request
Nov 4, 2025
* Upgrade to spring 3 * Update test config for search * fix testcontainer error * set up qa job test * correct typo * correct typo * correct typo * correct * trigger run * trigger run * do not use klass-forvaltning * do not use klass-forvaltning * rename file * correct paths * correct paths * use existing db * trigger run * add type * test prop * test db * test * add open search * remove open search * try to connect to database * try to connect to database * changes has been made - new instance * add props * db failing use h2 * db failing use h2-inmemory * test new network policy * trigger job * try without flyway * Update colima setup * Started fixing test config * test same config as klass forvaltning * test open search * try adding env values - remove solr * update open search access * network policy set in nais-test dapla-metadata * network policy still not set in nais-test dapla-metadata * add variables to properties * correct * klass dev * trigger klass dev * trigger klass dev * trigger klass dev * trigger klass dev * try fix injection value * try fix injection value * remove ttl value * fix * test manual workflow * test manual workflow * test manual workflow * test manual workflow * test manual workflow * Update test config * Remove unsused file * update and trigger klass-dev * update and trigger klass-dev * test profile * use klass solr for now * remove solr * kubernetes labels must be strings * use env values * remove empty valueFrom * set properties * update properties * remove time to live - add properties * Added mock search * test open search config * test network policy * undo changes - must set up for test * test url open search * test network policy * dynamic app name * add workflow dispatch * add workflow dispatch * correct * more vars * add different properties * add profile * use env * update test * add password and username opensearch * correct prop * test smaller index * test smaller index * indexing always results in connection closed * update access level opensearch * add logging * add more logging * set opensearch client values * add SSL * try with ssl conditionally * refactor test * refactor config * update properties name * refactor * refactor * add v3 instance * remove klass dev * Fix so it can use https * Fix replacement logic * Fix opensearch url * Remove remaining vulnerabilities (#385) * update snake yaml * not deploy on every push * update apache commons lang * update google guava * update google guava for both root and shared * update commons-lang3 * changes to sections has been made and we will now assume result should be equal * update zonky from 2.1.0 to 2.1.1 to remove transitive vulnerability * update rest-assured from 5.4.0 to 5.5.6 and commons-io from 2.15.1 to 2.20.0 to remove transitive vulnerability * remove apacheds-server-jndi-version - unused dependency * use google distroless image * exclude duplicated transitive dependencies with vulnerabilities * re add exclusions - testcontainers failed * try to run just on ubuntu - dont trigger build new instance * use dependency management to ensure safe version of commons-lang3 * Add indexing service * Merge * Remove unused dependencies (#388) * Remove h2 * Remove checkstyle and findbugs * Remove MariaDB * Remove ping * Migration tests not dependent on /ping * Fix profile activation property (#390) * Add stemming * Tune search * Try enable search integration test * Add distroless image for klass api * Feat/strategy for indexing and updating search (#400) * remove duplicated code * log * possible reindex as strategy * possible set up job * set up scheduled indexing * add make method * test scheduling * set up scheduled job in separate service * set permission to admin to access refresh * reset permission * rename service * add test * rename - add docstring * delete test * test scheduled job every hour * update distroless image * Remove refresh * reindex every night * Remove reference to deleted module * Simplify docker compose * Create constants * Use constants * add destroy method to bean * Change to use constructor injection * Fix sonar issue * Fix error * Fix itemId * Private constructor * Constructor injection * Fix error * Update klass-shared/src/main/resources/application-postgres-embedded.properties Co-authored-by: Miles Mason Winther <42948872+mmwinther@users.noreply.github.com> * Set generated keys to true to make postgres dialect tests not fail * Change enviornment variables * Fix typo * Fix envs * Remove elastic uri in properties * Update workflow and Nais for Spring Boot v3 (#403) * delete files * add opensearch to klass nais api * remove solr and use correct profiles * Reset klass-api prod manifest --------- Co-authored-by: Jorgen-5 <rlj@ssb.no> Co-authored-by: Cecilie Seim <68303562+tilen1976@users.noreply.github.com> Co-authored-by: Miles Mason Winther <42948872+mmwinther@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
It seems that Spring has dropped support for
spring.profiles.activesince it wasn't having any affect.