{"id":21995116,"url":"https://github.com/redhataccess/redhat_access_angular_ui_inprod","last_synced_at":"2026-04-17T15:34:06.680Z","repository":{"id":77524580,"uuid":"53689667","full_name":"redhataccess/redhat_access_angular_ui_inprod","owner":"redhataccess","description":"Legacy Angular library for in prod integration","archived":false,"fork":false,"pushed_at":"2016-05-12T20:38:53.000Z","size":323,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":22,"default_branch":"master","last_synced_at":"2025-03-23T04:17:15.359Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/redhataccess.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2016-03-11T18:53:00.000Z","updated_at":"2016-03-11T19:38:58.000Z","dependencies_parsed_at":"2023-04-27T23:01:51.065Z","dependency_job_id":null,"html_url":"https://github.com/redhataccess/redhat_access_angular_ui_inprod","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/redhataccess/redhat_access_angular_ui_inprod","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhataccess%2Fredhat_access_angular_ui_inprod","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhataccess%2Fredhat_access_angular_ui_inprod/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhataccess%2Fredhat_access_angular_ui_inprod/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhataccess%2Fredhat_access_angular_ui_inprod/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/redhataccess","download_url":"https://codeload.github.com/redhataccess/redhat_access_angular_ui_inprod/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhataccess%2Fredhat_access_angular_ui_inprod/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31934357,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T12:37:54.787Z","status":"ssl_error","status_checked_at":"2026-04-17T12:37:25.095Z","response_time":62,"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":[],"created_at":"2024-11-29T21:12:24.147Z","updated_at":"2026-04-17T15:34:06.663Z","avatar_url":"https://github.com/redhataccess.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/redhataccess/redhat_access_angular_ui_inprod.svg?branch=master)](https://travis-ci.org/redhataccess/redhat_access_angular_ui_inprod)\n\nThis is a legacy in prod clone of https://github.com/redhataccess/redhat_access_angular_ui. Why did we clone instead of just using a branch in the original repo? Its a long story.....\n\n### Installation  \nRun 'npm install' and 'bower install' to pull in dependencies. \nExecute grunt build and check the dist folder for js and css files.\n\n### StrataJS configuration\nredhat_access_angular_ui uses [stratajs](https://github.com/redhataccess/stratajs) for communication with the Red Hat Customer Portal API and has a few options integrators should set.  These should be set prior to boostrapping the AngularJS application.\n\nSet an identifier for auditing:  \n\n~~~\nwindow.strata.setRedhatClientID('product_name_and_version');  \n~~~\nUse a non-production Red Hat Customer Portal API:  \n\n~~~\nwindow.strata.setPortalHostname('hostname_with_no_protocol.com');  \n~~~\n\n\n### Bootstrapping a module inside of another angular app\n#### HTML\n~~~\n\u003cbody\u003e\n  \u003cdiv id=\"main\" class=\"content-area\"\u003e\n    \u003cdiv ng-non-bindable data-$injector=\"\"\u003e\n      \u003cdiv id='redhat-access-cases'\u003e\n        \u003cdiv ui-view autoscroll=\"false\"\u003e\u003c/div\u003e\n      \u003c/div\u003e\n    \u003c/div\u003e\n  \u003c/div\u003e\n\u003c/body\u003e\n~~~  \n\n#### JavaScript\n~~~\nangular.module('RedhatAccess.cases').config(function ($urlRouterProvider, $httpProvider) {\n  $urlRouterProvider.otherwise('case/list');\n});\n\nangular.element(document).ready(function() {\n  angular.bootstrap(document.getElementById(\"redhat-access-cases\"), ['RedhatAccess.cases']);\n});\n~~~\n\n### Module configuration\nThe RedhatAccess.cases module has the following configuration options(They MUST ALL be specified if deviating from the default)  :  \n\n~~~\nangular.module('RedhatAccess.cases')\n.value('NEW_CASE_CONFIG', {\n  'showRecommendations': true,\n  'showAttachments': true,\n  'showServerSideAttachments': true\n})\n.value('EDIT_CASE_CONFIG', {\n  'showDetails': true,\n  'showDescription': true,\n  'showBugzillas': true,\n  'showAttachments': true,\n  'showRecommendations': true,\n  'showComments': true,\n  'showServerSideAttachments': true,\n  'showEmailNotifications': true\n});\n~~~\n\n### IE8 Support\n[Angular IE8 Support Doc](https://docs.angularjs.org/guide/ie)  \nIncluded in bower_components but not in the dist/redhat_access_angular_ui.js combined module.  \nThe following shims and xmlns's should be defined:  \n\n~~~\n\u003chtml xmlns:ng=\"http://angularjs.org\" xmlns:rha=\"http://access.redhat.com\"\u003e\n\u003chead\u003e\n\u003c!--[if lte IE 8]\u003e\n\u003cscript type=\"text/javascript\" src=\"js/json2.js\"\u003e\u003c/script\u003e\n\u003cscript type=\"text/javascript\" src=\"js/ie-shiv.js\"\u003e\u003c/script\u003e                                                                                                                                          \n\u003cscript type=\"text/javascript\" src=\"js/es5-shim.js\"\u003e\u003c/script\u003e\n\u003cscript type=\"text/javascript\" src=\"js/html5shiv.js\"\u003e\u003c/script\u003e\n\u003cscript type=\"text/javascript\" src=\"js/respond.min.js\"\u003e\u003c/script\u003e\n\u003c![endif]--\u003e\n\u003c/head\u003e\n~~~\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredhataccess%2Fredhat_access_angular_ui_inprod","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredhataccess%2Fredhat_access_angular_ui_inprod","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredhataccess%2Fredhat_access_angular_ui_inprod/lists"}