From 35507575f7313742e31cee88b1a19b66a2d67294 Mon Sep 17 00:00:00 2001 From: kristenhaerum Date: Wed, 17 Apr 2024 07:27:55 +0200 Subject: [PATCH] Lagt til kilde i prolog for S610 request og M201 request #deploy-tps-messaging-service --- apps/tps-messaging-service/README.md | 8 -------- .../apps/tpsmessagingservice/service/IdentService.java | 2 +- .../apps/tpsmessagingservice/service/PersonService.java | 3 ++- 3 files changed, 3 insertions(+), 10 deletions(-) diff --git a/apps/tps-messaging-service/README.md b/apps/tps-messaging-service/README.md index ed2b80f0054..34489b5e73c 100644 --- a/apps/tps-messaging-service/README.md +++ b/apps/tps-messaging-service/README.md @@ -44,11 +44,3 @@ AMQ8450I: Display queue status details. MSGAGE( ) OPPROCS(0) QTIME( , ) UNCOM(NO) -``` - -### Utviklerimage -I utviklerimage brukes ikke naisdevice og du må legge til følgende ekstra argumenter: -``` --Djavax.net.ssl.trustStore=[path til lokal truststore] --Djavax.net.ssl.trustStorePassword=[passord til lokal truststore] -``` diff --git a/apps/tps-messaging-service/src/main/java/no/nav/testnav/apps/tpsmessagingservice/service/IdentService.java b/apps/tps-messaging-service/src/main/java/no/nav/testnav/apps/tpsmessagingservice/service/IdentService.java index ea4dfcb36d3..54e192641c4 100644 --- a/apps/tps-messaging-service/src/main/java/no/nav/testnav/apps/tpsmessagingservice/service/IdentService.java +++ b/apps/tps-messaging-service/src/main/java/no/nav/testnav/apps/tpsmessagingservice/service/IdentService.java @@ -123,7 +123,7 @@ private TpsServicerutineM201Response unmarshallFromXml(String endringsmeldingRes private String prepareRequest(List identer, boolean isProd) { - return "" + + return "" + "" + "" + "FS03-FDLISTER-DISKNAVN-M" + diff --git a/apps/tps-messaging-service/src/main/java/no/nav/testnav/apps/tpsmessagingservice/service/PersonService.java b/apps/tps-messaging-service/src/main/java/no/nav/testnav/apps/tpsmessagingservice/service/PersonService.java index 469fdad6989..dbf1f53ac2a 100644 --- a/apps/tps-messaging-service/src/main/java/no/nav/testnav/apps/tpsmessagingservice/service/PersonService.java +++ b/apps/tps-messaging-service/src/main/java/no/nav/testnav/apps/tpsmessagingservice/service/PersonService.java @@ -175,7 +175,8 @@ private Map readFromTps(String ident, List .build()) .build(); - var xmlRequest = ServiceRutineUtil.marshallToXML(requestContext, request); + var xmlRequest = ServiceRutineUtil.marshallToXML(requestContext, request) + .replace("standalone=\"yes\"", "standalone=\"yes\" source=\"Dolly\""); var miljoerResponse = servicerutineConsumer.sendMessage(xmlRequest, miljoer);