Skip to content

Commit 26325df

Browse files
authored
Merge pull request #379 from abdulla-ashurov/renameFieldsFromCompliance
Rename CDCertificationID to CDCertificateID and add new Certification Types
2 parents e9e4771 + bd96e3c commit 26325df

File tree

65 files changed

+973
-972
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+973
-972
lines changed

docs/static/openapi.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ paths:
273273
cDVersionNumber:
274274
type: integer
275275
format: int64
276-
cDCertificationId:
276+
cDCertificateId:
277277
type: string
278278
certificationRoute:
279279
type: string
@@ -456,7 +456,7 @@ paths:
456456
cDVersionNumber:
457457
type: integer
458458
format: int64
459-
cDCertificationId:
459+
cDCertificateId:
460460
type: string
461461
certificationRoute:
462462
type: string
@@ -584,7 +584,7 @@ paths:
584584
cDVersionNumber:
585585
type: integer
586586
format: int64
587-
cDCertificationId:
587+
cDCertificateId:
588588
type: string
589589
certificationRoute:
590590
type: string
@@ -774,7 +774,7 @@ paths:
774774
cDVersionNumber:
775775
type: integer
776776
format: int64
777-
cDCertificationId:
777+
cDCertificateId:
778778
type: string
779779
certificationRoute:
780780
type: string
@@ -14005,7 +14005,7 @@ definitions:
1400514005
cDVersionNumber:
1400614006
type: integer
1400714007
format: int64
14008-
cDCertificationId:
14008+
cDCertificateId:
1400914009
type: string
1401014010
certificationRoute:
1401114011
type: string
@@ -14077,7 +14077,7 @@ definitions:
1407714077
cDVersionNumber:
1407814078
type: integer
1407914079
format: int64
14080-
cDCertificationId:
14080+
cDCertificateId:
1408114081
type: string
1408214082
certificationRoute:
1408314083
type: string
@@ -14209,7 +14209,7 @@ definitions:
1420914209
cDVersionNumber:
1421014210
type: integer
1421114211
format: int64
14212-
cDCertificationId:
14212+
cDCertificateId:
1421314213
type: string
1421414214
certificationRoute:
1421514215
type: string
@@ -14311,7 +14311,7 @@ definitions:
1431114311
cDVersionNumber:
1431214312
type: integer
1431314313
format: int64
14314-
cDCertificationId:
14314+
cDCertificateId:
1431514315
type: string
1431614316
certificationRoute:
1431714317
type: string
@@ -14515,7 +14515,7 @@ definitions:
1451514515
cDVersionNumber:
1451614516
type: integer
1451714517
format: int64
14518-
cDCertificationId:
14518+
cDCertificateId:
1451914519
type: string
1452014520
certificationRoute:
1452114521
type: string
@@ -14590,7 +14590,7 @@ definitions:
1459014590
cDVersionNumber:
1459114591
type: integer
1459214592
format: int64
14593-
cDCertificationId:
14593+
cDCertificateId:
1459414594
type: string
1459514595
certificationRoute:
1459614596
type: string

docs/transactions.md

+18-18
Original file line numberDiff line numberDiff line change
@@ -416,8 +416,8 @@ from the revocation list.
416416
- softwareVersion: `uint32` - model software version
417417
- softwareVersionSting: `string` - model software version string
418418
- certificationDate: `string` - The date of model certification (rfc3339 encoded), for example 2019-10-12T07:20:50.52Z
419-
- certificationType: `string` - Certification type - Currently 'zigbee' and 'matter' types are supported
420-
- cdCertificationId: `string` - CD Certification ID
419+
- certificationType: `string` - Certification type - Currently 'zigbee', 'matter', 'access control', 'product security' types are supported
420+
- cdCertificateId: `string` - CD Certificate ID
421421
- reason `optional(string)` - optional comment describing the reason of the certification
422422
- cDVersionNumber `optional(uint32)` - optional field describing the CD version number
423423
- familyId `optional(string)` - optional field describing the family ID
@@ -436,9 +436,9 @@ from the revocation list.
436436
- Who can send:
437437
- CertificationCenter
438438
- CLI command:
439-
- `dcld tx compliance certify-model --vid=<uint16> --pid=<uint16> --softwareVersion=<uint32> --softwareVersionString=<string> --certificationType=<matter|zigbee> --certificationDate=<rfc3339 encoded date> --cdCertificationId=<string> --from=<account>`
439+
- `dcld tx compliance certify-model --vid=<uint16> --pid=<uint16> --softwareVersion=<uint32> --softwareVersionString=<string> --certificationType=<matter|zigbee|access control|product security> --certificationDate=<rfc3339 encoded date> --cdCertificateId=<string> --from=<account>`
440440
- CLI command full:
441-
- `dcld tx compliance certify-model --vid=<uint16> --pid=<uint16> --softwareVersion=<uint32> --softwareVersionString=<string> --certificationType=<matter|zigbee> --certificationDate=<rfc3339 encoded date> --cdCertificationId=<string> --reason=<string> --cDVersionNumber=<uint32> --familyId=<string> --supportedClusters=<string> --compliantPlatformUsed=<string> --compliantPlatformVersion=<string> --OSVersion=<string> --certificationRoute=<string> --programType=<string> --programTypeVersion=<string> --transport=<string> --parentChild=<string> --from=<account>`
441+
- `dcld tx compliance certify-model --vid=<uint16> --pid=<uint16> --softwareVersion=<uint32> --softwareVersionString=<string> --certificationType=<matter|zigbee|access control|product security> --certificationDate=<rfc3339 encoded date> --cdCertificateId=<string> --reason=<string> --cDVersionNumber=<uint32> --familyId=<string> --supportedClusters=<string> --compliantPlatformUsed=<string> --compliantPlatformVersion=<string> --OSVersion=<string> --certificationRoute=<string> --programType=<string> --programTypeVersion=<string> --transport=<string> --parentChild=<string> --from=<account>`
442442

