@itentialopensource/adapter-digicert_pki 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/.eslintignore +6 -0
  2. package/.eslintrc.js +18 -0
  3. package/.gitlab/.gitkeep +0 -0
  4. package/.gitlab/issue_templates/.gitkeep +0 -0
  5. package/.gitlab/issue_templates/Default.md +17 -0
  6. package/.gitlab/issue_templates/bugReportTemplate.md +76 -0
  7. package/.gitlab/issue_templates/featureRequestTemplate.md +14 -0
  8. package/.jshintrc +0 -0
  9. package/AUTH.md +39 -0
  10. package/BROKER.md +199 -0
  11. package/CALLS.md +356 -0
  12. package/CHANGELOG.md +9 -0
  13. package/CODE_OF_CONDUCT.md +43 -0
  14. package/CONTRIBUTING.md +172 -0
  15. package/ENHANCE.md +69 -0
  16. package/LICENSE +201 -0
  17. package/PROPERTIES.md +641 -0
  18. package/README.md +337 -0
  19. package/SUMMARY.md +9 -0
  20. package/SYSTEMINFO.md +11 -0
  21. package/TROUBLESHOOT.md +47 -0
  22. package/adapter.js +3945 -0
  23. package/adapterBase.js +1787 -0
  24. package/entities/.generic/action.json +214 -0
  25. package/entities/.generic/schema.json +28 -0
  26. package/entities/.system/action.json +50 -0
  27. package/entities/.system/mockdatafiles/getToken-default.json +3 -0
  28. package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
  29. package/entities/.system/schema.json +19 -0
  30. package/entities/.system/schemaTokenReq.json +53 -0
  31. package/entities/.system/schemaTokenResp.json +53 -0
  32. package/entities/AuditAPI/action.json +46 -0
  33. package/entities/AuditAPI/schema.json +20 -0
  34. package/entities/CAAPI/action.json +46 -0
  35. package/entities/CAAPI/schema.json +20 -0
  36. package/entities/CertificateEnrollmentAPI/action.json +166 -0
  37. package/entities/CertificateEnrollmentAPI/schema.json +26 -0
  38. package/entities/CertificateProfileAPI/action.json +46 -0
  39. package/entities/CertificateProfileAPI/mockdatafiles/getAllProfilesUsingGET-default.json +1288 -0
  40. package/entities/CertificateProfileAPI/schema.json +20 -0
  41. package/entities/EnrollStatusAPI/action.json +25 -0
  42. package/entities/EnrollStatusAPI/mockdatafiles/enrollStatusUsingGET-default.json +17 -0
  43. package/entities/EnrollStatusAPI/schema.json +30 -0
  44. package/entities/HelloAPI/action.json +25 -0
  45. package/entities/HelloAPI/schema.json +19 -0
  46. package/entities/PROFILEAPI/action.json +124 -0
  47. package/entities/PROFILEAPI/schema.json +24 -0
  48. package/entities/SearchCertificateAPI/action.json +24 -0
  49. package/entities/SearchCertificateAPI/schema.json +19 -0
  50. package/entities/SeatManagementAPI/action.json +85 -0
  51. package/entities/SeatManagementAPI/schema.json +22 -0
  52. package/entities/UserManagementAPI/action.json +85 -0
  53. package/entities/UserManagementAPI/schema.json +33 -0
  54. package/error.json +190 -0
  55. package/package.json +86 -0
  56. package/pronghorn.json +4141 -0
  57. package/propertiesDecorators.json +14 -0
  58. package/propertiesSchema.json +1248 -0
  59. package/refs?service=git-upload-pack +0 -0
  60. package/report/DigiCert One Swagger v1.0.44.json +1 -0
  61. package/report/adapterInfo.json +10 -0
  62. package/report/creationReport.json +490 -0
  63. package/sampleProperties.json +195 -0
  64. package/test/integration/adapterTestBasicGet.js +83 -0
  65. package/test/integration/adapterTestConnectivity.js +93 -0
  66. package/test/integration/adapterTestIntegration.js +1867 -0
  67. package/test/unit/adapterBaseTestUnit.js +949 -0
  68. package/test/unit/adapterTestUnit.js +2278 -0
  69. package/utils/adapterInfo.js +206 -0
  70. package/utils/addAuth.js +94 -0
  71. package/utils/artifactize.js +146 -0
  72. package/utils/basicGet.js +50 -0
  73. package/utils/checkMigrate.js +63 -0
  74. package/utils/entitiesToDB.js +178 -0
  75. package/utils/findPath.js +74 -0
  76. package/utils/methodDocumentor.js +225 -0
  77. package/utils/modify.js +154 -0
  78. package/utils/packModificationScript.js +35 -0
  79. package/utils/patches2bundledDeps.js +90 -0
  80. package/utils/pre-commit.sh +32 -0
  81. package/utils/removeHooks.js +20 -0
  82. package/utils/setup.js +33 -0
  83. package/utils/tbScript.js +246 -0
  84. package/utils/tbUtils.js +490 -0
  85. package/utils/testRunner.js +298 -0
  86. package/utils/troubleshootingAdapter.js +195 -0
  87. package/workflows/README.md +3 -0
