Skip to content

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
skublik committed Oct 10, 2023
2 parents 53c763d + 12ec3a6 commit 388e120
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@
/**
* Responsible for keeping the cluster consistent.
*
* @DependsOn was added to ensure that this bean is initialized after {@link NodeRegistrar}.
* Without it there were NPEs during initialization under some circumstances (on jenkins in tests).
* Problem is caused by spring bean circular dependencies and @PostConstruct methods using autowired
* fields that aren't always initialized at the time of execution.
*
* TODO finish review of this class
*/
@DependsOn("nodeRegistrar")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@
/**
* Takes care about registration of the local node in repository.
*
* @DependsOn was added to ensure that this bean is initialized after {@link NodeRegistrar}.
* Without it there were NPEs during initialization under some circumstances (on jenkins in tests).
* Problem is caused by spring bean circular dependencies and @PostConstruct methods using autowired
* fields that aren't always initialized at the time of execution.
*
* TODO finish review of this class
*/
@DependsOn("taskManagerConfiguration")
Expand Down
10 changes: 5 additions & 5 deletions tools/ninja/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,11 @@
<groupId>jakarta.xml.ws</groupId>
<artifactId>jakarta.xml.ws-api</artifactId>
</dependency>
<dependency>
<groupId>jakarta.ws.rs</groupId>
<artifactId>jakarta.ws.rs-api</artifactId>
<scope>runtime</scope>
</dependency>

<!-- LOGGING -->

Expand Down Expand Up @@ -253,11 +258,6 @@
<artifactId>ojdbc11</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>jakarta.ws.rs</groupId>
<artifactId>jakarta.ws.rs-api</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

<build>
Expand Down

0 comments on commit 388e120

Please sign in to comment.