{"id":17668538,"url":"https://github.com/evanshortiss/rhmi-solution-pattern-orders-management-ui","last_synced_at":"2025-05-08T22:13:39.163Z","repository":{"id":37789361,"uuid":"214291085","full_name":"evanshortiss/rhmi-solution-pattern-orders-management-ui","owner":"evanshortiss","description":null,"archived":false,"fork":false,"pushed_at":"2022-12-11T08:58:24.000Z","size":470,"stargazers_count":1,"open_issues_count":21,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-08T22:13:37.075Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/evanshortiss.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":"2019-10-10T21:44:26.000Z","updated_at":"2023-03-05T07:22:19.000Z","dependencies_parsed_at":"2023-01-26T19:46:53.214Z","dependency_job_id":null,"html_url":"https://github.com/evanshortiss/rhmi-solution-pattern-orders-management-ui","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/evanshortiss%2Frhmi-solution-pattern-orders-management-ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evanshortiss%2Frhmi-solution-pattern-orders-management-ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evanshortiss%2Frhmi-solution-pattern-orders-management-ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evanshortiss%2Frhmi-solution-pattern-orders-management-ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/evanshortiss","download_url":"https://codeload.github.com/evanshortiss/rhmi-solution-pattern-orders-management-ui/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253154977,"owners_count":21862623,"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-10-23T23:22:55.162Z","updated_at":"2025-05-08T22:13:39.131Z","avatar_url":"https://github.com/evanshortiss.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RHMI RHTE Lab No. 1 Order Management UI\n\n## Purpose\n\nThis UI displays orders received and provides a facility to assign a user to\nthe order.\n\n## Local Development\n\nRequires:\n\n* Node.js 10+\n* npm 6+\n\nRun the following commands from the *frontend/* directory in this repository:\n\n```\nnpm i\nnpm run start:dev\n```\n\nYou can now access the application on http://localhost:8080\n\n## Applying Keycloak / Red Hat SSO Protection\n\nStart the server with the `KEYCLOAK_CONFIG` environment variable set to a valid\nJSON Object containing a Keycloak configuration. For example:\n\n```\n# You can get this from a client in keycloak\nexport KEYCLOAK_CONFIG='{\"realm\":\"master\",\"auth-server-url\":\"http://localhost:9090/auth\",\"ssl-required\":\"external\",\"resource\":\"orders-app\",\"public-client\":true,\"confidential-port\":0}'\n\n# The server will automatically apply keycloak middleware using KEYCLOAK_CONFIG\nnpm run start:dev\n```\n\nIf you need a Keycloak instance locally try the following:\n\n1. `docker run -p 9090:9090 jboss/keycloak`\n1. Access Keycloak at `http://localhost:9090` when it's ready\n1. Login using the username `admin` and password `admin`\n1. Create a *Client* and set the *Root URL* to `http://localhost:8080`\n1. Ensure the *Access Type* for the client is set to `public`\n1. Create a *Role* named `staff` in this new client under the *Roles* tab\n1. Create a *User* with any name\n1. Choose *User \u003e Credentials* and assign a password to the user\n1. Choose *User \u003e Role Mappings* and select your *Client* from the *Client Roles* dropdown.\n1. Assign the `staff` role.\n\n## Deployment\n\nTo deploy to an OpenShift cluster you're logged into use `npm run openshift`.\n\nAn image is also available for use from quay.io/evanshortiss/rhmi-lab-order-management-ui:latest\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevanshortiss%2Frhmi-solution-pattern-orders-management-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevanshortiss%2Frhmi-solution-pattern-orders-management-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevanshortiss%2Frhmi-solution-pattern-orders-management-ui/lists"}