{"id":36683543,"url":"https://github.com/cms-orbits/cms-users-admin","last_synced_at":"2026-01-12T11:05:41.540Z","repository":{"id":43856475,"uuid":"119010273","full_name":"cms-orbits/cms-users-admin","owner":"cms-orbits","description":"This application is the result of doing reversing engineering to the Contest Management System and provides a backend layer for controlling the register of new users, also present a new entity to complete the user's information.","archived":false,"fork":false,"pushed_at":"2023-02-22T07:12:08.000Z","size":126,"stargazers_count":1,"open_issues_count":2,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-30T04:43:19.770Z","etag":null,"topics":["docker-image","java","microservice","rabbit-publisher","spring-boot","travis-ci"],"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/cms-orbits.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}},"created_at":"2018-01-26T05:37:27.000Z","updated_at":"2024-04-30T04:43:19.771Z","dependencies_parsed_at":"2023-01-17T23:30:39.939Z","dependency_job_id":null,"html_url":"https://github.com/cms-orbits/cms-users-admin","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/cms-orbits/cms-users-admin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cms-orbits%2Fcms-users-admin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cms-orbits%2Fcms-users-admin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cms-orbits%2Fcms-users-admin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cms-orbits%2Fcms-users-admin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cms-orbits","download_url":"https://codeload.github.com/cms-orbits/cms-users-admin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cms-orbits%2Fcms-users-admin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28338969,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T10:58:46.209Z","status":"ssl_error","status_checked_at":"2026-01-12T10:58:42.742Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["docker-image","java","microservice","rabbit-publisher","spring-boot","travis-ci"],"created_at":"2026-01-12T11:05:36.626Z","updated_at":"2026-01-12T11:05:41.532Z","avatar_url":"https://github.com/cms-orbits.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cms-users-admin\n\n[![Build Status](https://travis-ci.org/cms-orbits/cms-users-admin.svg?branch=master)](https://travis-ci.org/cms-orbits/cms-users-admin)\n\nThis application is the result of doing reversing engineering to the Contest\nManagement System(CMS) and provides a backend layer for controlling the register\nprocess of new users.\n\n## Development\n\n### Build locally\n\n1) mvn install\n2) mvn package\n3) mvn spring-boot:run\n\n### Configuration file\n\nIt's necessary to add some properties to the configuration file before of\nrunning the application, these properties are:\n\n- Cookie secret key\n- CMS domain\n- CMS port\n- Database connection\n- Message broker\n- OAuth\n- Proxy considerations\n\nThe file is locate in src/main/resources.\n\n#### Cookie secret\n\nThe cookie secret key is a string characters which is used to encrypt a user\npassword. It's mandatory to put the same string that was added in CMS\nconfiguration file.\n\n```yml\n  cookie-secret: 8e045a51e4b102ea803c06f92841a1fb\n```\n\n#### CMS Domain\n\nThe domain name is necessary to redirect a login request to CMS home page.\n\n```yml\n  cms-domain: 192.168.187.134\n```\n\n#### CMS Port\n\nA port number is required only if the CMS Server is reached by IP route instead\nof using a sub-domain\n\n```yml\n  cms-port: 8888\n```\n\n#### Database connection\n\nTo set up a connection to the CMS a database connection is mandatory. It's\ndescribed into the application properties file.\n\n```yml\n---\nspring:\n  profiles: development\n  db-one:\n    datasource:\n      url: jdbc:postgresql://192.168.187.133:5432/cmsdb\n      username: postgres\n      password: postgres1\n```\n\n#### RabbitMQ connection\n\nAs same as the database the RabbitQM connection depends on multiple fields.\n\n```yml\n----\nspring:\n  rabbitmq:\n    host: 192.168.187.133\n    port: 5672\n    username: rabbit\n    password: rabbit1\n```\n\n#### Security\n\n[CMS-users-admin](https://github.com/cms-orbits/cms-users-admin) uses OAuth\nprotocol to allow authenticated access to its resources by establishing a\nconnection to a specific social network provider.\n\n```yml\n---\nsecurity:\n  google:\n    client:\n      clientId:\n      clientSecret:\n  ...\n  ...\n  github:\n    client:\n      clientId:\n      clientSecret:\n```\n\n#### Proxy considerations\n\nIf you are using a http-proxy in between to redirect all the HTTP requests to\n[CMS-users-admin](https://github.com/cms-orbits/cms-users-admin) make sure to\ninclude the parameter authorization in each request.\n\n```http\n\nAuthorization: Bearer eyJh123tokentest\n```\n\n### Configuration overrides\n\nAs it is known spring boot let externalize the application configuration, in\norder to do that parameters can be injected using the following formats.\n\n#### Running a jar file\n\n```bash\njava -jar cmsusers.jar --spring.db-one.datasource.username=custom_user\n\n```\n\n#### Running a docker image\n\n```bash\ndocker run -p 8081:8081 -e SPRING_DB_ONE_DATASOURCE_USERNAME='custom_user' cmsorbits/cms-users:1.1\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcms-orbits%2Fcms-users-admin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcms-orbits%2Fcms-users-admin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcms-orbits%2Fcms-users-admin/lists"}