-
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.
Diverse rydding i headere+mdc og retry tokenhenting (#1395)
- Loading branch information
Showing
12 changed files
with
101 additions
and
184 deletions.
There are no files selected for viewing
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
20 changes: 20 additions & 0 deletions
20
felles/klient/src/main/java/no/nav/vedtak/klient/http/CommonHttpHeaders.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,20 @@ | ||
package no.nav.vedtak.klient.http; | ||
|
||
/** | ||
* Standard NAV headere som brukes i kommunikasjon mellom Foreldrepenge-applikasjoner. | ||
*/ | ||
public final class CommonHttpHeaders { | ||
|
||
private CommonHttpHeaders() { | ||
} | ||
|
||
// Headere som brukes mellom FP-applikasjoner | ||
public static final String HEADER_NAV_CALLID = "Nav-Callid"; | ||
public static final String HEADER_NAV_CONSUMER_ID = "Nav-Consumer-Id"; | ||
|
||
// Alternativ header - trengs for noen utgående tilfelle, trengs ikke internt | ||
public static final String HEADER_NAV_LOWER_CALL_ID = "nav-call-id"; | ||
|
||
// Alternativ header - trengs for innkommende kall fra søknad inntil videre. Bør fjernes | ||
public static final String HEADER_NAV_ALT_CALLID = "Nav-CallId"; | ||
} |
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
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
Oops, something went wrong.