{"id":22903614,"url":"https://github.com/cassproject/cass-align","last_synced_at":"2025-04-01T07:24:33.920Z","repository":{"id":73223942,"uuid":"147560731","full_name":"cassproject/cass-align","owner":"cassproject","description":"Align CASS competencies with other competencies, credentials, resources, and more.","archived":false,"fork":false,"pushed_at":"2021-12-23T22:25:17.000Z","size":7411,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-02-07T04:41:26.600Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cassproject.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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":"2018-09-05T18:15:44.000Z","updated_at":"2021-12-23T22:25:09.000Z","dependencies_parsed_at":"2023-03-11T14:34:23.376Z","dependency_job_id":null,"html_url":"https://github.com/cassproject/cass-align","commit_stats":null,"previous_names":[],"tags_count":75,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cassproject%2Fcass-align","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cassproject%2Fcass-align/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cassproject%2Fcass-align/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cassproject%2Fcass-align/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cassproject","download_url":"https://codeload.github.com/cassproject/cass-align/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246599192,"owners_count":20803157,"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-14T02:38:01.445Z","updated_at":"2025-04-01T07:24:33.915Z","avatar_url":"https://github.com/cassproject.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/cassproject/cass-align.svg?branch=master)](https://travis-ci.org/cassproject/cass-align)\n# cass-align\nCompetency and Skills Service -- Alignment Tool\n\nAlign CASS competencies with other competencies.\n\n# Features\n * View two competency frameworks and see alignments between the frameworks.\n * Merge the two frameworks and equivalent competencies, seeing a new potential merged framework.\n * Competency Alignment - Create new alignments between frameworks.\n * Customizable - Change the default behavior of the cass-align via post messages.\n * Unbranded and open source - Carries no branding information, allowing you to use it easily and without concern.\n\n# Try it out\ncass-align is available for use in default installations as part of the Framework Explorer.\n\n# Integration\nIntegrate the cass-align into your website by nesting it into an iframe on your website.\n\n```html\n\u003ciframe id=\"iframe\" width=\"100%\" height=\"800\" frameborder=\"0\"\u003e\u003c/iframe\u003e\n\u003cscript\u003e\n    document.getElementsByTagName(\"iframe\")[0].setAttribute(\"src\", \"cass-align/index.html\");\n\u003c/script\u003e\n```\n\n# URL Parameters\nTo ensure the iframe is passing the correct origin, pass the origin into the iframe using a URL parameter, `origin=window.location.origin`.\n\n# Post Messages\nCASS can operate using credentials and signals provided by the parent site. These credentials are passed into the iframe via a message, in order to avoid transmitting them over HTTP. Wait for a `{message:\"waiting\"}` message to be posted from the iframe.\n```javascript\n$(\"iframe\").ready(function () {\n    $(window).on(\"message\", function (event) {\n        if (event.originalEvent.data.message == \"waiting\") {\n            //Initialize the server and identity\n            //Set framework alignment parameters\n        }\n    });\n});\n```\n## Setting the server\nYou must set the server and the identity to be used when accessing the server. \n```javascript\n$(\"iframe\")[0].contentWindow.postMessage(JSON.stringify({\n    action: \"initIdentity\",\n    serverParm: selectedServer,\n    nameParm: loggedInIdentityName,\n    pemParm: loggedInPpkPem\n}), window.location.origin);\n```\n## Jump to a specific framework\nIf you have a specific framework you are directing your users to edit or view, you can force the cass-editor to only show that framework by using `frameworkId=\u003curl identifier of framework\u003e`\n```javascript\n$(\"iframe\")[0].contentWindow.postMessage(JSON.stringify({\n    action: \"setFwkAlignParams\",\n    fw1Id: \u003cframework1Id\u003e,\n    fw2Id: \u003cframework2Id\u003e\n}), window.location.origin);\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcassproject%2Fcass-align","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcassproject%2Fcass-align","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcassproject%2Fcass-align/lists"}