Skip to content

Commit

Permalink
Adding the autogenerated attestation package (Azure#13120)
Browse files Browse the repository at this point in the history
This PR adds the autogenerated attestation package along with a test suite.
  • Loading branch information
deyaaeldeen authored Jan 8, 2021
1 parent 4fa79ba commit 8b5463b
Show file tree
Hide file tree
Showing 66 changed files with 5,895 additions and 6 deletions.
76 changes: 70 additions & 6 deletions common/config/rush/pnpm-lock.yaml

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

5 changes: 5 additions & 0 deletions rush.json
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,11 @@
"projectFolder": "sdk/search/search-documents",
"versionPolicyName": "client"
},
{
"packageName": "@azure/attestation",
"projectFolder": "sdk/attestation/attestation",
"versionPolicyName": "client"
},
{
"packageName": "@azure/communication-administration",
"projectFolder": "sdk/communication/communication-administration",
Expand Down
21 changes: 21 additions & 0 deletions sdk/attestation/attestation/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2020 Microsoft

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
51 changes: 51 additions & 0 deletions sdk/attestation/attestation/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Azure Attestation client library for JavaScript

This package contains an isomorphic SDK for AttestationClient.

## Getting started

### Currently supported environments

- Node.js version 8.x.x or higher

### Install the `@azure/attestation` package

```bash
npm install @azure/attestation
```

### How to use

## Key concepts

This SDK provides the following functionality for the Microsoft Azure Attestation Service

- Microsoft Azure Attestation Enclave Attestation
- Attestation Policy Management APIs
- Attestation Policy Management Certificate Management APIs.

## Examples

## Troubleshooting

### Enable logs

You can set the following environment variable to get the debug logging output when using this library.

- Getting debug logs from the Azure Attestation client library

```bash
export AZURE_LOG_LEVEL=verbose
```

## Next steps

## Contributing

If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code.

## Related projects

- [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js)

![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fcdn%2Farm-cdn%2FREADME.png)
31 changes: 31 additions & 0 deletions sdk/attestation/attestation/api-extractor.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"mainEntryPointFilePath": "types/src/index.d.ts",
"docModel": {
"enabled": true
},
"apiReport": {
"enabled": true,
"reportFolder": "./review"
},
"dtsRollup": {
"enabled": true,
"untrimmedFilePath": "",
"publicTrimmedFilePath": "./types/attestation.d.ts"
},
"messages": {
"tsdocMessageReporting": {
"default": {
"logLevel": "none"
}
},
"extractorMessageReporting": {
"ae-missing-release-tag": {
"logLevel": "none"
},
"ae-unresolved-link": {
"logLevel": "none"
}
}
}
}
Loading

0 comments on commit 8b5463b

Please sign in to comment.