Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
103 commits
Select commit Hold shift + click to select a range
d5ee69e
#703 Reduce `reason` fields constraints to 50KB
Abdulbois Mar 3, 2026
03d852a
#703 Enable restricting number of accounts with Trustee role
Abdulbois Mar 3, 2026
47a4b56
#703 Restrict history count of Compliance record to 20 items
Abdulbois Mar 5, 2026
7daa83e
Merge branch 'master' into #703-Conformance-with-matter-spec-Apply-ne…
Abdulbois Mar 5, 2026
caa68bc
Merge branch 'master' into #703-Conformance-with-matter-spec-Apply-ne…
Abdulbois Mar 5, 2026
b6a8c93
#703 Minor refactoring
Abdulbois Mar 5, 2026
394ff33
Revert "#703 Restrict history count of Compliance record to 20 items"
Abdulbois Mar 24, 2026
55a1fc0
Remove some enum variants from CertificationType field
Abdulbois Mar 24, 2026
cd3f3f5
Restrict CertificationRoute field with enum variants
Abdulbois Mar 24, 2026
cad748f
Update mapping document
Abdulbois Mar 24, 2026
0c91786
Update compiance doc regarding the descriptions of the flags
Abdulbois Mar 24, 2026
ab70395
Remove CertificationIdOfSoftwareComponent field from ComplianceInfo e…
Abdulbois Mar 25, 2026
2ca7f85
Add new validation for FamilyID field of ComplianceInfo entity
Abdulbois Mar 25, 2026
dad5a89
Fix integration tests
Abdulbois Mar 25, 2026
de51fa5
Remove CertificationIdOfSoftwareComponent field
Abdulbois Mar 25, 2026
0ae04b2
Fix test
Abdulbois Mar 25, 2026
daa9468
Fix test
Abdulbois Mar 25, 2026
6937390
Increase length constraints for SupportedClusters field
Abdulbois Mar 25, 2026
0dc8163
Fix test
Abdulbois Mar 25, 2026
e4ad10a
Fix test
Abdulbois Mar 25, 2026
c56bb8b
Try to find where certificationIDOfSoftwareComponent field parsing is…
Abdulbois Mar 25, 2026
c35a96c
Check pool version
Abdulbois Mar 25, 2026
776cbad
Check active node
Abdulbois Mar 25, 2026
8db468c
Check active node
Abdulbois Mar 25, 2026
8f252a7
Revert changes regarding integration test to check migration against …
Abdulbois Mar 26, 2026
9ce9c26
Fix test
Abdulbois Mar 26, 2026
2c6ad0d
Rename ProgramType to ProductType
Abdulbois Mar 26, 2026
acdcf4f
Fix tests
Abdulbois Mar 26, 2026
63de92a
Rename ProgramTypeVersion to CertificationTypeVersion
Abdulbois Mar 26, 2026
12fa9ef
Rename OSName to OSName
Abdulbois Mar 26, 2026
e36ac5a
Remove temp updates
Abdulbois Mar 26, 2026
3ac1f09
Fix integration tests
Abdulbois Mar 26, 2026
788b57c
Update descriptions of the flags
Abdulbois Mar 26, 2026
38a847e
Fix integration test
Abdulbois Mar 26, 2026
d25a762
Fix integration test
Abdulbois Mar 27, 2026
20f7b76
Dummy change to fix error in test coverage job
Abdulbois Mar 28, 2026
e55a82c
Reduce certificate size to 20KB while adding/proposing new certificates
Abdulbois Mar 28, 2026
e81d9c5
Update tests
Abdulbois Mar 30, 2026
42d1543
Update setting optional fields
Abdulbois Mar 30, 2026
3e8b3c4
Update coverage job to fix MERGE_OVERLAP issue
Abdulbois Mar 30, 2026
37d2885
Try to fix test coverage job issue
Abdulbois Mar 31, 2026
ac83b32
Add fixes to resolve OVERLAP MERGE error in coverage CI job
Abdulbois Apr 4, 2026
97cc56c
Try to fix OVERLAP MERGE error in coverage CI job
Abdulbois Apr 4, 2026
1a569cd
Try to fix OVERLAP MERGE error in coverage CI job
Abdulbois Apr 6, 2026
99818a2
Reduce size constrains of certificationType field to 20
Abdulbois Apr 6, 2026
aa6890e
Revert changes regarding gocoverage OVERLAP MERGE issue
Abdulbois Apr 6, 2026
68b7858
Fix tests
Abdulbois Apr 6, 2026
be3e086
Rename OSName to OSNameAndVersion
Abdulbois Apr 13, 2026
cf62602
Reduce size constraint for cDCertificateId from 64 to 19
Abdulbois Apr 13, 2026
8c44dc2
Apply renaming for OSVersion in missed places
Abdulbois Apr 13, 2026
602382d
#703 Restrict history count of Compliance record to 20 items
Abdulbois Mar 5, 2026
efc0bb9
Revert "Reduce size constraint for cDCertificateId from 64 to 19"
Abdulbois Apr 15, 2026
b6d76e0
Make 'FAM' prefix non-mandatory for FamilyID field
Abdulbois Apr 16, 2026
86bb6ef
Rebase into main
Abdulbois May 5, 2026
a8dd404
Merge branch 'master' into #703-Conformance-with-matter-spec-Apply-ne…
Abdulbois May 5, 2026
731e6ee
Fix integration tests
Abdulbois May 5, 2026
b740c64
Fix integration tests
Abdulbois May 5, 2026
5753149
Update docs
Abdulbois May 5, 2026
d9f05d1
Deprecate specificationVersion field of ModelVersion entity
Abdulbois May 5, 2026
2b45da5
Update type of specificationVersion field from string to uint32
Abdulbois May 6, 2026
1ef41f6
Make programTypeVersion, compliantPlatformUsed, compliantPlatformVers…
Abdulbois May 6, 2026
37ac1d5
Update description of SpecificationVersion feild
Abdulbois May 6, 2026
f3ff33a
Add new validation for the Transport field of the ComplianceInfo entity
Abdulbois May 6, 2026
9351411
Add new validation for the SupportedClusters field of the ComplianceI…
Abdulbois May 6, 2026
1813199
Disable linter check for deprecated fields in test files
Abdulbois May 6, 2026
0cb0d1f
Disable linter check for deprecated fields
Abdulbois May 6, 2026
041645d
Remove deprecated flag from CLI test
Abdulbois May 6, 2026
9a64c4c
Update deprecated fields in ts files
Abdulbois May 6, 2026
e17413e
Update deprecated fields in openapi.yml
Abdulbois May 6, 2026
cd60d8a
Update deprecation comments
Abdulbois May 6, 2026
8d3ad78
Fix lint error
Abdulbois May 7, 2026
893a24a
Enable missed certificationIDOfSoftwareComponent flag in CLI
Abdulbois May 7, 2026
a04811b
Increase catch up time in integration tests and update Dockerfile build
Abdulbois May 7, 2026
a8e6137
Add missed flag in provision-model test
Abdulbois May 7, 2026
8bfab42
Revert deprecation for programTypeVersion field
Abdulbois May 7, 2026
71d9db9
Refactor compliance.md doc
Abdulbois May 7, 2026
9abc9e7
Deprecate certificationIDOfSoftwareComponent field
Abdulbois May 7, 2026
cbdd7f3
Revert History length limit changes
Abdulbois May 7, 2026
831928e
Add negative tests for ParentChild field
Abdulbois May 7, 2026
6adeb13
Add negative tests for familyID and certificationRoute fields
Abdulbois May 7, 2026
305b89b
Add new validation for ProgramType field
Abdulbois May 7, 2026
25af512
Enable setting ProgramTypeVersion when ProgramType is set or to be set
Abdulbois May 7, 2026
5770339
Update command description for model certification
Abdulbois May 7, 2026
0da8fb9
Fix integration tests
Abdulbois May 8, 2026
918e03a
Fix integration tests
Abdulbois May 8, 2026
8f0a81b
Fix grpc_rest integration tests
Abdulbois May 8, 2026
895dfbf
Update descriptions in CLI and doc
Abdulbois May 8, 2026
0d66bda
Fix grpc_rest integration tests
Abdulbois May 8, 2026
131ae39
Fix grpc_rest integration tests
Abdulbois May 9, 2026
77a9dd9
Fix grpc_rest integration tests
Abdulbois May 9, 2026
75c2967
Fix grpc_rest integration tests
Abdulbois May 9, 2026
d1ce545
Fix grpc_rest integration tests
Abdulbois May 9, 2026
a3f3e2f
Fix grpc_rest integration tests
Abdulbois May 11, 2026
0e3b199
Release 1.6.0-0.dev.3
Abdulbois May 11, 2026
bde6b36
Fix integration tests due to changes in v1.6.0-0.dev.3 release
Abdulbois May 11, 2026
761f5bf
Fix integration tests due to changes in v1.6.0-0.dev.3 release
Abdulbois May 12, 2026
4a2f877
Enable schema version bumping for Compliance module
Abdulbois May 13, 2026
73b3ff7
Refactor
Abdulbois May 14, 2026
dc0a213
Make schemaVersion equal to 1 for txn messages and cover with tests
Abdulbois May 15, 2026
dc34a2d
Apply default values for ComplianceInfo CLI flags
Abdulbois May 15, 2026
6348316
Update tests and docs regarding value of SchemaVersion
Abdulbois May 15, 2026
00aaed8
Fix lint
Abdulbois May 15, 2026
1eb68cd
Fix integration tests
Abdulbois May 15, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,12 @@ issues:
- perfsprint
- dupword
- testifylint
- path: _test\.go$
linters:
- staticcheck
text: "SA1019:"
- path: helpers\.go$
linters:
- staticcheck
text: "SA1019:"

