{"id":45173269,"url":"https://github.com/udistrital/avances_crud","last_synced_at":"2026-02-20T08:33:34.736Z","repository":{"id":38325831,"uuid":"330018488","full_name":"udistrital/avances_crud","owner":"udistrital","description":":heavy_check_mark: Check:  API CRUD Para la gestion de avances","archived":false,"fork":false,"pushed_at":"2024-07-16T19:10:46.000Z","size":690,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":7,"default_branch":"develop","last_synced_at":"2024-07-16T23:11:50.751Z","etag":null,"topics":["finaciera","kronos"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/udistrital.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-15T20:45:04.000Z","updated_at":"2024-07-16T19:08:29.000Z","dependencies_parsed_at":"2024-07-16T23:01:24.955Z","dependency_job_id":null,"html_url":"https://github.com/udistrital/avances_crud","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/udistrital/avances_crud","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/udistrital%2Favances_crud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/udistrital%2Favances_crud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/udistrital%2Favances_crud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/udistrital%2Favances_crud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/udistrital","download_url":"https://codeload.github.com/udistrital/avances_crud/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/udistrital%2Favances_crud/sbom","scorecard":{"id":906892,"data":{"date":"2025-08-11","repo":{"name":"github.com/udistrital/avances_crud","commit":"b44bec422933b4aaeb5f58b529ac30aec4b8b303"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.7,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 1/15 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating python:3 to python:3@sha256:3b2f1b9c9948e9dc96e1a2f4668ba9870ff43ab834f91155697476142b3bc299","Warn: containerImage not pinned by hash: bee_build/Dockerfile:1: pin your Docker image by updating golang:1.15.0 to golang:1.15.0@sha256:4afdc8ea330492631e6c0b46ba04ba985e8ff494431124816aac1bc1b18ff1ce","Warn: pipCommand not pinned by hash: Dockerfile:2","Warn: goCommand not pinned by hash: bee_build/Dockerfile:2","Warn: goCommand not pinned by hash: bee_build/Dockerfile:3","Warn: goCommand not pinned by hash: bee_build/Dockerfile:4","Info:   0 out of   2 containerImage dependencies pinned","Info:   0 out of   1 pipCommand dependencies pinned","Info:   0 out of   3 goCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 29 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-24T17:40:42.882Z","repository_id":38325831,"created_at":"2025-08-24T17:40:42.882Z","updated_at":"2025-08-24T17:40:42.882Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29645874,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-20T05:21:04.652Z","status":"ssl_error","status_checked_at":"2026-02-20T05:21:04.238Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["finaciera","kronos"],"created_at":"2026-02-20T08:33:34.266Z","updated_at":"2026-02-20T08:33:34.731Z","avatar_url":"https://github.com/udistrital.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# avances_crud\n\nEl API avances_crud, proporciona interfaces para la manipulación(CRUD) de los datos almacenados en una base de datos relacional PostgreSQl (registra avances, tipos de avances, solicitudes de avances, etc).\nEsta API representa la capa de datos del subsistema de avances, el cual, a su vez, hace parte de el sistema de gestión financiero KRONOS.\n\n## Especificaciones Técnicas\n\n### Tecnologías Implementadas y Versiones\n* [Golang](https://github.com/udistrital/introduccion_oas/blob/master/instalacion_de_herramientas/golang.md)\n* [BeeGo](https://github.com/udistrital/introduccion_oas/blob/master/instalacion_de_herramientas/beego.md)\n* [Postgres](https://github.com/udistrital/lineamientos_oas/blob/master/instalacion_de_herramientas/postgres.md)\n* [Docker](https://docs.docker.com/engine/install/ubuntu/)\n* [Docker Compose](https://docs.docker.com/compose/)\n\n\n### Variables de Entorno\n```shell\nAVANCES_CRUD_HTTP_PORT=[Puerto asignado para la ejecución del API]\nAVANCES_CRUD_RUN_MODE=[Modo de ejecución del api]\nAVANCES_CRUD_PGUSER=[Usuario de la base de datos]\nAVANCES_CRUD_PGPASS=[Clave del usuario para la conexión a la base de datos]\nAVANCES_CRUD_PGHOST=[Host de conexión a la base de datos]\nAVANCES_CRUD_PGPORT=[Puerto de base de datos]\nAVANCES_CRUD_PGDB=[Nombre de la base de datos]\nAVANCES_CRUD_PGSCHEMA=[Esquema de la base de datos]\n# Ejemplo\nAVANCES_CRUD_HTTP_PORT=8080\nAVANCES_CRUD_RUN_MODE=dev\nAVANCES_CRUD_PGUSER=postgres\nAVANCES_CRUD_PGPASS=***\nAVANCES_CRUD_PGHOST=127.0.0.1\nAVANCES_CRUD_PGPORT=5432\nAVANCES_CRUD_PGDB=avances_db\nAVANCES_CRUD_PGSCHEMA=avances\n```\n**NOTA:** Las variables se pueden ver en el fichero conf/app.conf y están identificadas con AVANCES_CRUD_...\n\n\n### Ejecución del Proyecto\n```shell\n#1. Obtener el repositorio con Go\ngo get github.com/udistrital/avances_crud\n\n#2. Moverse a la carpeta del repositorio\ncd $GOPATH/src/github.com/udistrital/avances_crud\n\n# 3. Moverse a la rama **develop**\ngit pull origin develop \u0026\u0026 git checkout develop\n\n# 4. alimentar todas las variables de entorno que utiliza el proyecto.\nAVANCES_CRUD_HTTP_PORT=8080 AVANCES_CRUD_RUN_MODE=dev AVANCES_CRUD_PGUSER=postgres AVANCES_CRUD_PGPASS=**** AVANCES_CRUD_PGHOST=127.0.0.1 AVANCES_CRUD_PGPORT=5432 ...\n\n# 5. Ejecutar bee run\nbee run\n```\n\n### Ejecución Dockerfile\n```shell\n# Implementado para despliegue del Sistema de integración continua CI.\n# docker build --tag=avances_crud . --no-cache\n# docker run -p 80:80 avances_crud\n```\n\n### Ejecución docker-compose\n```shell\n#1. Clonar el repositorio\ngit clone -b develop https://github.com/udistrital/avances_crud\n\n#2. Moverse a la carpeta del repositorio\ncd avances_crud\n\n#3. Crear un fichero con el nombre **custom.env**\n# En windows ejecutar:* ` ni custom.env`\ntouch custom.env\n\n#4. Crear la network **back_end** para los contenedores\ndocker network create back_end\n\n#5. Ejecutar el compose del contenedor\ndocker-compose up --build\n\n#6. Comprobar que los contenedores estén en ejecución\ndocker ps\n```\n\n### Ejecución Pruebas\n\nPruebas unitarias\n```shell\n# Not Data\n```\n\n## Modelo de datos\n[Modelo de datos relacional avances_crud](database/modelobd.png)\n\n\n## Estado CI\n| Develop | Relese 0.0.1 | Master |\n| -- | -- | -- |\n| [![Build Status](https://hubci.portaloas.udistrital.edu.co/api/badges/udistrital/avances_crud/status.svg?ref=refs/heads/develop)](https://hubci.portaloas.udistrital.edu.co/udistrital/avances_crud) | [![Build Status](https://hubci.portaloas.udistrital.edu.co/api/badges/udistrital/avances_crud/status.svg?ref=refs/heads/release/0.0.1)](https://hubci.portaloas.udistrital.edu.co/udistrital/avances_crud) | [![Build Status](https://hubci.portaloas.udistrital.edu.co/api/badges/udistrital/avances_crud/status.svg?ref=refs/heads/master)](https://hubci.portaloas.udistrital.edu.co/udistrital/avances_crud) |\n\n\n## Licencia\nThis file is part of avances_crud\n\navances_crud 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.\n\navances_crud 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.\n\nYou should have received a copy of the GNU General Public License along with avances_crud. If not, see https://www.gnu.org/licenses/.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fudistrital%2Favances_crud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fudistrital%2Favances_crud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fudistrital%2Favances_crud/lists"}