Skip to content

SwissTierrasColombia/st-microservice-ili

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ILI MICROSERVICE

Microservice that allows operations with Interlis files.

Running Development

$ mvn spring-boot:run

Configuration

Database connection

You must create a database in PostgreSQL with a scheme called "ili" and then configure the connection data in the st-microservice-ili/src/main/resources/application.yml file

spring:
  datasource:
    url: jdbc:postgresql://localhost:5432/sistema-transicion
    username: postgres
    password: 123456
    driver-class-name: org.postgresql.Driver
  jpa:
    database-platform: org.hibernate.dialect.PostgreSQL10Dialect
    hibernate.ddl-auto: create

How to disable eureka client?

Modify the enabled property in st-microservice-ili/src/main/resources/application.yml file:

eureka:
  client:
    enabled: false

How to disable config client?

Modify the enabled property in st-microservice-ili/src/main/resources/bootstrap.yml file:

spring:
  application:
    name: st-microservice-ili
  cloud:
    config:
      enabled: false

Swagger Documentation?

See http://localhost:9005/swagger-ui.html

License

GNU AFFERO GENERAL PUBLIC LICENSE Agencia de Implementación - BSF Swissphoto - INCIGE