{"id":46369625,"url":"https://github.com/com-pas/compas-scl-data-service","last_synced_at":"2026-03-05T03:31:28.680Z","repository":{"id":37766846,"uuid":"364857076","full_name":"com-pas/compas-scl-data-service","owner":"com-pas","description":"Service to store and retrieve the SCL XML to a database","archived":false,"fork":false,"pushed_at":"2026-03-04T12:42:12.000Z","size":1837,"stargazers_count":4,"open_issues_count":19,"forks_count":6,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-03-04T18:29:09.874Z","etag":null,"topics":["iec61850"],"latest_commit_sha":null,"homepage":null,"language":"Java","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/com-pas.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":"SUPPORT.md","governance":"GOVERNANCE.md","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":"2021-05-06T09:32:57.000Z","updated_at":"2026-02-17T13:36:22.000Z","dependencies_parsed_at":"2024-02-05T12:23:50.412Z","dependency_job_id":"f40f1cc5-e306-4570-9984-af9ee3ff4a01","html_url":"https://github.com/com-pas/compas-scl-data-service","commit_stats":{"total_commits":576,"total_committers":10,"mean_commits":57.6,"dds":0.5138888888888888,"last_synced_commit":"020f6dbdfb430fbe7e63417f7b8af9faf2202512"},"previous_names":[],"tags_count":55,"template":false,"template_full_name":null,"purl":"pkg:github/com-pas/compas-scl-data-service","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/com-pas%2Fcompas-scl-data-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/com-pas%2Fcompas-scl-data-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/com-pas%2Fcompas-scl-data-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/com-pas%2Fcompas-scl-data-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/com-pas","download_url":"https://codeload.github.com/com-pas/compas-scl-data-service/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/com-pas%2Fcompas-scl-data-service/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30108604,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T01:39:18.192Z","status":"online","status_checked_at":"2026-03-05T02:00:06.710Z","response_time":93,"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":["iec61850"],"created_at":"2026-03-05T03:31:27.947Z","updated_at":"2026-03-05T03:31:28.667Z","avatar_url":"https://github.com/com-pas.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\nSPDX-FileCopyrightText: 2021 Alliander N.V.\n\nSPDX-License-Identifier: Apache-2.0\n--\u003e\n\n[![Maven Build Github Action Status](\u003chttps://img.shields.io/github/workflow/status/com-pas/compas-scl-data-service/Maven%20Build?logo=GitHub\u003e)](https://github.com/com-pas/compas-scl-data-service/actions?query=workflow%3A%22Maven+Build%22)\n[![REUSE status](https://api.reuse.software/badge/github.com/com-pas/compas-scl-data-service)](https://api.reuse.software/info/github.com/com-pas/compas-scl-data-service)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=com-pas_compas-scl-data-service\u0026metric=alert_status)](https://sonarcloud.io/dashboard?id=com-pas_compas-scl-data-service)\n[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/5925/badge)](https://bestpractices.coreinfrastructure.org/projects/5925)\n[![Slack](https://raw.githubusercontent.com/com-pas/compas-architecture/master/public/LFEnergy-slack.svg)](http://lfenergy.slack.com/)\n\n# CoMPAS SCL Data Service\n\nService to store and retrieve the SCL XML to a database.\n\nIn the standard configuration this component is using Quarkus to run and create a native image from it. The different\nparts of this repository can also be used separately in your own component to manage SCL XML Files in a database. The\nService Layer can be used as Java component to manage them. For more information about the architecture go\nto [documentation](doc/compas-scl-data-service.md).\n\nThere is currently one database implementations available.\n\n- For more development information about the PostgreSQL Implementation go to [PostgreSQL](doc/postgresql.md).\n\n\u003e **Note:** When switching between implementation it's a good practise to first execute a maven clean to remove\n\u003e old dependencies from the target directory in the app module.\n\n## Development\n\nSee [development](doc/development.md) documentation.\n\n## Common Environment variables\n\nBelow environment variable(s) can be used to configure which claims and information are used to fill the UserInfo\nresponse.\n\n| Environment variable             | Java Property                   | Description                                                 | Example          |\n| -------------------------------- | ------------------------------- | ----------------------------------------------------------- | ---------------- |\n| USERINFO_NAME_CLAIMNAME          | compas.userinfo.name.claimname  | The Name of the user logged in.                             | name             |\n| USERINFO_WHO_CLAIMNAME           | compas.userinfo.who.claimname   | The Name of the user used in the Who History.               | name             |\n| USERINFO_SESSION_WARNING         | compas.userinfo.session.warning | Number of minutes a Session Warning can be displayed.       | 20               |\n| USERINFO_SESSION_EXPIRES         | compas.userinfo.session.expires | Number of minutes a Session Expires to display in Frontend. | 30               |\n\n## Security\n\nTo use most of the endpoints the users needs to be authenticated using JWT in the authorization header. There are 4\nenvironment variables that can be set in the container to configure the validation/processing of the JWT.\n\n| Environment variable             | Java Property                    | Description                                        | Example                                                                |\n| -------------------------------- | -------------------------------- | -------------------------------------------------- | ---------------------------------------------------------------------- |\n| JWT_VERIFY_KEY                   | smallrye.jwt.verify.key.location | Location of certificates to verify the JWT.        | http://localhost:8089/auth/realms/compas/protocol/openid-connect/certs |\n| JWT_VERIFY_ISSUER                | mp.jwt.verify.issuer             | The issuer of the JWT.                             | http://localhost:8089/auth/realms/compas                               |\n| JWT_VERIFY_CLIENT_ID             | mp.jwt.verify.audiences          | The Client ID that should be in the \"aud\" claim.   | scl-data-service                                                       |\n| JWT_GROUPS_PATH                  | smallrye.jwt.path.groups         | The JSON Path where to find the roles of the user. | resource_access/scl-data-service/roles                                 |\n\nThe application uses the following list of roles. The fine-grained roles are built up of the types of SCL Files this\nservice supports and the rights READ/CREATE/UPDATE/DElETE. This way the mapping of the roles to groups/users can be\nconfigured as needed.\n\n- ICD_CREATE\n- ICD_DELETE\n- ICD_READ\n- ICD_UPDATE\n- SCD_CREATE\n- SCD_DELETE\n- SCD_READ\n- SCD_UPDATE\n- SSD_CREATE\n- SSD_DELETE\n- SSD_READ\n- SSD_UPDATE\n- ISD_CREATE\n- ISD_DELETE\n- ISD_READ\n- ISD_UPDATE\n- CID_CREATE\n- CID_DELETE\n- CID_READ\n- CID_UPDATE\n- IID_CREATE\n- IID_DELETE\n- IID_READ\n- IID_UPDATE\n- SED_CREATE\n- SED_DELETE\n- SED_READ\n- SED_UPDATE\n- STD_CREATE\n- STD_DELETE\n- STD_READ\n- STD_UPDATE\n\n## Contributing\n\nPlease refer to the [CoMPAS Contributing Guide](https://com-pas.github.io/contributing/) for contribution guidelines.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcom-pas%2Fcompas-scl-data-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcom-pas%2Fcompas-scl-data-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcom-pas%2Fcompas-scl-data-service/lists"}