---
## Spring Boot defaults to 8080
server:
  port: ${PORT:${SERVER_PORT:0}}

spring:
  application:
    name: example
  cloud:
    config:
      uri: http://localhost:8888
      failFast: true

# Allow Eureka to recognize two apps of the same type on the same host as separate instances:
eureka:
  instance:
    metadataMap:
      instanceId: ${spring.application.name}:${spring.application.instance_id:${random.value}}

---
spring:
  profiles: test
  application:
    name: example
  cloud:
    config:
      enabled: false




---
## Spring Boot defaults to 8080
server:
  port: ${PORT:${SERVER_PORT:0}}

spring:
  application:
    name: example
  cloud:
    config:
      uri: http://localhost:8888
      failFast: true

# Allow Eureka to recognize two apps of the same type on the same host as separate instances:
eureka:
  instance:
    metadataMap:
      instanceId: ${spring.application.name}:${spring.application.instance_id:${random.value}}

---
spring:
  profiles: test
  application:
    name: example
  cloud:
    config:
      enabled: false

eureka:
  client:
    enabled: false



Disable discovery server client in test profile
Disable discovery server client in test profile