443443
#### REVOKE_MODEL_CERTIFICATION
444444

@@ -458,15 +458,15 @@ is written on the ledger (`CERTIFY_MODEL` was called), or
458458
- softwareVersion: `uint32` - model software version
459459
- softwareVersionSting: `string` - model software version string
460460
- revocationDate: `string` - The date of model revocation (rfc3339 encoded), for example 2019-10-12T07:20:50.52Z
461-
- certificationType: `string` - Certification type - Currently 'zigbee' and 'matter' types are supported
461+
- certificationType: `string` - Certification type - Currently 'zigbee' and 'matter', 'access control', 'product security' types are supported
462462
- reason `optional(string)` - optional comment describing the reason of revocation
463463
- In State:
464464
- `compliance/ComplianceInfo/value/<vid>/<pid>/<softwareVersion>/<certificationType>`
465465
- `compliance/RevokedModel/value/<vid>/<pid>/<softwareVersion>/<certificationType>`
466466
- Who can send:
467467
- CertificationCenter
468468
- CLI command:
469-
- `dcld tx compliance revoke-model --vid=<uint16> --pid=<uint16> --softwareVersion=<uint32> --certificationType=<matter|zigbee> --revocationDate=<rfc3339 encoded date> --reason=<string> --from=<account>`
469+
- `dcld tx compliance revoke-model --vid=<uint16> --pid=<uint16> --softwareVersion=<uint32> --certificationType=<matter|zigbee|access control|product security> --revocationDate=<rfc3339 encoded date> --reason=<string> --from=<account>`
470470

471471
#### PROVISION_MODEL
472472

