Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.0.0 Pre-Release #394

Merged
merged 13 commits into from
Sep 23, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 13 additions & 19 deletions .azure-pipelines/download-openapidocs-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,28 +50,22 @@ jobs:
git config --global user.email 'GraphTooling@service.microsoft.com'
git config --global user.name 'Microsoft Graph DevX Tooling'

- task: CmdLine@2
- task: PowerShell@2
condition: and(succeeded(), eq(eq(variables['Build.SourceBranch'], 'refs/heads/master'), false))
env:
GITHUB_TOKEN: $(GITHUB_TOKEN)
inputs:
targetType: 'inline'
script: |
@echo off
ECHO SOURCE BRANCH IS %BUILD_SOURCEBRANCH%
IF %BUILD_SOURCEBRANCH% == refs/heads/master (
ECHO Building master branch so no merge is needed.
EXIT
)
SET sourceBranch=origin/%BUILD_SOURCEBRANCH:refs/heads/=%
git status
git checkout %sourceBranch%
git pull origin %sourceBranch%
git add -A
git commit -m "$(BUILDNUMBER): Release OpenApiDocs Download for $(BUILDNUMBER)[skip ci]"
git pull origin %sourceBranch%
git push --set-upstream origin %sourceBranch%
git push origin HEAD:%sourceBranch%
git merge %sourceBranch% -m "$(BUILDNUMBER): Release OpenApiDocs Download for $(BUILDNUMBER)[skip ci]"
git push origin %sourceBranch%
git status
$date = Get-Date -Format yyyyMMddHH
$docsBranch = "{0}{1}" -f $date, "buildDocsDownload"
git status
git checkout '$(Build.SourceBranchName)'
git branch $docsBranch
git checkout $docsBranch
git status
git add .
git commit -m '$(BUILDNUMBER): Build OpenApiDocs Download [skip ci]'
git status
git push --set-upstream origin $docsBranch
git status
4 changes: 2 additions & 2 deletions .azure-pipelines/integrated-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ variables:
BRANCH_PREFIX: 'releaseOpenApiDocs'
GitUserEmail: 'GraphTooling@service.microsoft.com'
GitUserName: 'Microsoft Graph DevX Tooling'
BUILDNUMBER: $[format('{0:yyMMddHH}', pipeline.startTime)]
BUILDNUMBER: -1

pool: MsGraphDevXAzureAgents

