/all-in-one-microservice

This project is an exercise of Spring Cloud, which is about e-shop order management.

Primary LanguageJava

Micro-Service (Spring Cloud Netflix) All-In-One

Introduction

This project is a exercise of Spring Cloud, which is about e-shop order management.

Usage

Skywalking sevice observation

Details about Skywalking java agent configure

The agents are in ./<module folder>/agent/ , you can config your own Skywalking host and port.

You can also change the Makefile to choose your own java agent.

Initiate Database

The .sql scripts is in /scripts/e_shop_init.sql . Run it.

Build & Trail

To build all the components:

make build

To set up a specific component instance:

## the eureka service register
make run-register 

the other instances are similar, like run-consumer run-provider run-gateway.

You can also build specific one by running make build-* to refresh its target.

To clean targets and logs:

make clean

More details are in ./Makefile .