Skip to content

udistrital/terceros_mid

Repository files navigation

terceros_mid

MID de Terceros

  • Tipos de Terceros
  • Propiedades de Terceros

Api intermediaria entre el cliente de plan de necesidades y las apis necesarios para la gestión de la información para estos mismos con respecto a las dependencias. Api mid para el subsistema de terceros que hace parte del sistema kronos

Especificaciones Técnicas

Tecnologías Implementadas y Versiones

Variables de Entorno

  • Listadas/Documentadas en la plantilla template.env

  • Para usarlas:

    1. copiar la plantilla, por ejemplo como ".env": cp template.env .env
    2. Ajustar los valores en la copia creada, por ejemplo, con el editor nano: nano .env
    3. Traer sus valores al entorno con source .env

Ejecución del Proyecto

#1. Obtener el repositorio con Go
go get github.com/udistrital/terceros_mid

#2. Moverse a la carpeta del repositorio
cd $GOPATH/src/github.com/udistrital/terceros_mid

# 3. Moverse a la rama **develop**
git pull origin develop && git checkout develop

# 4. alimentar todas las variables de entorno que utiliza el proyecto.
cp template.env .env
source .env
PORT=8080

Ejecución Dockerfile

# Generar imagen de despliegue (release/master)
docker build .

APIs Requeridas

  1. terceros_crud
  2. oikos2_crud
  3. parametrod_crud

Ejecución Pruebas

Pruebas unitarias

go test

Estado CI

Develop Release 1.1.1 Master
Build Status Build Status Build Status

Licencia

This file is part of terceros_mid

terceros_mid is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

terceros_mid is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with terceros_mid. If not, see https://www.gnu.org/licenses/.