@itentialopensource/adapter-digicert_pki 1.0.0 → 1.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 (43) hide show
  1. package/.eslintignore +0 -1
  2. package/.jshintrc +3 -0
  3. package/CALLS.md +162 -453
  4. package/CHANGELOG.md +16 -0
  5. package/CONTRIBUTING.md +1 -160
  6. package/ENHANCE.md +2 -2
  7. package/README.md +31 -22
  8. package/adapter.js +159 -330
  9. package/adapterBase.js +538 -873
  10. package/changelogs/changelog.md +16 -0
  11. package/metadata.json +49 -0
  12. package/package.json +22 -25
  13. package/pronghorn.json +474 -142
  14. package/propertiesSchema.json +455 -42
  15. package/refs?service=git-upload-pack +0 -0
  16. package/report/adapter-openapi.json +3224 -0
  17. package/report/adapter-openapi.yaml +2185 -0
  18. package/report/adapterInfo.json +8 -8
  19. package/report/updateReport1691508686598.json +120 -0
  20. package/report/updateReport1692203137726.json +120 -0
  21. package/report/updateReport1694467869659.json +120 -0
  22. package/report/updateReport1698422457936.json +120 -0
  23. package/sampleProperties.json +64 -3
  24. package/test/integration/adapterTestBasicGet.js +1 -1
  25. package/test/integration/adapterTestConnectivity.js +91 -42
  26. package/test/integration/adapterTestIntegration.js +275 -147
  27. package/test/unit/adapterBaseTestUnit.js +388 -313
  28. package/test/unit/adapterTestUnit.js +519 -322
  29. package/utils/adapterInfo.js +1 -1
  30. package/utils/addAuth.js +1 -1
  31. package/utils/artifactize.js +1 -1
  32. package/utils/checkMigrate.js +1 -1
  33. package/utils/entitiesToDB.js +1 -0
  34. package/utils/findPath.js +1 -1
  35. package/utils/methodDocumentor.js +71 -23
  36. package/utils/modify.js +13 -15
  37. package/utils/packModificationScript.js +1 -1
  38. package/utils/taskMover.js +309 -0
  39. package/utils/tbScript.js +3 -10
  40. package/utils/tbUtils.js +2 -3
  41. package/utils/testRunner.js +1 -1
  42. package/utils/troubleshootingAdapter.js +1 -3
  43. package/workflows/README.md +0 -3
@@ -160,9 +160,7 @@ const troubleshoot = async (props, scriptFlag, persistFlag, adapter) => {
160
160
  if (persistFlag && healthRes) {
161
161
  const { database } = await utils.getIAPDatabaseConnection();
162
162
  const update = { $set: { properties: updatedAdapter.properties } };
163
- await database.collection(utils.SERVICE_CONFIGS_COLLECTION).updateOne(
164
- { model: name }, update
165
- );
163
+ await database.collection(utils.SERVICE_CONFIGS_COLLECTION).updateOne({ model: name }, update);
166
164
  if (scriptFlag) {
167
165
  console.log(`${name} updated.`);
168
166
  }
@@ -1,3 +0,0 @@
1
- # Adapter Workflows
2
-
3
- This directory contains workflows that support the adapter use cases. These workflows can be imported into IAP. If the adapter is installed using App-Artifact the workflows should be automatically imported.