Skip to content

Commit

Permalink
Lagt til kilde i prolog for S610 request og M201 request
Browse files Browse the repository at this point in the history
#deploy-tps-messaging-service
  • Loading branch information
krharum committed Apr 17, 2024
1 parent 66974bf commit 3550757
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
8 changes: 0 additions & 8 deletions apps/tps-messaging-service/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]
```
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ private TpsServicerutineM201Response unmarshallFromXml(String endringsmeldingRes

private String prepareRequest(List<String> identer, boolean isProd) {

return "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>" +
return "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\" source=\"Dolly\"?>" +
"<tpsPersonData>" +
"<tpsServiceRutine>" +
"<serviceRutinenavn>FS03-FDLISTER-DISKNAVN-M</serviceRutinenavn>" +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@ private Map<String, TpsServicerutineS610Response> 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);

Expand Down

0 comments on commit 3550757

Please sign in to comment.