2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
FROM ubuntu:20.04 AS builder

ARG GO_VERSION
ENV GO_VERSION=1.20
ENV GO_VERSION=1.20.14

RUN apt-get update --fix-missing
RUN apt-get install -y wget git gcc
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile-build
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
FROM ubuntu:20.04 AS builder

ARG GO_VERSION
ENV GO_VERSION=1.20
ENV GO_VERSION=1.20.14

RUN apt-get update
RUN apt-get install -y wget git gcc make
Expand Down
8 changes: 4 additions & 4 deletions docs/mapping_against_matter_spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,16 @@ Below is the list of notes to consider while mapping DCL Compliance module to Ma
1. The [Device Software Compliance schema](https://github.com/CHIP-Specifications/connectedhomeip-spec/blob/master/src/service_device_management/DistributedComplianceLedger.adoc#8-devicesoftwarecompliance--compliance-test-result-schema) corresponds to the [Compliance Info](../proto/zigbeealliance/distributedcomplianceledger/compliance/compliance_info.proto) entity, and the associated `write/read` requests can be found in the [Compliance section](transactions.md#compliance)
2. In DCL, specific endpoints are used (by CSA) to handle [certification status](https://github.com/CHIP-Specifications/connectedhomeip-spec/blob/master/src/service_device_management/DistributedComplianceLedger.adoc#82-softwareversioncertificationstatusenum-type) of the device software version according to the provided `certificatType`(ZB/Matter):
- [Provision](transactions/compliance.md#PROVISION_MODEL) endpoint is used to register that particular device software is in `provisional` (going into certification testing phase) state
* **Note:** This endpoint **cannot** be used for device software versions that are already in `compliant` or `revoked` state
- [Certify](transactions/compliance.md#CERTIFY_MODEL) endpoint is used to register that particular device software version is in `compliant` state
* **Note:** This endpoint **cannot** be used for device software versions that are already in `certified` or `revoked` state
- [Certify](transactions/compliance.md#CERTIFY_MODEL) endpoint is used to register that particular device software version is in `certified` state
* **Note:** This endpoint **can** be used for device software versions that are already in `provisional` or `revoked` state (e.g. re-certification)
- [Revoke](transactions/compliance.md#REVOKE_MODEL_CERTIFICATION) endpoint is used to register that particular device software version is `revoked`
* **Note:** This endpoint **can** be used for device software versions that are already in `provisional` or `compliant` state
* **Note:** This endpoint **can** be used for device software versions that are already in `provisional` or `certified` state
- [Update](transactions/compliance.md#UPDATE_COMPLIANCE_INFO) endpoint is used to update the additional-info/metadata of a particular device software version
* **Note:** This endpoint **cannot** be used to change the certification status
3. In DCL, there are several query endpoints can be used for specific reading purposes.
- [Provisional Model](transactions/compliance.md#GET_PROVISIONAL_MODEL) can be used to retrieve/check the software version certification of particular device is in `provisional` state
- [Certified Model](transactions/compliance.md#GET_CERTIFIED_MODEL) can be used to retrieve/check the software version certification of particular device in `compliant` state
- [Certified Model](transactions/compliance.md#GET_CERTIFIED_MODEL) can be used to retrieve/check the software version certification of particular device in `certified` state
- [Revoked Model](transactions/compliance.md#GET_REVOKED_MODEL) can be used to retrieve/check the software version certification of particular device in `revoked` state
- [Compliance Info](transactions/compliance.md#GET_COMPLIANCE_INFO) can be used to get the full compliance(including certification state) information of a particular device software version, bypassing state check query calls mentioned above
- [Device Software Compliance](transactions/compliance.md#GET_DEVICE_SOFTWARE_COMPLIANCE) can be used to get all compliance records associated with [CD Certificate ID](https://github.com/CHIP-Specifications/connectedhomeip-spec/blob/master/src/service_device_management/DistributedComplianceLedger.adoc#83-cdcertificateid)
75 changes: 75 additions & 0 deletions docs/static/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,10 @@ paths:
type: string
compliantPlatformUsed:
type: string
title: Deprecated
compliantPlatformVersion:
type: string
title: Deprecated
transport:
type: string
familyId:
Expand All @@ -295,13 +297,18 @@ paths:
type: string
OSVersion:
type: string
title: Deprecated
parentChild:
type: string
certificationIdOfSoftwareComponent:
type: string
title: Deprecated
schemaVersion:
type: integer
format: int64
specificationVersion:
type: integer
format: int64
pagination:
type: object
properties:
Expand Down Expand Up @@ -473,8 +480,10 @@ paths:
type: string
compliantPlatformUsed:
type: string
title: Deprecated
compliantPlatformVersion:
type: string
title: Deprecated
transport:
type: string
familyId:
Expand All @@ -483,13 +492,18 @@ paths:
type: string
OSVersion:
type: string
title: Deprecated
parentChild:
type: string
certificationIdOfSoftwareComponent:
type: string
title: Deprecated
schemaVersion:
type: integer
format: int64
specificationVersion:
type: integer
format: int64
default:
description: An unexpected error response.
schema:
Expand Down Expand Up @@ -605,8 +619,10 @@ paths:
type: string
compliantPlatformUsed:
type: string
title: Deprecated
compliantPlatformVersion:
type: string
title: Deprecated
transport:
type: string
familyId:
Expand All @@ -615,13 +631,18 @@ paths:
type: string
OSVersion:
type: string
title: Deprecated
parentChild:
type: string
certificationIdOfSoftwareComponent:
type: string
title: Deprecated
schemaVersion:
type: integer
format: int64
specificationVersion:
type: integer
format: int64
schemaVersion:
type: integer
format: int64
Expand Down Expand Up @@ -803,8 +824,10 @@ paths:
type: string
compliantPlatformUsed:
type: string
title: Deprecated
compliantPlatformVersion:
type: string
title: Deprecated
transport:
type: string
familyId:
Expand All @@ -813,13 +836,18 @@ paths:
type: string
OSVersion:
type: string
title: Deprecated
parentChild:
type: string
certificationIdOfSoftwareComponent:
type: string
title: Deprecated
schemaVersion:
type: integer
format: int64
specificationVersion:
type: integer
format: int64
schemaVersion:
type: integer
format: int64
Expand Down Expand Up @@ -9221,6 +9249,9 @@ paths:
specificationVersion:
type: integer
format: int64
title: >-
Deprecated: will be stated/stored in ComplianceInfo
record:
default:
description: An unexpected error response.
schema:
Expand Down Expand Up @@ -17370,8 +17401,10 @@ definitions:
type: string
compliantPlatformUsed:
type: string
title: Deprecated
compliantPlatformVersion:
type: string
title: Deprecated
transport:
type: string
familyId:
Expand All @@ -17380,13 +17413,18 @@ definitions:
type: string
OSVersion:
type: string
title: Deprecated
parentChild:
type: string
certificationIdOfSoftwareComponent:
type: string
title: Deprecated
schemaVersion:
type: integer
format: int64
specificationVersion:
type: integer
format: int64
zigbeealliance.distributedcomplianceledger.compliance.DeviceSoftwareCompliance:
type: object
properties:
Expand Down Expand Up @@ -17450,8 +17488,10 @@ definitions:
type: string
compliantPlatformUsed:
type: string
title: Deprecated
compliantPlatformVersion:
type: string
title: Deprecated
transport:
type: string
familyId:
Expand All @@ -17460,13 +17500,18 @@ definitions:
type: string
OSVersion:
type: string
title: Deprecated
parentChild:
type: string
certificationIdOfSoftwareComponent:
type: string
title: Deprecated
schemaVersion:
type: integer
format: int64
specificationVersion:
type: integer
format: int64
schemaVersion:
type: integer
format: int64
Expand Down Expand Up @@ -17600,8 +17645,10 @@ definitions:
type: string
compliantPlatformUsed:
type: string
title: Deprecated
compliantPlatformVersion:
type: string
title: Deprecated
transport:
type: string
familyId:
Expand All @@ -17610,13 +17657,18 @@ definitions:
type: string
OSVersion:
type: string
title: Deprecated
parentChild:
type: string
certificationIdOfSoftwareComponent:
type: string
title: Deprecated
schemaVersion:
type: integer
format: int64
specificationVersion:
type: integer
format: int64
pagination:
type: object
properties:
Expand Down Expand Up @@ -17711,8 +17763,10 @@ definitions:
type: string
compliantPlatformUsed:
type: string
title: Deprecated
compliantPlatformVersion:
type: string
title: Deprecated
transport:
type: string
familyId:
Expand All @@ -17721,13 +17775,18 @@ definitions:
type: string
OSVersion:
type: string
title: Deprecated
parentChild:
type: string
certificationIdOfSoftwareComponent:
type: string
title: Deprecated
schemaVersion:
type: integer
format: int64
specificationVersion:
type: integer
format: int64
schemaVersion:
type: integer
format: int64
Expand Down Expand Up @@ -17938,8 +17997,10 @@ definitions:
type: string
compliantPlatformUsed:
type: string
title: Deprecated
compliantPlatformVersion:
type: string
title: Deprecated
transport:
type: string
familyId:
Expand All @@ -17948,13 +18009,18 @@ definitions:
type: string
OSVersion:
type: string
title: Deprecated
parentChild:
type: string
certificationIdOfSoftwareComponent:
type: string
title: Deprecated
schemaVersion:
type: integer
format: int64
specificationVersion:
type: integer
format: int64
zigbeealliance.distributedcomplianceledger.compliance.QueryGetDeviceSoftwareComplianceResponse:
type: object
properties:
Expand Down Expand Up @@ -18021,8 +18087,10 @@ definitions:
type: string
compliantPlatformUsed:
type: string
title: Deprecated
compliantPlatformVersion:
type: string
title: Deprecated
transport:
type: string
familyId:
Expand All @@ -18031,13 +18099,18 @@ definitions:
type: string
OSVersion:
type: string
title: Deprecated
parentChild:
type: string
certificationIdOfSoftwareComponent:
type: string
title: Deprecated
schemaVersion:
type: integer
format: int64
specificationVersion:
type: integer
format: int64
schemaVersion:
type: integer
format: int64
Expand Down Expand Up @@ -23603,6 +23676,7 @@ definitions:
specificationVersion:
type: integer
format: int64
title: 'Deprecated: will be stated/stored in ComplianceInfo record:'
zigbeealliance.distributedcomplianceledger.model.ModelVersions:
type: object
properties:
Expand Down Expand Up @@ -23875,6 +23949,7 @@ definitions:
specificationVersion:
type: integer
format: int64
title: 'Deprecated: will be stated/stored in ComplianceInfo record:'
zigbeealliance.distributedcomplianceledger.model.QueryGetModelVersionsResponse:
type: object
properties:
Expand Down
Loading
Loading