Skip to content

Commit

Permalink
#121 Test Matchmaker SOAP
Browse files Browse the repository at this point in the history
  • Loading branch information
vityaman committed Jan 28, 2025
1 parent c67d7b4 commit 06678cd
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ class RestClientConfiguration {

ssl: RestClientSsl,
): MatchmakerRestClient = RestClient.builder()
.baseUrl(baseUrl)
.baseUrl("$baseUrl/api")
.messageConverters { it.add(MappingJackson2HttpMessageConverter()) }
.apply(ssl.fromBundle("internal"))
.build()
.let { MatchmakerRestClient(it) }
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class WebServiceConfiguration {
service: ITMODatingMatchmakerPortType,
): Endpoint {
val endpoint = EndpointImpl(bus, service)
endpoint.publish("/")
endpoint.publish("/matchmaker")
return endpoint
}
}
8 changes: 6 additions & 2 deletions backend/matchmaker-soap/src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
spring:
config:
import: application-tls.yml
application:
name: matchmaker-soap
ssl:
bundle:
jks:
internal:
keystore:
type: PKCS12
location: classpath:keystore/itmo-dating-backend.p12
password: ${ITMO_DATING_KEY_STORE_PASSWORD}
truststore:
location: ${spring.ssl.bundle.jks.internal.keystore.location}
password: ${spring.ssl.bundle.jks.internal.keystore.password}
type: PKCS12
location: classpath:keystore/itmo-dating-backend.p12
password: ${ITMO_DATING_KEY_STORE_PASSWORD}
itmo-dating:
matchmaker:
url: https://matchmaker-0.dating.se.ifmo.ru:8080
Original file line number Diff line number Diff line change
Expand Up @@ -303,8 +303,8 @@

<wsdl:service name="ITMODatingMatchmakerService">
<wsdl:port name="ITMODatingMatchmakerPort" binding="tns:ITMODatingMatchmakerSoapBinding">
<soap:address location="https://localhost:8458"/>
<soap:address location="http://matchmaker-soap.dating.se.ifmo.ru:8080"/>
<soap:address location="https://localhost:8458/services/matchmaker"/>
<soap:address location="https://matchmaker-soap.dating.se.ifmo.ru:8080/services/matchmaker"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
1 change: 1 addition & 0 deletions compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ services:
- "127.0.0.1:8455:8455"
- "127.0.0.1:8456:8456"
- "127.0.0.1:8457:8457"
- "127.0.0.1:8458:8458"
restart: unless-stopped
node-exporter:
image: prom/node-exporter:latest
Expand Down

0 comments on commit 06678cd

Please sign in to comment.