Expand All @@ -40,7 +40,7 @@ stages:
targetType: 'inline'
script: |
printenv
if ($Env:BUILD_SOURCEBRANCHNAME -eq "master"){
if ('$(Build.SourceBranchName)' -eq "master"){
Write-Host "##vso[task.setvariable variable=BUILDNUMBER;isOutput=true]-1"
}
Write-Host $(BUILDNUMBER)
Expand Down
1 change: 1 addition & 0 deletions Nuget.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
<packageSources>
<clear />
<add key="PowerShellSDK_BuildFeed" value="https://pkgs.dev.azure.com/microsoftgraph/0985d294-5762-4bc2-a565-161ef349ca3e/_packaging/PowerShellSDK_BuildFeed/nuget/v3/index.json" />
<add key="LocalNugetFeed" value="https://pkgs.dev.azure.com/microsoftgraph/0985d294-5762-4bc2-a565-161ef349ca3e/_packaging/b395d603-5c77-4af9-a495-1e3cdbb49e1e/nuget/v2" />
</packageSources>
</configuration>
2 changes: 1 addition & 1 deletion config/ModuleMetadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
"tags": "MicrosoftGraph;Microsoft;Office365;Graph;PowerShell;GraphServiceClient;Outlook;OneDrive;AzureAD;GraphAPI;Productivity;SharePoint;Intune;SDK;",
"releaseNotes": "See https://aka.ms/GraphPowerShell-Release.",
"assemblyOriginatorKeyFile": "35MSSharedLib1024.snk",
"version": "0.9.2"
"version": "1.0.0"
}
8 changes: 4 additions & 4 deletions openApiDocs/beta/Applications.yml
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ paths:
tags:
- applications.connectorGroup
summary: Update the ref of navigation property connectorGroup in applications
operationId: applications_UpdateRefConnectorGroup
operationId: applications_SetRefConnectorGroup
parameters:
- name: application-id
in: path
Expand Down Expand Up @@ -602,7 +602,7 @@ paths:
tags:
- applications.directoryObject
summary: Update the ref of navigation property createdOnBehalfOf in applications
operationId: applications_UpdateRefCreatedOnBehalfOf
operationId: applications_SetRefCreatedOnBehalfOf
parameters:
- name: application-id
in: path
Expand Down Expand Up @@ -1126,7 +1126,7 @@ paths:
tags:
- applications.application
summary: Update media content for application in applications
operationId: applications.application_UpdateLogo
operationId: applications.application_SetLogo
parameters:
- name: application-id
in: path
Expand Down Expand Up @@ -16335,7 +16335,7 @@ components:
description: Specifies resources that this application requires access to and the set of OAuth permission scopes and application roles that it needs under each of those resources. This pre-configuration of required resource access drives the consent experience. Not nullable.
signInAudience:
type: string
description: 'Specifies what Microsoft accounts are supported for the current application. Supported values are:AzureADMyOrg: Users with a Microsoft work or school account in my organization’s Azure AD tenant (i.e. single tenant)AzureADMultipleOrgs: Users with a Microsoft work or school account in any organization’s Azure AD tenant (i.e. multi-tenant) AzureADandPersonalMicrosoftAccount: Users with a personal Microsoft account, or a work or school account in any organization’s Azure AD tenant'
description: 'Specifies the Microsoft accounts that are supported for the current application. Supported values are:AzureADMyOrg: Users with a Microsoft work or school account in my organization’s Azure AD tenant (single tenant)AzureADMultipleOrgs: Users with a Microsoft work or school account in any organization’s Azure AD tenant (multi-tenant)AzureADandPersonalMicrosoftAccount: Users with a personal Microsoft account, or a work or school account in any organization’s Azure AD tenant.'
nullable: true
spa:
$ref: '#/components/schemas/microsoft.graph.spaApplication'
Expand Down
1 change: 1 addition & 0 deletions openApiDocs/beta/Calendar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46429,6 +46429,7 @@ components:
nullable: true
transactionId:
type: string
description: 'A custom identifier specified by a client app for the server to avoid redundant POST operations in case of client retries to create the same event. This is useful when low network connectivity causes the client to time out before receiving a response from the server for the client''s prior create-event request. After you set transactionId when creating an event, you cannot change transactionId in a subsequent update. This property is only returned in a response payload if an app has set it. Optional.'
nullable: true
type:
$ref: '#/components/schemas/microsoft.graph.eventType'
Expand Down
4 changes: 3 additions & 1 deletion openApiDocs/beta/ChangeNotifications.yml
Original file line number Diff line number Diff line change
Expand Up @@ -275,9 +275,11 @@ components:
nullable: true
encryptionCertificate:
type: string
description: A base64-encoded representation of a certificate with a public key used to encrypt resource data in change notifications. Optional. Required when includeResourceData is true.
nullable: true
encryptionCertificateId:
type: string
description: A custom app-provided identifier to help identify the certificate needed to decrypt resource data. Optional.
nullable: true
expirationDateTime:
pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$'
Expand All @@ -289,10 +291,10 @@ components:
nullable: true
includeResourceData:
type: boolean
description: 'When set to true, change notifications include resource data (such as content of a chat message). Optional.'
nullable: true
latestSupportedTlsVersion:
type: string
description: 'Specifies the latest version of Transport Layer Security (TLS) that the notification endpoint, specified by notificationUrl, supports. The possible values are: v1_0, v1_1, v1_2, v1_3. For subscribers whose notification endpoint supports a version lower than the currently recommended version (TLS 1.2), specifying this property by a set timeline allows them to temporarily use their deprecated version of TLS before completing their upgrade to TLS 1.2. For these subscribers, not setting this property per the timeline would result in subscription operations failing. For subscribers whose notification endpoint already supports TLS 1.2, setting this property is optional. In such cases, Microsoft Graph defaults the property to v1_2.'
nullable: true
lifecycleNotificationUrl:
type: string
Expand Down
2 changes: 1 addition & 1 deletion openApiDocs/beta/CrossDeviceExperiences.yml
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ paths:
tags:
- users.userActivity
summary: Update the ref of navigation property activity in users
operationId: users.activities.historyItems_UpdateRefActivity
operationId: users.activities.historyItems_SetRefActivity
parameters:
- name: user-id
in: path
Expand Down
12 changes: 6 additions & 6 deletions openApiDocs/beta/Devices.CloudPrint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1651,7 +1651,7 @@ paths:
tags:
- print.printer
summary: Update the ref of navigation property share in print
operationId: print.printers_UpdateRefShare
operationId: print.printers_SetRefShare
parameters:
- name: printer-id
in: path
Expand Down Expand Up @@ -2047,7 +2047,7 @@ paths:
tags:
- print.printer
summary: Update the ref of navigation property definition in print
operationId: print.printers.taskTriggers_UpdateRefDefinition
operationId: print.printers.taskTriggers_SetRefDefinition
parameters:
- name: printer-id
in: path
Expand Down Expand Up @@ -3035,7 +3035,7 @@ paths:
tags:
- print.printerShare
summary: Update the ref of navigation property printer in print
operationId: print.printerShares_UpdateRefPrinter
operationId: print.printerShares_SetRefPrinter
parameters:
- name: printerShare-id
in: path
Expand Down Expand Up @@ -5114,7 +5114,7 @@ paths:
tags:
- print.printerShare
summary: Update the ref of navigation property printer in print
operationId: print.shares_UpdateRefPrinter
operationId: print.shares_SetRefPrinter
parameters:
- name: printerShare-id
in: path
Expand Down Expand Up @@ -5776,7 +5776,7 @@ paths:
tags:
- print.printTaskDefinition
summary: Update the ref of navigation property definition in print
operationId: print.taskDefinitions.tasks_UpdateRefDefinition
operationId: print.taskDefinitions.tasks_SetRefDefinition
parameters:
- name: printTaskDefinition-id
in: path
Expand Down Expand Up @@ -5943,7 +5943,7 @@ paths:
tags:
- print.printTaskDefinition
summary: Update the ref of navigation property trigger in print
operationId: print.taskDefinitions.tasks_UpdateRefTrigger
operationId: print.taskDefinitions.tasks_SetRefTrigger
parameters:
- name: printTaskDefinition-id
in: path
Expand Down
Loading