Skip to content

Commit

Permalink
[KeyVault] - Enable node unit tests for KeyVault Administrator (#13230)
Browse files Browse the repository at this point in the history
## What

- Enable Node unit tests for KV administration package
- Align our KV test-resources ARM template with dotnet's
- Add Managed HSM to ARM template
- Add script to enable Managed HSM from dotnet's script

## Why

We have lots of changes we want to make, but tests weren't currently runnable. 
Making the entire suite runnable seemed like something we'd want to do early 
before making behavior changes. Unfortunately there are some service integration 
issues we want to address before we can enable _all_ the tests so we decided to pend
the ones that need some extra TLC to get the suite running.

Aligning with dotnet on the ARM template allows us to easily add the Managed HSM 
bits from them and helps standardize what our template looks like across repos.

Finally, Managed HSM support is coming, so we might as well get the deployment correct
now.
  • Loading branch information
maorleger authored Jan 19, 2021
1 parent 81d37fa commit 0cb47ee
Show file tree
Hide file tree
Showing 38 changed files with 934 additions and 206 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
/sdk/identity/ @schaabs @daviwil @jonathandturner @sadasant

# PRLabel: %KeyVault
/sdk/keyvault/ @jonathandturner @sadasant
/sdk/keyvault/ @jonathandturner @sadasant @maorleger

# PRLabel: %Storage
/sdk/storage/ @XiaoningLiu @jeremymeng @HarshaNalluru @vinjiang @jiacfan @ljian3377
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ Thumbs.db
*.cer
*.pfx
*.pem
*.key

# WebStorm #
.idea/
Expand Down
2 changes: 1 addition & 1 deletion sdk/keyvault/keyvault-admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"test:node": "npm run clean && npm run build:test && npm run unit-test:node",
"test": "npm run clean && npm run build:test && npm run unit-test",
"unit-test:browser": "echo skipped",
"unit-test:node": "echo skipped",
"unit-test:node": "mocha --require source-map-support/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 180000 --full-trace dist-test/index.node.js",
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
"docs": "typedoc --excludePrivate --excludeNotExported --excludeExternals --stripInternal --mode file --out ./dist/docs ./src"
},
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0cb47ee

Please sign in to comment.