Fixed gateway-service.yaml

gateway
atancito 2022-10-02 18:30:11 +02:00
parent 41e316f78b
commit 7609216b03
3 changed files with 6 additions and 4 deletions

View File

@ -18,12 +18,12 @@ spring:
- id: user-service
uri: lb://user-service
predicates:
- path=/users/**
- Path=/users/**
- id: bike-service
uri: lb://bike-service
predicates:
- path=/bikes/**
- Path=/bikes/**
- id: car-service
uri: lb://car-service
predicates:
- path=/cars/**
- Path=/cars/**

View File

@ -5,7 +5,7 @@ spring:
config:
server:
git:
defaultLabel: multiple-instantces
defaultLabel: gateway
uri: https://git.gzcode.xyz/atancito/MicroservicesTutorial
searchPaths: config-data
application:

View File

@ -2,8 +2,10 @@ package com.example.gatewayservice;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
@SpringBootApplication
@EnableEurekaClient
public class GatewayServiceApplication {
public static void main(String[] args) {