The existing AttributeMatch model using the properties Id and Value have been identified as problematic and decided it should be refactored to use the property naming Type and Value.
This will however require a refactoring chores across repositories as it's already widely used, but so far only by our own implementations as external consumption of the APIs have not been opened widely yet.
- [ ] https://github.com/Altinn/altinn-resource-registry/issues/325
- [ ] https://github.com/Altinn/altinn-access-management/issues/578
- [ ] Access Management BFF & Frontend: AttributeMatch
- [ ] Altinn 2: AttributeMatchExternal in integrations with AM API (Optional)
Acceptance Criterias
All APIs using the old Id and Value Attribute model in input or output models should now use Type and Value.
Roll-out of the change should be coordinated to cause the least amount of down-time
Description
The existing AttributeMatch model using the properties
Id
andValue
have been identified as problematic and decided it should be refactored to use the property namingType
andValue
.This will however require a refactoring chores across repositories as it's already widely used, but so far only by our own implementations as external consumption of the APIs have not been opened widely yet.
Additional Information
Slack discussion.: https://altinndevops.slack.com/archives/CQPNM75L3/p1704368339145839
Tasks
Refactoring chores (and order of roll-out?)
Acceptance Criterias
All APIs using the old
Id
andValue
Attribute model in input or output models should now useType
andValue
. Roll-out of the change should be coordinated to cause the least amount of down-timeExample old model:
Example new model: