Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
1285e5e
V3 - remove OncoPhenotype, TrialMatcher, PatientTimeline interfaces
asaflevi-ms Feb 1, 2024
df97c8c
update readme file
asaflevi-ms Feb 1, 2024
b238f6f
remove client.tsp from all models except RadiologyInsights
asaflevi-ms Feb 1, 2024
9a9168d
Revert "remove client.tsp from all models except RadiologyInsights"
asaflevi-ms Feb 1, 2024
db33fc2
revert and return client.tsp files
asaflevi-ms Feb 1, 2024
7135f60
Merge branch 'main' of https://github.com/asaflevi-ms/azure-rest-api-…
asaflevi-ms Feb 4, 2024
c2b476a
Merge branch 'main' of https://github.com/asaflevi-ms/azure-rest-api-…
asaflevi-ms Feb 6, 2024
a0c0d83
remove version dependency, also remove all other models except RI
asaflevi-ms Feb 6, 2024
b3bc545
Fix: request example
asaflevi-ms Feb 6, 2024
a7dc6db
prettier
asaflevi-ms Feb 6, 2024
63bf0a8
remove model RadiologyInsightsResult
asaflevi-ms Feb 6, 2024
1625080
remove deprecated operation templates
asaflevi-ms Feb 6, 2024
3e01196
move imports to main.tsp
asaflevi-ms Feb 7, 2024
a587d83
add imports to rout.radiologyinsights
asaflevi-ms Feb 7, 2024
d91f484
revert - remove imports from rout file
asaflevi-ms Feb 7, 2024
f2a5a18
rename patientInfo
asaflevi-ms Feb 7, 2024
f014297
add expand trait
asaflevi-ms Feb 7, 2024
b3de133
update example with details property
asaflevi-ms Feb 7, 2024
c984b63
add imports to rout.radiologyinsights
asaflevi-ms Feb 7, 2024
71ef87a
fix: API Stewardship board review comments
asaflevi-ms Feb 8, 2024
fcc65bb
fix: tsv
asaflevi-ms Feb 8, 2024
182ae9e
prettier
asaflevi-ms Feb 8, 2024
59ace56
communication.communicatedAt , recommendation.effectiveAt
asaflevi-ms Feb 8, 2024
21e1855
expand format csv
asaflevi-ms Feb 8, 2024
87bc77d
comments
asaflevi-ms Feb 8, 2024
7f404bc
fix: tsv
asaflevi-ms Feb 8, 2024
1ff243e
Merge branch 'main' of https://github.com/asaflevi-ms/azure-rest-api-…
asaflevi-ms Feb 9, 2024
861343d
remove unused client.tsp
asaflevi-ms Feb 9, 2024
5cda6af
update spec
asaflevi-ms Feb 9, 2024
8abe807
python package version
asaflevi-ms Feb 12, 2024
3cd7536
spread extensions
asaflevi-ms Feb 12, 2024
87f04e5
remove retry-after from put operation
asaflevi-ms Feb 12, 2024
548b716
Update specification/ai/data-plane/HealthInsights/readme.md
asaflevi-ms Feb 12, 2024
8bc59fc
Update specification/ai/data-plane/HealthInsights/readme.md
asaflevi-ms Feb 12, 2024
c4a26f7
Update specification/ai/data-plane/HealthInsights/readme.md
asaflevi-ms Feb 12, 2024
52dc366
Update specification/ai/data-plane/HealthInsights/readme.md
asaflevi-ms Feb 12, 2024
1498c98
update readme package version
asaflevi-ms Feb 12, 2024
7481629
add x-ms-request-id to default error response
asaflevi-ms Feb 13, 2024
2be9c12
fix: tsv
asaflevi-ms Feb 13, 2024
d064bd8
use Azure.Core.ExpandQueryParameter
asaflevi-ms Feb 13, 2024
e5d996d
fix: tsv
asaflevi-ms Feb 13, 2024
825911a
order procedure spread extendible
asaflevi-ms Feb 14, 2024
d6e6999
fix: tsv
asaflevi-ms Feb 14, 2024
d426c06
remove tspconfig files from Onco,PTL,CTM
asaflevi-ms Feb 22, 2024
cccc442
Merge branch 'main' into asaflevi/healthinsights-radiologyinsights-ap…
asaflevi-ms Feb 27, 2024
9d3d6f4
Merge branch 'main' into asaflevi/healthinsights-radiologyinsights-ap…
asaflevi-ms Mar 26, 2024
2160ae6
update openapi.json
asaflevi-ms Mar 26, 2024
e563502
Merge branch 'main' into asaflevi/healthinsights-radiologyinsights-ap…
asaflevi-ms Mar 27, 2024
e64e7d8
Merge branch 'main' into asaflevi/healthinsights-radiologyinsights-ap…
asaflevi-ms Mar 28, 2024
22e15e2
Merge branch 'main' into asaflevi/healthinsights-radiologyinsights-ap…
asaflevi-ms Apr 1, 2024
1e7ead8
fix: PUT/GET same schema
asaflevi-ms Apr 1, 2024
54c0687
fix: PR comments
asaflevi-ms Apr 2, 2024
f8e0f6a
alias retry after traits
asaflevi-ms Apr 2, 2024
7343a0d
revert interface rout(radiology-insights)
asaflevi-ms Apr 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Prev Previous commit
Next Next commit
Merge branch 'main' into asaflevi/healthinsights-radiologyinsights-ap…
…i-v3
  • Loading branch information
asaflevi-ms committed Mar 26, 2024
commit 9d3d6f48249bab5336cbe501998a8c4ce87e20c0
The diff you're trying to view is too large. We only load the first 3000 changed files.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 7 additions & 17 deletions .github/PULL_REQUEST_TEMPLATE/control_plane_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,29 +10,19 @@

Please understand this diagram before proceeding. It explains how to get your PR approved & merged.

![diagram](https://github.com/Azure/azure-rest-api-specs/assets/20296335/35140fb9-639e-4e44-ac4b-38b1a20dddf9)
![diagram](https://github.com/Azure/azure-rest-api-specs/assets/20296335/9e51cff7-28f7-4ae7-99a3-0f4a116c759f)

<details>
<summary> Click here to see the details of Step 1 </summary>

### Breaking changes review (Diagram Step 1)

If the automation determines you have breaking changes, i.e. Step 1 from the diagram applies to you,
you must follow the [breaking changes process].
**IMPORTANT** This applies even if:
- The tool fails while it shouldn't, e.g. due to runtime exception, or incorrect detection of breaking changes.
- You believe there is no need for you to request breaking change approval, for any reason.
Such claims must be reviewed, and the process is the same.
<summary>Click here to see the details of Step 1, Breaking Changes review</summary>

If you are in purview of Step 1 of the diagram, follow the [Breaking Changes review process].
**IMPORTANT!** This applies even if you believe your PR was mislabeled, for any reason, including tool failure.
</details>

<details>
<summary> Click here to see the details of Step 2 </summary>

### ARM API changes review (Diagram Step 2)

- For help with Step 2 / "ARM review", see https://aka.ms/azsdk/pr-arm-review.
<summary>Click here to see the details of Step 2, ARM review</summary>

See https://aka.ms/azsdk/pr-arm-review.
</details>

<details>
Expand Down Expand Up @@ -99,4 +89,4 @@ If one or multiple validation error/warning suppression(s) is detected in your P
[ARM review queue]: https://aka.ms/azsdk/pr-arm-review#about-the-arm-review-queue
[public repo merge queue]: https://github.com/Azure/azure-rest-api-specs/pulls?q=is%3Aopen+is%3Apr+label%3AMergeRequested+draft%3Afalse+sort%3Acreated-asc
[private repo merge queue]: https://github.com/Azure/azure-rest-api-specs-pr/pulls?q=is%3Aopen+is%3Apr+label%3AMergeRequested+-label%3AApproved-OkToMerge+draft%3Afalse+sort%3Acreated-asc
[breaking changes process]: https://eng.ms/docs/cloud-ai-platform/azure-core/azure-core-pm-and-design/trusted-platform-pm-karimb/service-lifecycle-and-actions-team/service-lifecycle-actions-team/apex/media/launchingproductbreakingchanges#breaking-change-process-1
[Breaking Changes review process]: https://eng.ms/docs/cloud-ai-platform/azure-core/azure-core-pm-and-design/trusted-platform-pm-karimb/service-lifecycle-and-actions-team/service-lifecycle-actions-team/apex/media/launchingproductbreakingchanges#breaking-change-process-1
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE/data_plane_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ The [Azure API Review Board](https://aka.ms/azsdk/onboarding/restapischedule) is

### Helpful Links

* [Azure DevTools Wiki](https://aka.ms/azapi)
* [Schedule a data plane REST API spec review](https://aka.ms/azsdk/onboarding/restapischedule)

</details>

Expand Down
18 changes: 16 additions & 2 deletions .github.amrom.workers.devment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<li>
If this PR is targeting `main` branch, then it cannot be merged, as `azure-rest-api-specs-pr` repo `main` branch
is mirrored from `azure-rest-api-specs` `main`` branch. <br/>
If you want to publish the PR to the public repo (`Azure/azure-rest-api-specs`) `main` branch,
If you want to publish the PR to the public repo (`Azure/azure-rest-api-specs`) `main` branch,
please use [OpenAPIHub Publish PR](${openapiHub}/tools/publishpullrequest?pr=${owner}/${repo}/${PRNumber}&to=${to}).
</li><li>
For further guidance see [Spec Repos](https://eng.ms/docs/products/azure-developer-experience/design/api-specs-pr/api-repos).
Expand Down Expand Up @@ -82,7 +82,21 @@
- rule:
type: label
label: Approved-BreakingChange
booleanFilterExpression: "!(ARMSignedOff||ARMChangesRequested||Approved-OkToMerge||WaitForARMRevisit)&&ARMReview"
booleanFilterExpression: "!(ARMSignedOff||WaitForARMFeedback||ARMChangesRequested||Approved-OkToMerge||WaitForARMRevisit)&&ARMReview"
onLabeledAddLabels:
- WaitForARMFeedback

- rule:
type: label
label: BreakingChange-Approved-*
booleanFilterExpression: "!(ARMSignedOff||WaitForARMFeedback||ARMChangesRequested||Approved-OkToMerge||WaitForARMRevisit)&&ARMReview"
onLabeledAddLabels:
- WaitForARMFeedback

- rule:
type: label
label: Versioning-Approved-*
booleanFilterExpression: "!(ARMSignedOff||WaitForARMFeedback||ARMChangesRequested||Approved-OkToMerge||WaitForARMRevisit)&&ARMReview"
onLabeledAddLabels:
- WaitForARMFeedback

Expand Down
132 changes: 128 additions & 4 deletions cSpell.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@
"typescript"
],
"overrides": [
{
"filename": "**/specification/batch/**/*.json",
"words": [
"TVMs"
]
},
{
"filename": "**/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/databox.json",
"words": [
Expand Down Expand Up @@ -278,6 +284,49 @@
"Droppeded"
]
},
{
"filename": "**/specification/sql/resource-manager/Microsoft.Sql/preview/2023-08-01-preview/DistributedAvailabilityGroups.json",
"words": [
"freemium"
]
},
{
"filename": "**/specification/sql/resource-manager/Microsoft.Sql/preview/2023-02-01-preview/ManagedInstances.json",
"words": [
"freemium"
]
},
{
"filename": "**/specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/ManagedInstances.json",
"words": [
"freemium"
]
},
{
"filename": "**/specification/sql/resource-manager/Microsoft.Sql/preview/2023-08-01-preview/ManagedInstances.json",
"words": [
"freemium"
]
},
{
"filename": "**/specification/sql/resource-manager/Microsoft.Sql/preview/2023-08-01-preview/ServerTrustCertificates.json",
"words": [
"freemium"
]
},
{
"filename": "**/specification/sql/resource-manager/Microsoft.Sql/preview/2023-08-01-preview/ManagedInstanceDtcs.json",
"words": [
"msdtcdns",
"msdtc's"
]
},
{
"filename": "**/specification/sql/resource-manager/Microsoft.Sql/preview/2023-08-01-preview/TimeZones.json",
"words": [
"freemium"
]
},
{
"filename": "**/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/IntegrationRuntime.json",
"words": [
Expand Down Expand Up @@ -831,9 +880,11 @@
]
},
{
"filename": "**/specification/communication/data-plane/Chat/preview/2020-09-21-preview2/communicationserviceschat.json",
"filename": "**/specification/communication/data-plane/Chat/**/communicationserviceschat.json",
"words": [
"readreceipts"
"readreceipts",
"heic",
"webp"
]
},
{
Expand Down Expand Up @@ -892,7 +943,8 @@
"words": [
"Orignal",
"Seleted",
"targetvCenterId"
"targetvCenterId",
"esxi"
]
},
{
Expand Down Expand Up @@ -948,6 +1000,12 @@
"npipe"
]
},
{
"filename": "**/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/20*-preview/azure-ai-assets.json",
"words": [
"genericasset"
]
},
{
"filename": "**/specification/dataprotection/resource-manager/Microsoft.DataProtection/**/dataprotection.json",
"words": [
Expand Down Expand Up @@ -1000,7 +1058,23 @@
{
"filename": "**/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/**/*.json",
"words": [
"Criterias"
"Criterias",
"nwrfc",
"Abap",
"AGRTCODES",
"AGRUSERS",
"AGRPROF",
"ADCP",
"USGRPUSER",
"USERADDR",
"DEVACCESS",
"AGRDEFINE",
"PAHI",
"AGRAGRS",
"USRSTAMP",
"AGRFLAGS",
"SNCSYSACL",
"USRACL"
]
},
{
Expand Down Expand Up @@ -1071,6 +1145,56 @@
"upgradingos",
"TVMs"
]
},
{
"filename": "**/specification/awsconnector/resource-manager/Microsoft.AwsConnector/**/*.json",
"words": [
"ACUs",
"AWSRDS",
"DCERPC",
"Dsse",
"dsse",
"dualstack",
"ENIs",
"Fargate",
"multimaster",
"nodegroup",
"Nodegroups",
"nondefault",
"ONEZONE",
"parallelquery",
"preconfigures",
"tierings",
"VPC's",
"wihtin"
]
},
{
"filename": "**/specification/confidentialledger/data-plane/Microsoft.CodeTransparency/preview/**/*.json",
"words": [
"cbor",
"txids",
"operationid",
"scitt"
]
},
{
"filename": "**/specification/applicationinsights/data-plane/LiveMetrics/preview/2024-04-01-preview/livemetrics.json",
"words": [
"LiveMetrics",
"QuickPulse",
"ikey",
"apikey",
"Comparand",
"SDK"
]
},
{
"filename": "**/specification/cognitiveservices/data-plane/ContentSafety/**/*.json",
"words": [
"Groundedness",
"ungroundedness"
]
}
],
"enableFiletypes": [
Expand Down
2 changes: 2 additions & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,7 @@ connectionstrings
conntrack
consistencygroup
consumergroups
containerd
containerid
containerinstance
containerlogs
Expand Down Expand Up @@ -2238,6 +2239,7 @@ projecthilo
propagations
propogation
protectable
protobuf
Providedal
providerhub
providerport
Expand Down
23 changes: 22 additions & 1 deletion documentation/ci-fix.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,12 @@
- [`Swagger ApiDocPreview`](#swagger-apidocpreview)
- [`TypeSpec Validation`](#typespec-validation)
- [Run `tsv` locally](#run-tsv-locally)
- [APIView Failures: troubleshooting guides](#apiview-failures-troubleshooting-guides)
- [Suppression Process](#suppression-process)
- [Checks not covered by this guide](#checks-not-covered-by-this-guide)
- [Obsolete checks](#obsolete-checks)


# CI Fix Guide

Short link: https://aka.ms/azsdk/ci-fix
Expand Down Expand Up @@ -143,7 +145,6 @@ npm install -g @azure/oad
oad compare <old-spec-path> <new-spec-path>
```
Please see [readme](https://github.com/Azure/openapi-diff/blob/main/README.md) for how to install or run tool in details.
Or you can run it in [OpenAPI Hub](https://openapihub.azure-devex-tools.com/tools/diff).
Refer to [Oad Docs](https://github.com/Azure/openapi-diff/tree/main/docs) for detailed description of all oad rules.

## `Swagger LintDiff` and `Swagger Lint(RPaaS)`
Expand Down Expand Up @@ -263,6 +264,25 @@ that the generated OpenAPI spec files were not in-sync with the TypeSpec project

If none of the above helped, please reach out on [TypeSpec Discussions Teams channel].

## APIView Failures: troubleshooting guides
Various APIViews are generated as part of the Azure REST API specs PR build. Among these are TypeSpec and Swagger as well as any other language that is being generated in the run. When everything is successful you should see a comment box similar to the picture below showing the APIViews generated for TypeSpec or Swagger, plus all other languages being generated.

![alt text](image-3.png)

#### If an expected APIView was not generated, follow the step below to troubleshoot.

- On the CI check click on `details` > `View Azure DevOps build log for more details` to view the devOps logs.
- Investigate the CI job for the languge with error. TypeSpec and Swagger APIViews are generated as part of the `AzureRestApiSpecsPipeline` stage in the `TypeSpecAPIView` and `SwaggerAPIView` jobs respectively, while APIViews for other SDK languges are generated in their respective language jobs in the `SDK Automation` stage.
- Ensure that all previous checks in the job are green before proceeding.

#### Diagnosing APIView failure for SDK Language (not Swagger or TypeSpec)
1. Check for an unexpected skip of the `Publish SDK APIView Artifact to Pipeline Artifacts` and `Generate SDK APIView` step.
2. Look in `SDK Automation` step to verify that the API token generation completed successfully.
3. Search logs for `Read Temp File`
4. Below `Read Temp File` find the .json object and search within to locate the `apiViewArtifact` property.
5. If not present, the APIView parser for the language failed to generate the `APIView Token Artifacts`.
6. Please contact [APIView Support Teams Channel] for assistance.

## Suppression Process

In case there are validation errors reported against your service that you believe do not apply, we have a suppression process you can follow to permanently remove these reported errors for your specs. Refer to the [suppression guide](https://aka.ms/pr-suppressions) for detailed guidance.
Expand All @@ -286,3 +306,4 @@ Following checks have been removed from the validation toolchain as of August 20
[aka.ms/azsdk/support/specreview-channel]: https://aka.ms/azsdk/support/specreview-channel
[aka.ms/azsdk/support]: https://aka.ms/azsdk/support
[TypeSpec Discussions Teams channel]: https://teams.microsoft.com/l/channel/19%3A906c1efbbec54dc8949ac736633e6bdf%40thread.skype/TypeSpec%20Discussion%20%F0%9F%90%AE?groupId=3e17dcb0-4257-4a30-b843-77f47f1d4121&tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47
[APIView Support Teams Channel]: https://teams.microsoft.com/l/channel/19%3A3adeba4aa1164f1c889e148b1b3e3ddd%40thread.skype/APIView?groupId=3e17dcb0-4257-4a30-b843-77f47f1d4121&tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47
2 changes: 1 addition & 1 deletion documentation/code-gen/configure-python-sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ This is not used by Autorest itself.

``` yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-python-track2
- repo: azure-sdk-for-python
- ...


Expand Down
Binary file added documentation/image-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions documentation/samplefiles/readme.java.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## Java

These settings apply only when `--java` is specified on the command line.

``` yaml $(java)
client-flattened-annotation-target: disabled
```
6 changes: 5 additions & 1 deletion documentation/samplefiles/samplereadme.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ This is not used by Autorest itself.

```yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-python-track2
- repo: azure-sdk-for-python
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
- repo: azure-sdk-for-js
Expand All @@ -76,3 +76,7 @@ See configuration in [readme.typescript.md](./readme.typescript.md)
## CSharp

See configuration in [readme.csharp.md](./readme.csharp.md)

## Java

See configuration in [readme.java.md](./readme.java.md)
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.