-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: oppretter en felles-server pakke (#1400)
- Loading branch information
Showing
10 changed files
with
61 additions
and
1 deletion.
There are no files selected for viewing
5 changes: 4 additions & 1 deletion
5
felles/log/src/main/java/no/nav/vedtak/log/metrics/Controllable.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
package no.nav.vedtak.log.metrics; | ||
|
||
@Deprecated(forRemoval = true) | ||
/* | ||
* @deprecated see no.nav.vedtak.server | ||
*/ | ||
public interface Controllable { | ||
|
||
void start(); | ||
|
||
void stop(); | ||
|
||
} |
4 changes: 4 additions & 0 deletions
4
felles/log/src/main/java/no/nav/vedtak/log/metrics/LiveAndReadinessAware.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
package no.nav.vedtak.log.metrics; | ||
|
||
@Deprecated(forRemoval = true) | ||
/* | ||
* @deprecated see no.nav.vedtak.server | ||
*/ | ||
public interface LiveAndReadinessAware extends LivenessAware, ReadinessAware { | ||
|
||
} |
4 changes: 4 additions & 0 deletions
4
felles/log/src/main/java/no/nav/vedtak/log/metrics/LivenessAware.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
package no.nav.vedtak.log.metrics; | ||
|
||
@Deprecated(forRemoval = true) | ||
/* | ||
* @deprecated see no.nav.vedtak.server | ||
*/ | ||
public interface LivenessAware { | ||
boolean isAlive(); | ||
} |
4 changes: 4 additions & 0 deletions
4
felles/log/src/main/java/no/nav/vedtak/log/metrics/ReadinessAware.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
package no.nav.vedtak.log.metrics; | ||
|
||
@Deprecated(forRemoval = true) | ||
/* | ||
* @deprecated see no.nav.vedtak.server | ||
*/ | ||
public interface ReadinessAware { | ||
boolean isReady(); | ||
} |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<parent> | ||
<groupId>no.nav.foreldrepenger.felles</groupId> | ||
<artifactId>felles</artifactId> | ||
<version>0.0.0-SNAPSHOT</version> | ||
</parent> | ||
|
||
<artifactId>felles-server</artifactId> | ||
<name>Felles :: Server oppsett</name> | ||
<packaging>jar</packaging> | ||
|
||
</project> |
8 changes: 8 additions & 0 deletions
8
felles/server/src/main/java/no/nav/vedtak/server/Controllable.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package no.nav.vedtak.server; | ||
|
||
public interface Controllable { | ||
|
||
void start(); | ||
|
||
void stop(); | ||
} |
4 changes: 4 additions & 0 deletions
4
felles/server/src/main/java/no/nav/vedtak/server/LiveAndReadinessAware.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package no.nav.vedtak.server; | ||
|
||
public interface LiveAndReadinessAware extends LivenessAware, ReadinessAware { | ||
} |
5 changes: 5 additions & 0 deletions
5
felles/server/src/main/java/no/nav/vedtak/server/LivenessAware.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package no.nav.vedtak.server; | ||
|
||
public interface LivenessAware { | ||
boolean isAlive(); | ||
} |
5 changes: 5 additions & 0 deletions
5
felles/server/src/main/java/no/nav/vedtak/server/ReadinessAware.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package no.nav.vedtak.server; | ||
|
||
public interface ReadinessAware { | ||
boolean isReady(); | ||
} |