{"id":21835481,"url":"https://github.com/plopezgit/sprint5_t1_springboot_apis_connection","last_synced_at":"2026-04-13T16:03:52.340Z","repository":{"id":217531905,"uuid":"744052751","full_name":"plopezgit/Sprint5_T1_SpringBoot_APIs_Connection","owner":"plopezgit","description":"Build an API connection using Rest Template.","archived":false,"fork":false,"pushed_at":"2024-01-17T21:46:50.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-21T14:23:57.076Z","etag":null,"topics":["api-connect","dto-pattern","gradle","resttemplate","spring","spring-boot"],"latest_commit_sha":null,"homepage":"https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/web/client/RestTemplate.html","language":"Java","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/plopezgit.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":"2024-01-16T14:37:36.000Z","updated_at":"2024-01-16T18:50:44.000Z","dependencies_parsed_at":"2025-03-21T14:23:54.172Z","dependency_job_id":"1244ae0d-6210-4d1e-b8d1-87059a0ef2c7","html_url":"https://github.com/plopezgit/Sprint5_T1_SpringBoot_APIs_Connection","commit_stats":null,"previous_names":["plopezgit/sprint5_t1_springboot_apis_connection"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/plopezgit/Sprint5_T1_SpringBoot_APIs_Connection","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plopezgit%2FSprint5_T1_SpringBoot_APIs_Connection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plopezgit%2FSprint5_T1_SpringBoot_APIs_Connection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plopezgit%2FSprint5_T1_SpringBoot_APIs_Connection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plopezgit%2FSprint5_T1_SpringBoot_APIs_Connection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/plopezgit","download_url":"https://codeload.github.com/plopezgit/Sprint5_T1_SpringBoot_APIs_Connection/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plopezgit%2FSprint5_T1_SpringBoot_APIs_Connection/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31759549,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T15:25:13.801Z","status":"ssl_error","status_checked_at":"2026-04-13T15:25:09.162Z","response_time":93,"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":["api-connect","dto-pattern","gradle","resttemplate","spring","spring-boot"],"created_at":"2024-11-27T20:21:20.124Z","updated_at":"2026-04-13T16:03:52.312Z","avatar_url":"https://github.com/plopezgit.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sprint5_T1_SpringBoot_APIs_Connection (Rest Template)\n\nUsing RestTemplate or WebClient, you will need to connect to the API you made in level 2, to call and test all the requests that this API allows.\n\nNote, that in this level 3 task, you have no reference to any database, nor do you need to use JPA, as your repository will access the level 2 API.\n\nYou don't need to create a View, because this level 3 is planned as a Rest API, but you will need to create all the layers up to the controller like any other application:\n\n- cat.itacademy.barcelonactiva.cognoms.nom.s05.t01.n03.controllers\n- cat.itacademy.barcelonactiva.surnames.nom.s05.t01.n03.model.domain\n- cat.itacademy.barcelonactiva.surnames.name.s05.t01.n03.model.dto\n- cat.itacademy.barcelonactiva.surnames.nom.s05.t01.n03.model.services\n- cat.itacademy.barcelonactiva.cognoms.nom.s05.t01.n03.model.repository\n\n \n\nThe controller class must be able to handle the following requests:\n\n- http://localhost:9002/flor/clientFlorsAdd\n- http://localhost:9002/flor/clientFlorsUpdate\n- http://localhost:9002/flor/clientFlorsDelete/{id}\n- http://localhost:9002/flor/clientFlorsGetOne/{id}\n- http://localhost:9002/flor/clientFlorsAll\n\n\nAs you can see, in the application.properties file, you must configure that the port to use is 9002.\n\nTo test level 3, you'll need to have the level 2 API running. You won't have any problems, since the level 3 API works with port 9002 and the level 2 API with port 9001.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplopezgit%2Fsprint5_t1_springboot_apis_connection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplopezgit%2Fsprint5_t1_springboot_apis_connection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplopezgit%2Fsprint5_t1_springboot_apis_connection/lists"}