Skip to content

Commit

Permalink
chore: implementerer de nye Conrollable interface fra felle-server (#748
Browse files Browse the repository at this point in the history
)
  • Loading branch information
mrsladek authored Dec 10, 2024
1 parent a4fa69f commit d62cca0
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
5 changes: 5 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,11 @@
<artifactId>felles-db</artifactId>
<version>${felles.version}</version>
</dependency>
<dependency>
<groupId>no.nav.foreldrepenger.felles</groupId>
<artifactId>felles-server</artifactId>
<version>${felles.version}</version>
</dependency>
<dependency>
<groupId>no.nav.foreldrepenger.felles</groupId>
<artifactId>felles-kontekst</artifactId>
Expand Down
5 changes: 5 additions & 0 deletions task/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@
<artifactId>felles-db</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>no.nav.foreldrepenger.felles</groupId>
<artifactId>felles-server</artifactId>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
@ApplicationScoped
@ActivateRequestContext
@Transactional
public class BatchTaskScheduler implements Controllable {
public class BatchTaskScheduler implements no.nav.vedtak.server.Controllable, Controllable {

private static final Logger LOG = LoggerFactory.getLogger(BatchTaskScheduler.class);
private TaskManagerRepositoryImpl taskRepository;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
* Main class handling polling tasks and dispatching these.
*/
@ApplicationScoped
public class TaskManager implements Controllable {
public class TaskManager implements no.nav.vedtak.server.Controllable, Controllable {

public static final String TASK_MANAGER_POLLING_WAIT = "task.manager.polling.wait";
public static final String TASK_MANAGER_POLLING_DELAY = "task.manager.polling.delay";
Expand Down

0 comments on commit d62cca0

Please sign in to comment.