Questions Management – Support Edge Server – Initialize support-edge-server project using Spring Tool Suite

Check out the full series of Questions Management tutorial here.

The Edge Server, another call of the API Gateway, is a very important part of a Microservice application, it will be the gateway for external applications to call the application’s internal services. I have introduced you to Zuul Proxy to create an API Gateway application, to create this application for Questions Management application, I will first create a Spring Boot project with Zuul dependency to do this!

In the New Spring Starter Project window, after entering the information about our project, the Location section you need to point to the support directory of the questions-management project:

Questions Management – Support Edge Server – Initialize support-edge-server project using Spring Tool Suite

In the section of dependencies selection for the support-edge-server project, you need to select the dependencies as in the tutorial about Zuul Proxy as follows:

Questions Management – Support Edge Server – Initialize support-edge-server project using Spring Tool Suite

Result:

Questions Management – Support Edge Server – Initialize support-edge-server project using Spring Tool Suite

Next, I will revise this project so that it uses the parent project of the questions-management project.

In the pom.xml file of this project, I will delete <parent>, <properties>, <dependencyManagement> and <repositories > to declare using parent project of questions-management project as follows:

Then declare the support-edge-server project as a module of the questions-management project as follows:

Chia sẽ bài viết này ...Share on Facebook
Facebook
0Tweet about this on Twitter
Twitter
Share on LinkedIn
Linkedin

Add Comment