Binary file
@@ -0,0 +1 @@
1
+ {"swagger":"2.0","info":{"description":"This document specifies the APIs that user can implement to consume DigiCert PKI platform web services. It details a set of RESTful APIs to allow issuance, management of certificates and users.","version":"1.0.44","title":"DigiCert PKI Platform Rest APIs"},"host":"pki-ws-rest.symauth.com","basePath":"/mpki","tags":[{"name":"Audit API","description":"Audit Controller"},{"name":"CA API","description":"Ca Controller"},{"name":"Certificate Enrollment API","description":"Certificate Controller"},{"name":"Certificate Profile API","description":"Profile Controller"},{"name":"Enroll Status API","description":"Enroll Status Controller"},{"name":"Hello API","description":"Hello Controller"},{"name":"PROFILE API","description":"Profile Creation Controller"},{"name":"Search Certificate API","description":"Search Certificate Controller"},{"name":"Seat Management API","description":"Seat Management Controller"},{"name":"User Management API","description":"User Management Controller"}],"paths":{"/api/v1/audit-log":{"get":{"tags":["Audit API"],"summary":"This API is used to get audit details for given query param","operationId":"getAuditsUsingGET","produces":["application/json"],"parameters":[{"name":"X-API-Key","in":"header","required":false,"type":"string"},{"name":"action","in":"query","description":"Available values : USER_ENROLLED, USER_INFO_EDIT, USER_CREATED , USER_DELETED etc.\nPlease refer API Docs for available values.","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"adminRA","in":"query","description":"Administrator userName or RA common name","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"dateFrom","in":"query","description":"Datetime in ISO format","required":true,"type":"string"},{"name":"dateTo","in":"query","description":"Datetime in ISO format. Time span from dateFrom cannot exceed 365 days.","required":true,"type":"string"},{"name":"limit","in":"query","description":"Default Limit is 100","required":false,"type":"integer","format":"int32","x-example":10},{"name":"offset","in":"query","description":"Default value is 0","required":false,"type":"integer","format":"int32","x-example":0}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Response"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}},"/api/v1/audit-log/{auditId}":{"get":{"tags":["Audit API"],"summary":"This API is used to get audit details for given audit Id.","operationId":"getAuditUsingGET","produces":["application/json"],"parameters":[{"name":"X-API-Key","in":"header","required":false,"type":"string"},{"name":"auditId","in":"path","description":"auditId","required":true,"type":"integer","format":"int64"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Response"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}},"/api/v1/ca/id/{caId}":{"get":{"tags":["CA API"],"summary":"This API is used to get public CA details for a given ca identifier","operationId":"getCAInfoUsingGET","produces":["application/json"],"parameters":[{"name":"X-API-Key","in":"header","required":false,"type":"string"},{"name":"caId","in":"path","description":"caId","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Response"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}},"/api/v1/ca/{seatType}":{"get":{"tags":["CA API"],"summary":"This API is used to get public CA details for a given account api key","operationId":"getCAUsingGET","produces":["application/json"],"parameters":[{"name":"X-API-Key","in":"header","required":false,"type":"string"},{"name":"seatType","in":"path","description":"seatType","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Response"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}},"/api/v1/certificate":{"post":{"tags":["Certificate Enrollment API"],"summary":"This API is used to enroll a certificate for a given profile.","operationId":"enrollCertificateUsingPOST","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"X-API-Key","in":"header","required":false,"type":"string"},{"in":"body","name":"enrollCertificateRequest","description":"enrollCertificateRequest","required":true,"schema":{"$ref":"#/definitions/RequestCertificateRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Response"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}},"/api/v1/certificate/create":{"post":{"tags":["Certificate Enrollment API"],"summary":"This API is used to enroll a certificate for a given profile.","operationId":"createCertificateUsingPOST","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"X-API-Key","in":"header","required":false,"type":"string"},{"in":"body","name":"enrollCertificateRequest","description":"enrollCertificateRequest","required":true,"schema":{"$ref":"#/definitions/CreateCertificateRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Response"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}},"/api/v1/certificate/renew/{serialNumber}":{"post":{"tags":["Certificate Enrollment API"],"summary":"This API is used to enroll a certificate for a given profile.","operationId":"renewExternalCertificateUsingPOST","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"X-API-Key","in":"header","required":false,"type":"string"},{"in":"body","name":"enrollCertificateRequest","description":"enrollCertificateRequest","required":true,"schema":{"$ref":"#/definitions/CreateCertificateRequest"}},{"name":"serialNumber","in":"path","description":"serialNumber","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Response"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}},"/api/v1/certificate/{serialNumber}":{"get":{"tags":["Certificate Enrollment API"],"summary":"This API is used to get certificate details for a given certificate serial number","operationId":"getCertificateUsingGET","produces":["application/json"],"parameters":[{"name":"X-API-Key","in":"header","required":false,"type":"string"},{"name":"serialNumber","in":"path","description":"serialNumber","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Response"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}},"/api/v1/certificate/{serialNumber}/key":{"get":{"tags":["Certificate Enrollment API"],"summary":"This API is used to get private key information for key-escrowed certificate with given serial number","operationId":"recoverKeyUsingGET","produces":["application/json"],"parameters":[{"name":"X-API-Key","in":"header","required":false,"type":"string"},{"name":"serialNumber","in":"path","description":"serialNumber","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Response"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}},"/api/v1/certificate/{serialNumber}/renew":{"post":{"tags":["Certificate Enrollment API"],"summary":"This API is used to renew certificate with the given serial number.","operationId":"renewCertificateUsingPOST","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"X-API-Key","in":"header","required":false,"type":"string"},{"in":"body","name":"enrollCertificateRequest","description":"enrollCertificateRequest","required":true,"schema":{"$ref":"#/definitions/RequestCertificateRequest"}},{"name":"serialNumber","in":"path","description":"serialNumber","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Response"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}},"/api/v1/certificate/{serialNumber}/revoke":{"put":{"tags":["Certificate Enrollment API"],"summary":"This API can revoke certificate with the given serial number","operationId":"revokeCertificateUsingPUT","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"X-API-Key","in":"header","required":false,"type":"string"},{"in":"body","name":"revokeCertificateRequest","description":"revokeCertificateRequest","required":false,"schema":{"$ref":"#/definitions/RevokeCertificateRequest"}},{"name":"serialNumber","in":"path","description":"serialNumber","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Response"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false},"delete":{"tags":["Certificate Enrollment API"],"summary":"This API can resume certificate with the given serial number.","operationId":"unRevokeCertificateUsingDELETE","produces":["application/json"],"parameters":[{"name":"X-API-Key","in":"header","required":false,"type":"string"},{"name":"serialNumber","in":"path","description":"serialNumber","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Response"}},"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"deprecated":false}},"/api/v1/enrollment":{"post":{"tags":["User Management API"],"summary":"This API is used to enroll user for profile.","operationId":"createPasscodeUsingPOST","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"X-API-Key","in":"header","required":false,"type":"string"},{"in":"body","name":"createPasscodeRequest","description":"createPasscodeRequest","required":true,"schema":{"$ref":"#/definitions/CreatePasscodeRequest"}}],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Response"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}},"/api/v1/enrollment/{enrollCode}":{"get":{"tags":["User Management API"],"summary":"This API is used to get details of an existing enrollment.","operationId":"getEnrollmentUsingGET","produces":["application/json"],"parameters":[{"name":"X-API-Key","in":"header","required":false,"type":"string"},{"name":"enrollCode","in":"path","description":"enrollCode","required":true,"type":"string"},{"name":"seat_id","in":"query","description":"seat_id","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Response"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false},"put":{"tags":["User Management API"],"summary":"This API is used to reset enrollment code.","operationId":"resetPasscodeUsingPUT","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"X-API-Key","in":"header","required":false,"type":"string"},{"name":"enrollCode","in":"path","description":"enrollCode","required":true,"type":"string"},{"in":"body","name":"resetPasscodeRequest","description":"resetPasscodeRequest","required":true,"schema":{"$ref":"#/definitions/ResetPasscodeRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Response"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false},"delete":{"tags":["User Management API"],"summary":"This API can delete an enrollment for given enrollment id","operationId":"deleteEnrollmentUsingDELETE","produces":["application/json"],"parameters":[{"name":"X-API-Key","in":"header","required":false,"type":"string"},{"in":"body","name":"deleteEnrollRequest","description":"deleteEnrollRequest","required":true,"schema":{"$ref":"#/definitions/DeleteEnrollmentRequest"}},{"name":"enrollCode","in":"path","description":"enrollCode","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Response"}},"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"deprecated":false}},"/api/v1/enrollstatus/{seatId}":{"get":{"tags":["Enroll Status API"],"summary":"This API is used to get certificate enrollment status.","operationId":"enrollStatusUsingGET","produces":["application/json"],"parameters":[{"name":"X-API-Key","in":"header","required":false,"type":"string"},{"name":"profile_id","in":"query","description":"profile_id","required":false,"type":"string"},{"name":"seatId","in":"path","description":"seatId","required":true,"type":"string"}],"responses":{"200":{"description":"Certificate enrollment status result","schema":{"type":"array","items":{"$ref":"#/definitions/GetEnrollStatusResponse"}}},"400":{"description":"Bad Request","schema":{"$ref":"#/definitions/ErrorResponse"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found","schema":{"$ref":"#/definitions/ErrorResponse"}},"500":{"description":"Internal Server Error","schema":{"$ref":"#/definitions/ErrorResponse"}}},"deprecated":false}},"/api/v1/hello":{"get":{"tags":["Hello API"],"summary":"Hello API","operationId":"helloUsingGET","produces":["*/*"],"parameters":[{"name":"X-API-Key","in":"header","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"string"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}},"/api/v1/profile":{"get":{"tags":["Certificate Profile API"],"summary":"This API is used to get profile details of all profiles in an account and its subaccounts","operationId":"getAllProfilesUsingGET","produces":["application/json"],"parameters":[{"name":"X-API-Key","in":"header","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/GetProfileResponse"}}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}},"/api/v1/profile/activate":{"put":{"tags":["PROFILE API"],"summary":"This API is used to suspend a profile","operationId":"activateProfileUsingPUT","consumes":["application/json"],"produces":["*/*"],"parameters":[{"name":"X-API-Key","in":"header","required":false,"type":"string"},{"in":"body","name":"profileCreationRequest","description":"profileCreationRequest","required":true,"schema":{"$ref":"#/definitions/ProfileCreationRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Response"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}},"/api/v1/profile/create":{"post":{"tags":["PROFILE API"],"summary":"This API is used to create a profile","operationId":"createProfileUsingPOST","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"X-API-Key","in":"header","required":false,"type":"string"},{"in":"body","name":"profileCreationRequest","description":"profileCreationRequest","required":true,"schema":{"$ref":"#/definitions/ProfileCreationRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Response"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}},"/api/v1/profile/delete":{"put":{"tags":["PROFILE API"],"summary":"This API is used to delete a profile","operationId":"deleteProfileUsingPUT","consumes":["application/json"],"produces":["*/*"],"parameters":[{"name":"X-API-Key","in":"header","required":false,"type":"string"},{"in":"body","name":"profileCreationRequest","description":"profileCreationRequest","required":true,"schema":{"$ref":"#/definitions/ProfileCreationRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Response"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}},"/api/v1/profile/edit":{"put":{"tags":["PROFILE API"],"summary":"This API is used to create a profile","operationId":"updateProfileUsingPUT","consumes":["application/json"],"produces":["*/*"],"parameters":[{"name":"X-API-Key","in":"header","required":false,"type":"string"},{"in":"body","name":"profileCreationRequest","description":"profileCreationRequest","required":true,"schema":{"$ref":"#/definitions/ProfileCreationRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Response"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}},"/api/v1/profile/suspend":{"put":{"tags":["PROFILE API"],"summary":"This API is used to suspend a profile","operationId":"suspendProfileUsingPUT","consumes":["application/json"],"produces":["*/*"],"parameters":[{"name":"X-API-Key","in":"header","required":false,"type":"string"},{"in":"body","name":"profileCreationRequest","description":"profileCreationRequest","required":true,"schema":{"$ref":"#/definitions/ProfileCreationRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Response"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}},"/api/v1/profile/test":{"post":{"tags":["PROFILE API"],"summary":"This API is used to create a profile","operationId":"testCreateUsingPOST","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"X-API-Key","in":"header","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Response"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}},"/api/v1/profile/{profileId}":{"get":{"tags":["Certificate Profile API"],"summary":"This API is used to get profile details for a given profile id","operationId":"getProfileUsingGET","produces":["application/json"],"parameters":[{"name":"X-API-Key","in":"header","required":false,"type":"string"},{"name":"profileId","in":"path","description":"profileId","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/GetProfileResponse"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}},"/api/v1/searchcert":{"post":{"tags":["Search Certificate API"],"summary":"This API is used to search for certificates.","operationId":"searchCertUsingPOST","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"X-API-Key","in":"header","required":false,"type":"string"},{"in":"body","name":"searchReq","description":"searchReq","required":true,"schema":{"$ref":"#/definitions/SearchCertificateRequest"}}],"responses":{"200":{"description":"Certificate search result","schema":{"$ref":"#/definitions/SearchCertificateResponse"}},"201":{"description":"Created"},"400":{"description":"Bad Request","schema":{"$ref":"#/definitions/ErrorResponse"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found","schema":{"$ref":"#/definitions/ErrorResponse"}},"500":{"description":"Internal Server Error","schema":{"$ref":"#/definitions/ErrorResponse"}}},"deprecated":false}},"/api/v1/seat":{"post":{"tags":["Seat Management API"],"summary":"This API is used to create a seat. This seat can be used for a user, device, server or organization seat pool.","operationId":"createSeatUsingPOST","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"X-API-Key","in":"header","required":false,"type":"string"},{"in":"body","name":"createSeatRequest","description":"createSeatRequest","required":true,"schema":{"$ref":"#/definitions/CreateSeatRequest"}}],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Response"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false}},"/api/v1/seat/{seatId}":{"get":{"tags":["Seat Management API"],"summary":"This API is used to get information regarding a seat.","operationId":"getSeatUsingGET","produces":["application/json"],"parameters":[{"name":"X-API-Key","in":"header","required":false,"type":"string"},{"name":"seatId","in":"path","description":"seatId","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Response"}},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false},"put":{"tags":["Seat Management API"],"summary":"This API is used to change the seat details.","operationId":"updateSeatUsingPUT","consumes":["application/json"],"produces":["application/json"],"parameters":[{"name":"X-API-Key","in":"header","required":false,"type":"string"},{"name":"seatId","in":"path","description":"seatId","required":true,"type":"string"},{"in":"body","name":"updateSeatRequest","description":"updateSeatRequest","required":true,"schema":{"$ref":"#/definitions/UpdateSeatRequest"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Response"}},"201":{"description":"Created"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"},"404":{"description":"Not Found"}},"deprecated":false},"delete":{"tags":["Seat Management API"],"summary":"This API is used to delete a seat. Deleting a seat will revoke all the certificates associated to the specified seat.","operationId":"deleteSeatUsingDELETE","produces":["application/json"],"parameters":[{"name":"X-API-Key","in":"header","required":false,"type":"string"},{"name":"seatId","in":"path","description":"seatId","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Response"}},"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"deprecated":false}}},"definitions":{"Account":{"type":"object","properties":{"id":{"type":"integer","format":"int64"}},"title":"Account"},"ApiError":{"type":"object","properties":{"code":{"type":"string"},"field":{"type":"string"},"message":{"type":"string"}},"title":"ApiError"},"Attribute":{"type":"object","properties":{"id":{"type":"string"},"mandatory":{"type":"boolean"},"type":{"type":"string"},"value":{"type":"string"}},"title":"Attribute"},"AttributeSource":{"type":"object","properties":{"mandatory":{"type":"boolean"},"value":{"type":"object"}},"title":"AttributeSource"},"AuthAttribute":{"type":"object","properties":{"display_name":{"type":"string"},"id":{"type":"string"},"mandatory":{"type":"boolean"},"type":{"type":"string"},"value":{"type":"string"}},"title":"AuthAttribute"},"Authentication":{"type":"object","properties":{"approval":{"type":"string"},"attributes":{"type":"array","items":{"$ref":"#/definitions/AuthAttribute"}},"method":{"type":"string"},"method_id":{"type":"string"}},"title":"Authentication"},"CertificateAttributes":{"type":"object","properties":{"common_name":{"type":"string"},"content_type":{"type":"string"},"counter_signature":{"type":"string"},"country":{"type":"string"},"custom_attributes":{"type":"object","additionalProperties":{"type":"string"}},"dn_qualifier":{"type":"string"},"domain_component":{"type":"array","items":{"$ref":"#/definitions/Attribute"}},"domain_name":{"type":"string"},"email":{"type":"string"},"given_name":{"type":"string"},"ip_address":{"type":"string"},"job_title":{"type":"string"},"locality":{"type":"string"},"message_digest":{"type":"string"},"organization_name":{"type":"string"},"organization_unit":{"type":"array","items":{"$ref":"#/definitions/Attribute"}},"postal_code":{"type":"string"},"pseudonym":{"type":"string"},"san":{"$ref":"#/definitions/SanAttributes"},"serial_number":{"type":"string"},"signing_time":{"type":"string"},"state":{"type":"string"},"street_address":{"type":"array","items":{"$ref":"#/definitions/Attribute"}},"surname":{"type":"string"},"unique_identifier":{"type":"string"},"unstructured_address":{"type":"string"},"unstructured_name":{"type":"string"},"user_id":{"type":"string"}},"title":"CertificateAttributes"},"CertificateDetails":{"type":"object","properties":{"extensions":{"$ref":"#/definitions/Extensions"},"issuer":{"$ref":"#/definitions/Issuer"},"subject":{"$ref":"#/definitions/Subject"},"validity":{"$ref":"#/definitions/Validity"}},"title":"CertificateDetails"},"CertificateInfo":{"type":"object","properties":{"certificate":{"type":"string","format":"byte"},"root":{"type":"boolean"},"serial_number":{"type":"string"},"subject_dn":{"type":"string"}},"title":"CertificateInfo"},"CreateCertificateRequest":{"type":"object","properties":{"csr":{"type":"string"},"extensions":{"type":"object"},"include_ca_chain":{"type":"boolean"},"profile":{"$ref":"#/definitions/Profile"},"seat":{"$ref":"#/definitions/Seat"},"subject":{"type":"object"},"validity":{"$ref":"#/definitions/Validity"}},"title":"CreateCertificateRequest"},"CreatePasscodeRequest":{"type":"object","properties":{"attributes":{"$ref":"#/definitions/CertificateAttributes"},"profile":{"$ref":"#/definitions/Profile"},"seat":{"$ref":"#/definitions/Seat"}},"title":"CreatePasscodeRequest"},"CreateSeatRequest":{"type":"object","properties":{"email":{"type":"string"},"phone":{"type":"string"},"seat_id":{"type":"string"},"seat_name":{"type":"string"}},"title":"CreateSeatRequest"},"CryptoProviders":{"type":"object","properties":{"provider":{"type":"array","items":{"type":"string"}}},"title":"CryptoProviders"},"DeleteEnrollmentRequest":{"type":"object","properties":{"seat":{"$ref":"#/definitions/Seat"}},"title":"DeleteEnrollmentRequest"},"Enrollment":{"type":"object","properties":{"client_type":{"type":"string"},"client_type_id":{"type":"string"}},"title":"Enrollment"},"ErrorResponse":{"type":"object","properties":{"errors":{"type":"array","items":{"$ref":"#/definitions/ApiError"}}},"title":"ErrorResponse"},"ExtendedAttribute":{"type":"object","properties":{"id":{"type":"string"},"mandatory":{"type":"boolean"},"multiple":{"type":"boolean"},"sources":{"type":"array","items":{"$ref":"#/definitions/AttributeSource"}},"type":{"type":"string"},"value":{"type":"string"}},"title":"ExtendedAttribute"},"ExtendedKeyUsageListType":{"type":"object","properties":{"critical":{"type":"boolean"},"extended_key_usages":{"type":"array","items":{"type":"string"}}},"title":"ExtendedKeyUsageListType"},"Extensions":{"type":"object","properties":{"san":{"$ref":"#/definitions/San"}},"title":"Extensions"},"GetCertificateResponse":{"type":"object","properties":{"account":{"$ref":"#/definitions/Account"},"certificate":{"type":"string"},"common_name":{"type":"string"},"enrollment_notes":{"type":"string"},"is_key_escrowed":{"type":"boolean"},"password":{"type":"string"},"profile":{"$ref":"#/definitions/Profile"},"revocation":{"$ref":"#/definitions/Revocation"},"seat":{"$ref":"#/definitions/Seat"},"serial_number":{"type":"string"},"session_key":{"type":"string"},"status":{"type":"string"},"valid_from":{"type":"string"},"valid_to":{"type":"string"},"webpin":{"type":"string"}},"title":"GetCertificateResponse"},"GetEnrollStatusResponse":{"type":"object","properties":{"certificates":{"type":"array","items":{"type":"string"}},"created_at":{"type":"string"},"profile_id":{"type":"string"},"status":{"type":"string"},"updated_at":{"type":"string"}},"title":"GetEnrollStatusResponse"},"GetProfileResponse":{"type":"object","properties":{"authentication":{"$ref":"#/definitions/Authentication"},"certificate":{"$ref":"#/definitions/CertificateDetails"},"certificate_delivery_format":{"type":"string"},"duplicate_cert_policy":{"type":"boolean"},"enrollment":{"$ref":"#/definitions/Enrollment"},"id":{"type":"string"},"name":{"type":"string"},"private_key_attributes":{"$ref":"#/definitions/PrivateKeyAttributes"},"publish_to_public_directory":{"type":"boolean"},"renewal_period_days":{"type":"integer","format":"int32"},"signature_algorithm":{"type":"string"},"status":{"type":"string"}},"title":"GetProfileResponse"},"Issuer":{"type":"object","properties":{"certificate":{"type":"string","format":"byte"},"chain":{"type":"array","items":{"$ref":"#/definitions/CertificateInfo"}},"root":{"type":"boolean"},"serial_number":{"type":"string"},"subject_dn":{"type":"string"}},"title":"Issuer"},"KeyEscrowPolicy":{"type":"object","properties":{"dual_admin_recovery":{"type":"boolean"},"key_escrow_deployment_mode":{"type":"string","enum":["CLOUD","LOCAL"]},"key_escrow_enabled":{"type":"boolean"}},"title":"KeyEscrowPolicy"},"KeyEscrowPolicyType":{"type":"object","properties":{"do_key_recovery_for_additional_enroll_request":{"type":"boolean"},"key_escrow_deployment_mode":{"type":"string"},"key_escrow_enabled":{"type":"boolean"},"key_recovery_dual_admin_approval_required":{"type":"boolean"}},"title":"KeyEscrowPolicyType"},"KeyUsageListType":{"type":"object","properties":{"critical":{"type":"boolean"},"key_usages":{"type":"array","items":{"type":"string"}}},"title":"KeyUsageListType"},"PrivateKeyAttributes":{"type":"object","properties":{"algorithm_oid":{"type":"string"},"crypto_providers":{"$ref":"#/definitions/CryptoProviders"},"key_escrow_policy":{"$ref":"#/definitions/KeyEscrowPolicyType"},"key_exportable":{"type":"boolean"},"key_protect":{"type":"boolean"},"key_size":{"type":"integer","format":"int32"},"key_sizes":{"type":"array","items":{"type":"integer","format":"int32"}}},"title":"PrivateKeyAttributes"},"Profile":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"title":"Profile"},"ProfileCreationRequest":{"type":"object","properties":{"bctOid":{"type":"string"},"caId":{"type":"string"},"duplicateCertPolicy":{"type":"boolean"},"extendedKeyUsages":{"$ref":"#/definitions/ExtendedKeyUsageListType"},"keyEscrowPolicy":{"$ref":"#/definitions/KeyEscrowPolicy"},"keySize":{"type":"string"},"keyUsages":{"$ref":"#/definitions/KeyUsageListType"},"overrideCertValidityViaApi":{"type":"boolean"},"profileName":{"type":"string"},"profileOid":{"type":"string"},"renewalPeriodDays":{"type":"integer","format":"int32"},"san":{"$ref":"#/definitions/San"},"signatureAlgorithm":{"type":"string"},"subject":{"$ref":"#/definitions/Subject"},"validity":{"$ref":"#/definitions/Validity"}},"title":"ProfileCreationRequest"},"RequestCertificateRequest":{"type":"object","properties":{"attributes":{"$ref":"#/definitions/CertificateAttributes"},"authentication":{"type":"object","additionalProperties":{"type":"string"}},"csr":{"type":"string"},"profile":{"$ref":"#/definitions/Profile"},"seat":{"$ref":"#/definitions/Seat"},"session_key":{"type":"string"},"validity":{"description":"Validity of certificate only for enroll certificate API.It is not supported for renewal API","$ref":"#/definitions/Validity"}},"title":"RequestCertificateRequest"},"ResetPasscodeRequest":{"type":"object","properties":{"seat":{"$ref":"#/definitions/Seat"}},"title":"ResetPasscodeRequest"},"Response":{"type":"object","title":"Response"},"Revocation":{"type":"object","properties":{"comments":{"type":"string"},"reason":{"type":"string"},"revocation_date":{"type":"string"}},"title":"Revocation"},"RevokeCertificateRequest":{"type":"object","properties":{"revocation_reason":{"type":"string"}},"title":"RevokeCertificateRequest"},"San":{"type":"object","properties":{"attributes":{"type":"array","items":{"$ref":"#/definitions/Attribute"}},"critical":{"type":"boolean"}},"title":"San"},"SanAttributes":{"type":"object","properties":{"custom_attributes":{"type":"object","additionalProperties":{"type":"string"}},"directory_name":{"type":"string"},"dns_name":{"type":"array","items":{"$ref":"#/definitions/Attribute"}},"ip_address":{"type":"array","items":{"$ref":"#/definitions/Attribute"}},"other_name":{"type":"array","items":{"$ref":"#/definitions/Attribute"}},"registered_id":{"type":"array","items":{"$ref":"#/definitions/Attribute"}},"rfc822_name":{"type":"array","items":{"$ref":"#/definitions/Attribute"}},"user_principal_name":{"type":"array","items":{"$ref":"#/definitions/Attribute"}}},"title":"SanAttributes"},"SearchCertificateRequest":{"type":"object","properties":{"common_name":{"type":"string"},"email":{"type":"string"},"issuing_ca":{"type":"string"},"profile_id":{"type":"string"},"seat_id":{"type":"string"},"serial_number":{"type":"string"},"start_index":{"type":"integer","format":"int32"},"status":{"type":"string"},"valid_from":{"type":"string"},"valid_to":{"type":"string"}},"title":"SearchCertificateRequest"},"SearchCertificateResponse":{"type":"object","properties":{"certificates":{"type":"array","items":{"$ref":"#/definitions/GetCertificateResponse"}},"count":{"type":"integer","format":"int32"},"index":{"type":"integer","format":"int32"},"more_certs_available":{"type":"boolean"}},"title":"SearchCertificateResponse"},"Seat":{"type":"object","properties":{"email":{"type":"string"},"seat_id":{"type":"string"},"seat_name":{"type":"string"}},"title":"Seat"},"Subject":{"type":"object","properties":{"attributes":{"type":"array","items":{"$ref":"#/definitions/ExtendedAttribute"}}},"title":"Subject"},"UpdateSeatRequest":{"type":"object","properties":{"email":{"type":"string"},"phone":{"type":"string"},"seat_name":{"type":"string"}},"title":"UpdateSeatRequest"},"Validity":{"type":"object","properties":{"duration":{"type":"integer","format":"int32"},"unit":{"type":"string"}},"title":"Validity"}}}
@@ -0,0 +1,10 @@
1
+ {
2
+ "version": "0.1.0",
3
+ "configLines": 5580,
4
+ "scriptLines": 1795,
5
+ "codeLines": 5734,
6
+ "testLines": 5275,
7
+ "testCases": 215,
8
+ "totalCodeLines": 12804,
9
+ "wfTasks": 48
10
+ }
@@ -0,0 +1,490 @@
1
+ {
2
+ "errors": [],
3
+ "statistics": [
4
+ {
5
+ "owner": "errorJson",
6
+ "description": "Standard adapter errors available for use",
7
+ "value": 31
8
+ },
9
+ {
10
+ "owner": "packageJson",
11
+ "description": "Number of production dependencies",
12
+ "value": 16
13
+ },
14
+ {
15
+ "owner": "packageJson",
16
+ "description": "Number of development dependencies",
17
+ "value": 7
18
+ },
19
+ {
20
+ "owner": "packageJson",
21
+ "description": "Number of npm scripts",
22
+ "value": 22
23
+ },
24
+ {
25
+ "owner": "packageJson",
26
+ "description": "Runtime Library dependency",
27
+ "value": "^4.48.0"
28
+ },
29
+ {
30
+ "owner": "propertiesSchemaJson",
31
+ "description": "Adapter properties defined in the propertiesSchema file",
32
+ "value": 70
33
+ },
34
+ {
35
+ "owner": "adapterJS",
36
+ "description": "Lines of code generated in adapter.js",
37
+ "value": 3946
38
+ },
39
+ {
40
+ "owner": "adapterJS",
41
+ "description": "Number of Functions added to adapter.js",
42
+ "value": 31
43
+ },
44
+ {
45
+ "owner": "pronghornJson",
46
+ "description": "Number of Methods added to pronghorn.json",
47
+ "value": 31
48
+ },
49
+ {
50
+ "owner": "markdown",
51
+ "description": "Number of lines in the README.md",
52
+ "value": 338
53
+ },
54
+ {
55
+ "owner": "markdown",
56
+ "description": "Number of lines in the SUMMARY.md",
57
+ "value": 9
58
+ },
59
+ {
60
+ "owner": "markdown",
61
+ "description": "Number of lines in the PROPERTIES.md",
62
+ "value": 642
63
+ },
64
+ {
65
+ "owner": "markdown",
66
+ "description": "Number of lines in the TROUBLESHOOT.md",
67
+ "value": 48
68
+ },
69
+ {
70
+ "owner": "markdown",
71
+ "description": "Number of lines in the ENHANCE.md",
72
+ "value": 70
73
+ },
74
+ {
75
+ "owner": "markdown",
76
+ "description": "Number of lines in the BROKER.md",
77
+ "value": 200
78
+ },
79
+ {
80
+ "owner": "markdown",
81
+ "description": "Number of lines in the CALLS.md",
82
+ "value": 171
83
+ },
84
+ {
85
+ "owner": "markdown",
86
+ "description": "Number of lines in the AUTH.md",
87
+ "value": 40
88
+ },
89
+ {
90
+ "owner": "markdown",
91
+ "description": "Number of lines in the SYSTEMINFO.md",
92
+ "value": 11
93
+ },
94
+ {
95
+ "owner": "unitTestJS",
96
+ "description": "Number of lines of code in unit tests",
97
+ "value": 2279
98
+ },
99
+ {
100
+ "owner": "unitTestJS",
101
+ "description": "Number of unit tests",
102
+ "value": 121
103
+ },
104
+ {
105
+ "owner": "integrationTestJS",
106
+ "description": "Number of lines of code in integration tests",
107
+ "value": 1868
108
+ },
109
+ {
110
+ "owner": "integrationTestJS",
111
+ "description": "Number of integration tests",
112
+ "value": 36
113
+ },
114
+ {
115
+ "owner": "actionJson",
116
+ "description": "Number of actions for AuditAPI entity",
117
+ "value": 2
118
+ },
119
+ {
120
+ "owner": "actionJson",
121
+ "description": "Number of actions for CAAPI entity",
122
+ "value": 2
123
+ },
124
+ {
125
+ "owner": "actionJson",
126
+ "description": "Number of actions for CertificateEnrollmentAPI entity",
127
+ "value": 8
128
+ },
129
+ {
130
+ "owner": "actionJson",
131
+ "description": "Number of actions for UserManagementAPI entity",
132
+ "value": 4
133
+ },
134
+ {
135
+ "owner": "actionJson",
136
+ "description": "Number of actions for EnrollStatusAPI entity",
137
+ "value": 1
138
+ },
139
+ {
140
+ "owner": "actionJson",
141
+ "description": "Number of actions for HelloAPI entity",
142
+ "value": 1
143
+ },
144
+ {
145
+ "owner": "actionJson",
146
+ "description": "Number of actions for CertificateProfileAPI entity",
147
+ "value": 2
148
+ },
149
+ {
150
+ "owner": "actionJson",
151
+ "description": "Number of actions for PROFILEAPI entity",
152
+ "value": 6
153
+ },
154
+ {
155
+ "owner": "actionJson",
156
+ "description": "Number of actions for SearchCertificateAPI entity",
157
+ "value": 1
158
+ },
159
+ {
160
+ "owner": "actionJson",
161
+ "description": "Number of actions for SeatManagementAPI entity",
162
+ "value": 4
163
+ },
164
+ {
165
+ "owner": "actionJson",
166
+ "description": "Total number of actions",
167
+ "value": 31
168
+ },
169
+ {
170
+ "owner": "actionJson",
171
+ "description": "Total number of entities",
172
+ "value": 10
173
+ },
174
+ {
175
+ "owner": "schemaJson",
176
+ "description": "Number of schemas for AuditAPI entity",
177
+ "value": 1
178
+ },
179
+ {
180
+ "owner": "schemaJson",
181
+ "description": "Number of schemas for CAAPI entity",
182
+ "value": 1
183
+ },
184
+ {
185
+ "owner": "schemaJson",
186
+ "description": "Number of schemas for CertificateEnrollmentAPI entity",
187
+ "value": 1
188
+ },
189
+ {
190
+ "owner": "schemaJson",
191
+ "description": "Number of schemas for UserManagementAPI entity",
192
+ "value": 1
193
+ },
194
+ {
195
+ "owner": "schemaJson",
196
+ "description": "Number of schemas for EnrollStatusAPI entity",
197
+ "value": 1
198
+ },
199
+ {
200
+ "owner": "schemaJson",
201
+ "description": "Number of schemas for HelloAPI entity",
202
+ "value": 1
203
+ },
204
+ {
205
+ "owner": "schemaJson",
206
+ "description": "Number of schemas for CertificateProfileAPI entity",
207
+ "value": 1
208
+ },
209
+ {
210
+ "owner": "schemaJson",
211
+ "description": "Number of schemas for PROFILEAPI entity",
212
+ "value": 1
213
+ },
214
+ {
215
+ "owner": "schemaJson",
216
+ "description": "Number of schemas for SearchCertificateAPI entity",
217
+ "value": 1
218
+ },
219
+ {
220
+ "owner": "schemaJson",
221
+ "description": "Number of schemas for SeatManagementAPI entity",
222
+ "value": 1
223
+ },
224
+ {
225
+ "owner": "schemaJson",
226
+ "description": "Total number of schemas",
227
+ "value": 10
228
+ },
229
+ {
230
+ "owner": "mockdata",
231
+ "description": "Number of mock data files for AuditAPI entity",
232
+ "value": 0
233
+ },
234
+ {
235
+ "owner": "mockdata",
236
+ "description": "Number of mock data files for CAAPI entity",
237
+ "value": 0
238
+ },
239
+ {
240
+ "owner": "mockdata",
241
+ "description": "Number of mock data files for CertificateEnrollmentAPI entity",
242
+ "value": 0
243
+ },
244
+ {
245
+ "owner": "mockdata",
246
+ "description": "Number of mock data files for UserManagementAPI entity",
247
+ "value": 0
248
+ },
249
+ {
250
+ "owner": "mockdata",
251
+ "description": "Number of mock data files for EnrollStatusAPI entity",
252
+ "value": 1
253
+ },
254
+ {
255
+ "owner": "mockdata",
256
+ "description": "Number of mock data files for HelloAPI entity",
257
+ "value": 0
258
+ },
259
+ {
260
+ "owner": "mockdata",
261
+ "description": "Number of mock data files for CertificateProfileAPI entity",
262
+ "value": 1
263
+ },
264
+ {
265
+ "owner": "mockdata",
266
+ "description": "Number of mock data files for PROFILEAPI entity",
267
+ "value": 0
268
+ },
269
+ {
270
+ "owner": "mockdata",
271
+ "description": "Number of mock data files for SearchCertificateAPI entity",
272
+ "value": 0
273
+ },
274
+ {
275
+ "owner": "mockdata",
276
+ "description": "Number of mock data files for SeatManagementAPI entity",
277
+ "value": 0
278
+ },
279
+ {
280
+ "owner": "mockdata",
281
+ "description": "Total number of mock data files",
282
+ "value": 2
283
+ },
284
+ {
285
+ "owner": "actionJson",
286
+ "description": "Number of actions for .system entity",
287
+ "value": 2
288
+ },
289
+ {
290
+ "owner": "schemaJson",
291
+ "description": "Number of schemas for .system entity",
292
+ "value": 3
293
+ },
294
+ {
295
+ "owner": "mockdata",
296
+ "description": "Number of mock data files for .system entity",
297
+ "value": 2
298
+ },
299
+ {
300
+ "owner": "System",
301
+ "description": "System entity files",
302
+ "value": 6
303
+ },
304
+ {
305
+ "owner": "usecases",
306
+ "description": "Number of workflows",
307
+ "value": 0
308
+ },
309
+ {
310
+ "owner": "staticFile",
311
+ "description": "Number of lines of code in adapterBase.js",
312
+ "value": 1788
313
+ },
314
+ {
315
+ "owner": "staticFile",
316
+ "description": "Number of static files added",
317
+ "value": 38
318
+ },
319
+ {
320
+ "owner": "Overall",
321
+ "description": "Total lines of Code",
322
+ "value": 9881
323
+ },
324
+ {
325
+ "owner": "Overall",
326
+ "description": "Total Tests",
327
+ "value": 157
328
+ },
329
+ {
330
+ "owner": "Overall",
331
+ "description": "Total Files",
332
+ "value": 74
333
+ }
334
+ ],
335
+ "warnings": [],
336
+ "apiParsingReport": {
337
+ "no_mockdata": [
338
+ {
339
+ "fnName": "getAuditsUsingGET",
340
+ "method": "get",
341
+ "path": "/api/v1/audit-log"
342
+ },
343
+ {
344
+ "fnName": "getAuditUsingGET",
345
+ "method": "get",
346
+ "path": "/api/v1/audit-log/{auditId}"
347
+ },
348
+ {
349
+ "fnName": "getCAInfoUsingGET",
350
+ "method": "get",
351
+ "path": "/api/v1/ca/id/{caId}"
352
+ },
353
+ {
354
+ "fnName": "getCAUsingGET",
355
+ "method": "get",
356
+ "path": "/api/v1/ca/{seatType}"
357
+ },
358
+ {
359
+ "fnName": "enrollCertificateUsingPOST",
360
+ "method": "post",
361
+ "path": "/api/v1/certificate"
362
+ },
363
+ {
364
+ "fnName": "createCertificateUsingPOST",
365
+ "method": "post",
366
+ "path": "/api/v1/certificate/create"
367
+ },
368
+ {
369
+ "fnName": "renewExternalCertificateUsingPOST",
370
+ "method": "post",
371
+ "path": "/api/v1/certificate/renew/{serialNumber}"
372
+ },
373
+ {
374
+ "fnName": "getCertificateUsingGET",
375
+ "method": "get",
376
+ "path": "/api/v1/certificate/{serialNumber}"
377
+ },
378
+ {
379
+ "fnName": "recoverKeyUsingGET",
380
+ "method": "get",
381
+ "path": "/api/v1/certificate/{serialNumber}/key"
382
+ },
383
+ {
384
+ "fnName": "renewCertificateUsingPOST",
385
+ "method": "post",
386
+ "path": "/api/v1/certificate/{serialNumber}/renew"
387
+ },
388
+ {
389
+ "fnName": "revokeCertificateUsingPUT",
390
+ "method": "put",
391
+ "path": "/api/v1/certificate/{serialNumber}/revoke"
392
+ },
393
+ {
394
+ "fnName": "unRevokeCertificateUsingDELETE",
395
+ "method": "delete",
396
+ "path": "/api/v1/certificate/{serialNumber}/revoke"
397
+ },
398
+ {
399
+ "fnName": "createPasscodeUsingPOST",
400
+ "method": "post",
401
+ "path": "/api/v1/enrollment"
402
+ },
403
+ {
404
+ "fnName": "getEnrollmentUsingGET",
405
+ "method": "get",
406
+ "path": "/api/v1/enrollment/{enrollCode}"
407
+ },
408
+ {
409
+ "fnName": "resetPasscodeUsingPUT",
410
+ "method": "put",
411
+ "path": "/api/v1/enrollment/{enrollCode}"
412
+ },
413
+ {
414
+ "fnName": "deleteEnrollmentUsingDELETE",
415
+ "method": "delete",
416
+ "path": "/api/v1/enrollment/{enrollCode}"
417
+ },
418
+ {
419
+ "fnName": "helloUsingGET",
420
+ "method": "get",
421
+ "path": "/api/v1/hello"
422
+ },
423
+ {
424
+ "fnName": "getProfileUsingGET",
425
+ "method": "get",
426
+ "path": "/api/v1/profile/{profileId}"
427
+ },
428
+ {
429
+ "fnName": "activateProfileUsingPUT",
430
+ "method": "put",
431
+ "path": "/api/v1/profile/activate"
432
+ },
433
+ {
434
+ "fnName": "createProfileUsingPOST",
435
+ "method": "post",
436
+ "path": "/api/v1/profile/create"
437
+ },
438
+ {
439
+ "fnName": "deleteProfileUsingPUT",
440
+ "method": "put",
441
+ "path": "/api/v1/profile/delete"
442
+ },
443
+ {
444
+ "fnName": "updateProfileUsingPUT",
445
+ "method": "put",
446
+ "path": "/api/v1/profile/edit"
447
+ },
448
+ {
449
+ "fnName": "suspendProfileUsingPUT",
450
+ "method": "put",
451
+ "path": "/api/v1/profile/suspend"
452
+ },
453
+ {
454
+ "fnName": "testCreateUsingPOST",
455
+ "method": "post",
456
+ "path": "/api/v1/profile/test"
457
+ },
458
+ {
459
+ "fnName": "searchCertUsingPOST",
460
+ "method": "post",
461
+ "path": "/api/v1/searchcert"
462
+ },
463
+ {
464
+ "fnName": "createSeatUsingPOST",
465
+ "method": "post",
466
+ "path": "/api/v1/seat"
467
+ },
468
+ {
469
+ "fnName": "getSeatUsingGET",
470
+ "method": "get",
471
+ "path": "/api/v1/seat/{seatId}"
472
+ },
473
+ {
474
+ "fnName": "updateSeatUsingPUT",
475
+ "method": "put",
476
+ "path": "/api/v1/seat/{seatId}"
477
+ },
478
+ {
479
+ "fnName": "deleteSeatUsingDELETE",
480
+ "method": "delete",
481
+ "path": "/api/v1/seat/{seatId}"
482
+ }
483
+ ],
484
+ "errors": [],
485
+ "warnings": [],
486
+ "callsTotal": 31,
487
+ "callsConverted": 31,
488
+ "no_mockdata_num": 29
489
+ }
490
+ }