{"id":22173832,"url":"https://github.com/puneethkumarck/spring-cloud-config-server","last_synced_at":"2025-03-24T18:14:17.996Z","repository":{"id":129141288,"uuid":"112201099","full_name":"Puneethkumarck/spring-cloud-config-server","owner":"Puneethkumarck","description":"Client project to use the config server","archived":false,"fork":false,"pushed_at":"2017-12-21T18:40:04.000Z","size":49,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-29T22:46:10.836Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","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/Puneethkumarck.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":"2017-11-27T13:42:25.000Z","updated_at":"2017-12-21T18:18:49.000Z","dependencies_parsed_at":"2023-04-17T09:48:40.918Z","dependency_job_id":null,"html_url":"https://github.com/Puneethkumarck/spring-cloud-config-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Puneethkumarck%2Fspring-cloud-config-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Puneethkumarck%2Fspring-cloud-config-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Puneethkumarck%2Fspring-cloud-config-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Puneethkumarck%2Fspring-cloud-config-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Puneethkumarck","download_url":"https://codeload.github.com/Puneethkumarck/spring-cloud-config-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245325223,"owners_count":20596818,"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","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":[],"created_at":"2024-12-02T07:35:45.022Z","updated_at":"2025-03-24T18:14:17.962Z","avatar_url":"https://github.com/Puneethkumarck.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# spring-cloud-config-server\nspring cloud server app , which uses the git backed configuration properties and make it available to the clients .\n\nThis appication starts @ tomcat 8888 port \n\nUse the Below Endpoints to query the properties \n\nhttp://localhost:8888/s1rates/qa\nhttp://localhost:8888/s1rates/dev\nhttp://localhost:8888/s1rates/default\n\nAdding spring security to block the unAuthorized request querying the App\n\n\t\u003cdependency\u003e\n\t\t\t\u003cgroupId\u003eorg.springframework.boot\u003c/groupId\u003e\n\t\t\t\u003cartifactId\u003espring-boot-starter-security\u003c/artifactId\u003e\n\t\t\u003c/dependency\u003e\n    \nAfter Adding above dependency , if you try quering the endpoints for properties you would get below response\n\n{\n    \"timestamp\": 1513881191780,\n    \"status\": 401,\n    \"error\": \"Unauthorized\",\n    \"message\": \"Full authentication is required to access this resource\",\n    \"path\": \"/s1rates/qa\"\n}\n\nTo fix the above issue pass the Authorization header in the request \n\ncurl -H \"Authorization: Basic d29ya0Bob21lOndvcmtAaG9tZQ==\" http://localhost:8888/s1rates/qa\n\nd29ya0Bob21lOndvcmtAaG9tZQ== : This is Base 64 encoded of value being passed in via security.user.name : security.user.password\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpuneethkumarck%2Fspring-cloud-config-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpuneethkumarck%2Fspring-cloud-config-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpuneethkumarck%2Fspring-cloud-config-server/lists"}