{"id":49724042,"url":"https://github.com/jho951/service-authz","last_synced_at":"2026-05-09T03:44:08.208Z","repository":{"id":348438811,"uuid":"1149549646","full_name":"jho951/service-authz","owner":"jho951","description":null,"archived":false,"fork":false,"pushed_at":"2026-04-20T10:07:20.000Z","size":512,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-20T11:26:31.956Z","etag":null,"topics":["msa","service"],"latest_commit_sha":null,"homepage":"","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/jho951.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-04T08:40:10.000Z","updated_at":"2026-04-20T10:07:25.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/jho951/service-authz","commit_stats":null,"previous_names":["jho951/permission-server","jho951/service-authz"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/jho951/service-authz","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jho951%2Fservice-authz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jho951%2Fservice-authz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jho951%2Fservice-authz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jho951%2Fservice-authz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jho951","download_url":"https://codeload.github.com/jho951/service-authz/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jho951%2Fservice-authz/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32806684,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"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":["msa","service"],"created_at":"2026-05-09T03:44:07.527Z","updated_at":"2026-05-09T03:44:08.198Z","avatar_url":"https://github.com/jho951.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# authz-service\n\n## 역할\n\n- Gateway가 관리자 경로(`/admin/**`, `/v1/admin/**`)를 처리하기 전 최종 인가 판정을 제공합니다.\n- 에디터 관리자 API 보호를 위한 capability 진실을 소유합니다.\n- gateway 뒤에서 `/permissions/internal/**` 내부 API를 제공합니다.\n- Authz DB의 `user_roles`, `role_permissions`를 기준으로 권한을 판단합니다.\n- 권한 검증 결과와 governance 감사 이벤트를 기록합니다.\n\n## 서비스 이름\n\n| 항목 | 값 |\n| --- | --- |\n| 구현/PR/런타임 이름 | `authz-service` |\n| Gradle group | `com.example.permission` |\n| 서비스 포트 | `8084` |\n\n## Contract Source\n\n- 공통 계약 레포: `https://github.com/jho951/service-contract`\n- 계약 동기화 기준 파일: [contract.lock.yml](contract.lock.yml)\n- 계약 변경 절차: [contract-change-workflow.md](docs/contract-change-workflow.md)\n- PR에서는 `.github/workflows/contract-check.yml`이 lock 파일과 계약 영향 변경 여부를 검사합니다.\n- 인터페이스 변경 시 본 저장소 구현보다 계약 레포 변경을 먼저 반영합니다.\n\n## 빠른 시작\n\nGitHub Packages 의존성을 받으려면 `GH_TOKEN`이 필요합니다.\n\n```bash\nexport GITHUB_ACTOR=jho951\nexport GH_TOKEN=\u003cgithub-token-with-read-packages\u003e\n```\n\n### Docker 개발 스택 실행:\n\n```bash\n./scripts/run.docker.sh up dev\n```\n\n### 로컬 직접 실행:\n\n```bash\n./scripts/run.local.sh\n```\n\n### 빌드와 테스트:\n\n```bash\n./gradlew build\n```\n\n### 상태 확인:\n\n```bash\ncurl -i http://localhost:8084/actuator/health\ncurl -i http://localhost:8084/actuator/prometheus\n```\n\n### API 문서:\n\n```bash\nopen http://localhost:8084/swagger-ui.html\n```\n\n## 문서\n\n- [문서 홈](docs/README.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjho951%2Fservice-authz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjho951%2Fservice-authz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjho951%2Fservice-authz/lists"}