{"id":31944360,"url":"https://github.com/alvarosiles11/vuelo","last_synced_at":"2025-10-14T10:23:52.225Z","repository":{"id":50443943,"uuid":"519089512","full_name":"alvarosiles11/vuelo","owner":"alvarosiles11","description":"Diplomado🎓","archived":false,"fork":false,"pushed_at":"2023-01-27T07:41:27.000Z","size":30083,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-03-05T02:12:52.196Z","etag":null,"topics":["arquitectura-de-software","arquitectura-limpia","desarrollo-dirigido-por-el-dominio","microservicios","testing"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alvarosiles11.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-29T05:20:43.000Z","updated_at":"2022-12-23T15:26:57.000Z","dependencies_parsed_at":"2023-01-30T18:45:49.267Z","dependency_job_id":null,"html_url":"https://github.com/alvarosiles11/vuelo","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/alvarosiles11/vuelo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvarosiles11%2Fvuelo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvarosiles11%2Fvuelo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvarosiles11%2Fvuelo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvarosiles11%2Fvuelo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alvarosiles11","download_url":"https://codeload.github.com/alvarosiles11/vuelo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvarosiles11%2Fvuelo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279018782,"owners_count":26086452,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["arquitectura-de-software","arquitectura-limpia","desarrollo-dirigido-por-el-dominio","microservicios","testing"],"created_at":"2025-10-14T10:23:51.234Z","updated_at":"2025-10-14T10:23:52.219Z","avatar_url":"https://github.com/alvarosiles11.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Job de release\n\nEjecutar los comandos necesarios para realizar un release del código dentro de una máquina virtual en internet. puede hacerse mediante conexión a SSH o docker\n=======\n# Defensa final\n\n\u003cbr\u003e\n\n# Postman api testing\n\n### GET DEL\n```\n\nconst jsonData = pm.response.json();\npm.test(\"Verificación - Campos vacios\", () =\u003e {\n  pm.expect(jsonData.data.nroVuelo).not.empty;\n  pm.expect(jsonData.data.keyAeronave).not.empty;\n  pm.expect(jsonData.data.origen).not.empty;\n  pm.expect(jsonData.data.destino).not.empty;\n  pm.expect(jsonData.data.fechaSalida).not.empty;\n  pm.expect(jsonData.data.fechaArribe).not.empty;\n  pm.expect(jsonData.data.keyTripulacion).not.empty;\n  pm.expect(jsonData.data.observacion).not.empty;\n  pm.expect(jsonData.data.destino).not.empty;\n});\n\npm.test(\"Status code is 200\", () =\u003e {\n  pm.response.to.have.status(200);\n});\n\npm.test(\"El tiempo de respuesta es inferior a 400ms\", function () {\n  pm.expect(pm.response.responseTime).to.be.below(400);\n});\n\npm.test(\"Verificación de codigo 400\", function () {\n  pm.expect(pm.response.code).to.be.oneOf([400]);\n  console.log(\"Mala solicitud\");\n});\npm.test(\"Verificación de codigo 404\", function () {\n  pm.expect(pm.response.code).to.be.oneOf([404]);\n  console.log(\"No encontrado\");\n});\n\npm.test(\"Verificación de codigo 502\", function () {\n  pm.expect(pm.response.code).to.be.oneOf([502]);\n  console.log(\"Puerta de enlace incorrecta\");\n});\n```\n\n# Postman api testing\n\n### POST PUT\n\n```\n\npm.test(\"Validacioón: Campos vacios\", function () {\n  pm.response.to.have.status(200);\n  let responseJSON = pm.response.json();\n\n  pm.test(\"campo nroVuelo\", function () {\n    pm.expect(responseJSON).to.have.property(\"nroVuelo\");\n  });\n\n  pm.test(\"campo keyAeronave\", function () {\n    pm.expect(responseJSON).to.have.property(\"keyAeronave\");\n  });\n\n  pm.test(\"campo origen\", function () {\n    pm.expect(responseJSON).to.have.property(\"origen\");\n  });\n  pm.test(\"campo destino\", function () {\n    pm.expect(responseJSON).to.have.property(\"destino\");\n  });\n\n  pm.test(\"campo fechaSalida\", function () {\n    pm.expect(responseJSON).to.have.property(\"fechaSalida\");\n  });\n\n  pm.test(\"campo fechaArribe\", function () {\n    pm.expect(responseJSON).to.have.property(\"fechaArribe\");\n  });\n\n  pm.test(\"campo keyTripulacion\", function () {\n    pm.expect(responseJSON).to.have.property(\"keyTripulacion\");\n  });\n  pm.test(\"campo observacion\", function () {\n    pm.expect(responseJSON).to.have.property(\"observacion\");\n  });\n\n  pm.test(\"campo estado\", function () {\n    pm.expect(responseJSON).to.have.property(\"estado\");\n  });\n});\n\npm.test(\"Status code is 200\", () =\u003e {\n  pm.response.to.have.status(200);\n});\n\npm.test(\"El tiempo de respuesta es inferior a 400ms\", function () {\n  pm.expect(pm.response.responseTime).to.be.below(400);\n});\n\npm.test(\"Verificación de codigo 400\", function () {\n  pm.expect(pm.response.code).to.be.oneOf([400]);\n  console.log(\"Mala solicitud\");\n});\npm.test(\"Verificación de codigo 404\", function () {\n  pm.expect(pm.response.code).to.be.oneOf([404]);\n  console.log(\"No encontrado\");\n});\n\npm.test(\"Verificación de codigo 502\", function () {\n  pm.expect(pm.response.code).to.be.oneOf([502]);\n  console.log(\"Puerta de enlace incorrecta\");\n});\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falvarosiles11%2Fvuelo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falvarosiles11%2Fvuelo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falvarosiles11%2Fvuelo/lists"}