A
A
adreSsS2021-03-27 16:12:35
Java
adreSsS, 2021-03-27 16:12:35

REST interfaces in Reverse Proxy?

You need to implement the gray element in the figure with REST(IN/OUT) interfaces. The input interface accepts a task from the sender and, depending on its type, passes it to the appropriate addressee (system 1-3). After the recipient has processed the task, its response is returned to the sender. Since there are no external systems, they should be “docked” using any tool (wiremock, json-server). The configuration of addresses of external systems should be placed in the application.properties file in the form, for example, destination.get = localhost: 8899.

I can not figure out how to implement all this correctly in 1 project on localhost. I created a project with https://start.spring.io/ (c web dependency). Thanks in advance for your reply.

605f2e607034d673662957.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Cheremisin, 2021-03-27
@leahch

What are the problems? Install nginx and proxy.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question