@@ -484,8 +484,8 @@ Can not be set if there is already a certification record on the ledger (certifi
484484
- softwareVersion: `uint32` - model software version
485485
- softwareVersionSting: `string` - model software version string
486486
- provisionalDate: `string` - The date of model provisioning (rfc3339 encoded), for example 2019-10-12T07:20:50.52Z
487-
- certificationType: `string` - Certification type - Currently 'zigbee' and 'matter' types are supported
488-
- cdCertificationId: `string` - CD Certification ID
487+
- certificationType: `string` - Certification type - Currently 'zigbee' and 'matter', 'access control', 'product security' types are supported
488+
- cdCertificateId: `string` - CD Certificate ID
489489
- reason `optional(string)` - optional comment describing the reason of revocation
490490
- cDVersionNumber `optional(uint32)` - optional field describing the CD version number
491491
- familyId `optional(string)` - optional field describing the family ID
@@ -504,9 +504,9 @@ Can not be set if there is already a certification record on the ledger (certifi
504504
- Who can send:
505505
- CertificationCenter
506506
- CLI command:
507-
- `dcld tx compliance provision-model --vid=<uint16> --pid=<uint16> --softwareVersion=<uint32> --certificationType=<matter|zigbee> --provisionalDate=<rfc3339 encoded date> --from=<account>`
507+
- `dcld tx compliance provision-model --vid=<uint16> --pid=<uint16> --softwareVersion=<uint32> --certificationType=<matter|zigbee|access control|product security> --provisionalDate=<rfc3339 encoded date> --from=<account>`
508508
- CLI command full:
509-
- `dcld tx compliance provision-model --vid=<uint16> --pid=<uint16> --softwareVersion=<uint32> --certificationType=<matter|zigbee> --provisionalDate=<rfc3339 encoded date> --cdCertificationId=<string> --reason=<string> --cDVersionNumber=<uint32> --familyId=<string> --supportedClusters=<string> --compliantPlatformUsed=<string> --compliantPlatformVersion=<string> --OSVersion=<string> --certificationRoute=<string> --programType=<string> --programTypeVersion=<string> --transport=<string> --parentChild=<string> --from=<account>`
509+
- `dcld tx compliance provision-model --vid=<uint16> --pid=<uint16> --softwareVersion=<uint32> --certificationType=<matter|zigbee|access control|product security> --provisionalDate=<rfc3339 encoded date> --cdCertificateId=<string> --reason=<string> --cDVersionNumber=<uint32> --familyId=<string> --supportedClusters=<string> --compliantPlatformUsed=<string> --compliantPlatformVersion=<string> --OSVersion=<string> --certificationRoute=<string> --programType=<string> --programTypeVersion=<string> --transport=<string> --parentChild=<string> --from=<account>`
510510

511511
#### GET_CERTIFIED_MODEL
512512

@@ -530,7 +530,7 @@ You can use `GET_COMPLICE_INFO` method to get the whole compliance information.
530530
- softwareVersion: `uint32` - model software version
531531
- certification_type: `string` - Certification type - Currently 'zigbee' and 'matter' types are supported
532532
- CLI command:
533-
- `dcld query compliance certified-model --vid=<uint16> --pid=<uint16> --softwareVersion=<uint32> --certificationType=<zigbee|matter>`
533+
- `dcld query compliance certified-model --vid=<uint16> --pid=<uint16> --softwareVersion=<uint32> --certificationType=<zigbee|matter|access control|product security>`
534534
- REST API:
535535
- GET `/dcl/compliance/certified-models/{vid}/{pid}/{software_version}/{certification_type}`
536536

@@ -555,7 +555,7 @@ You can use `GET_COMPLICE_INFO` method to get the whole compliance information.
555555
- softwareVersion: `uint32` - model software version
556556
- certification_type: `string` - Certification type - Currently 'zigbee' and 'matter' types are supported
557557
- CLI command:
558-
- `dcld query compliance revoked-model --vid=<uint16> --pid=<uint16> --softwareVersion=<uint32> --certificationType=<zigbee|matter>`
558+
- `dcld query compliance revoked-model --vid=<uint16> --pid=<uint16> --softwareVersion=<uint32> --certificationType=<zigbee|matter|access control|product security>`
559559
- REST API:
560560
- GET `/dcl/compliance/revoked-models/{vid}/{pid}/{software_version}/{certification_type}`
561561

@@ -577,7 +577,7 @@ You can use `GET_COMPLICE_INFO` method to get the whole compliance information.
577577
- softwareVersion: `uint32` - model software version
578578
- certification_type: `string` - Certification type - Currently 'zigbee' and 'matter' types are supported
579579
- CLI command:
580-
- `dcld query compliance provisional-model --vid=<uint16> --pid=<uint16> --softwareVersion=<uint32> --certificationType=<zigbee|matter>`
580+
- `dcld query compliance provisional-model --vid=<uint16> --pid=<uint16> --softwareVersion=<uint32> --certificationType=<zigbee|matter|access control|product security>`
581581
- REST API:
582582
- GET `/dcl/compliance/provisional-models/{vid}/{pid}/{software_version}/{certification_type}`
583583

@@ -598,24 +598,24 @@ This function responds with `NotFound` (404 code) if compliance information is n
598598
- softwareVersion: `uint32` - model software version
599599
- certification_type: `string` - Certification type - Currently 'zigbee' and 'matter' types are supported
600600
- CLI command:
601-
- `dcld query compliance compliance-info --vid=<uint16> --pid=<uint16> --softwareVersion=<uint32> --certificationType=<zigbee|matter>`
601+
- `dcld query compliance compliance-info --vid=<uint16> --pid=<uint16> --softwareVersion=<uint32> --certificationType=<zigbee|matter|access control|product security>`
602602
- REST API:
603603
- GET `/dcl/compliance/compliance-info/{vid}/{pid}/{software_version}/{certification_type}`
604604

605605
#### GET_DEVICE_SOFTWARE_COMPLIANCE
606606

607607
**Status: Implemented**
608608

609-
Gets device software compliance associated with the `cDCertificationId`.
609+
Gets device software compliance associated with the `cDCertificateId`.
610610

611611
This function responds with `NotFound` (404 code) if device software compliance is not found in store.
612612

613613
- Parameters:
614-
- cDCertificationId: `string` - CD Certification ID
614+
- cDCertificateId: `string` - CD Certificate ID
615615
- CLI command:
616-
- `dcld query compliance device-software-compliance --cDCertificationId=<string>`
616+
- `dcld query compliance device-software-compliance --cDCertificateId=<string>`
617617
- REST API:
618-
- GET `/dcl/compliance/device-software-compliance/{cDCertificationId}`
618+
- GET `/dcl/compliance/device-software-compliance/{cDCertificateId}`
619619

620620
#### GET_ALL_CERTIFIED_MODELS
621621

0 commit comments

Comments
 (0)