CoMPAS CIM Mapping

August 29, 2025 ยท View on GitHub

Maven Build Github Action Status REUSE status Quality Gate Status CII Best Practices Slack

CoMPAS CIM Mapping

Mapping between IEC CIM and IEC 61850

The Mapping between IEC CIM and IEC 61850 is described in Mapping.

Development

Information about how to run and develop for this project, check Development.

Environment variables

Below environment variable(s) can be used to configure which claim is used to fill user information, for instance the Who Attribute in the History Record.

Environment variableJava PropertyDescriptionExample
USERINFO_WHO_CLAIMNAMEcompas.userinfo.who.claimnameThe Name of the user used in the Who History.name

Security

To use most of the endpoints the user needs to be authenticated using JWT in the authorization header. There are 4 environment variables that can be set in the container to configure the validation/processing of the JWT.

Environment variableJava PropertyDescriptionExample
JWT_VERIFY_KEYsmallrye.jwt.verify.key.locationLocation of certificates to verify the JWT.http://localhost:8089/auth/realms/compas/protocol/openid-connect/certs
JWT_VERIFY_ISSUERmp.jwt.verify.issuerThe issuer of the JWT.http://localhost:8089/auth/realms/compas
JWT_VERIFY_CLIENT_IDmp.jwt.verify.audiencesThe Client ID that should be in the "aud" claim.cim-mapping
JWT_GROUPS_PATHsmallrye.jwt.path.groupsThe JSON Path where to find the roles of the user.resource_access/cim-mapping/roles

There are no roles defined in this service, only need to be authenticated.

Contributing

Please refer to the CoMPAS Contributing Guide for contribution guidelines.