Skip to content

Commit

Permalink
Merge pull request #1492 from microsoftgraph/v1.0/pipelinebuild/119223
Browse files Browse the repository at this point in the history
Generated  models and request builders
  • Loading branch information
ramsessanchez authored Jul 8, 2023
2 parents 5e2bb53 + 6722fe9 commit de8aee0
Show file tree
Hide file tree
Showing 755 changed files with 59,125 additions and 112 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/api-level-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: 18
distribution: 'temurin'
java-version: 20
- name: Setup Android SDK
uses: android-actions/[email protected]
- name: Add execution right to the script
Expand Down
104 changes: 72 additions & 32 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,46 +1,86 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
workflow_dispatch:
push:
branches: [dev, feature/6.0]
branches: [ "dev", "feature/6.0" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [dev, feature/6.0]
branches: [ "dev", "feature/6.0" ]
schedule:
- cron: '0 1 * * 4'
workflow_dispatch:

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'java' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby', 'swift' ]
# Use only 'java' to analyze code written in Java, Kotlin or both
# Use only 'javascript' to analyze code written in JavaScript, TypeScript or both
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support

steps:
- name: Checkout repository
uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
# Override language selection by uncommenting this and choosing your languages
with:
languages: java

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: 20
distribution: 'temurin'
cache: gradle

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.

# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality


# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
# If this step fails, then you should remove it and run the build manually (see below)
# - name: Autobuild
# uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun

# If the Autobuild fails above, remove it and uncomment the following three lines.
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.

- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{matrix.language}}"
34 changes: 34 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,40 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

## [5.63.0] - 2023-07-07

### Added

- AccessReviewRecommendationInsightSetting model.
- AppLog derived types and requests.
- AssignmentType model.
- AuthenticationMethod derived types and requests.
- AzureAdPopTokenAuthentication model.
- CourseStatus model.
- CustomExtension model, derived types, and requests.
- DeletedItemContainer model and requests.
- DeviceLog derived types and requests.
- DeviceManagement derived types and requests.
- DeviceProtectionOverview model.
- DriveItemSensitivity derived types and requests.
- EmailSettings model.
- EmployeeExperienceUser model and requests.
- FeatureType model.
- GovernanceInsight model and requests.
- GroupPeerOutlierRecommendationInsightSettings model.
- IncludedUser models.
- Learning derived types and requests.
- LogicAppTriggerEndpointConfiguration model.
- MacOSMicrosoftDefenderApp model and requests.
- MalwareStateForWindowsDevice model and requests.
- MembershipOutlierInsight model and requests.
- MobileAppTroubleshootingEvent model and requests.
- TeamsApp derived types and requests.
- UserRegistration derived types and requests.
- UserExperienceAnalytics derived types and requests.
- The IdentityGovernance namespace was added, this includes models and requests.
- The Security namespace was updated, this includes models and requests.

## [5.62.0] - 2023-06-23

### Changed
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ repositories {
dependencies {
// Include the sdk as a dependency
implementation 'com.microsoft.graph:microsoft-graph:5.62.0'
implementation 'com.microsoft.graph:microsoft-graph:5.63.0'
// Uncomment the line below if you are building an android application
//implementation 'com.google.guava:guava:30.1.1-android'
// This dependency is only needed if you are using the TokenCrendentialAuthProvider
Expand All @@ -36,7 +36,7 @@ Add the dependency in `dependencies` in pom.xml
<!-- Include the sdk as a dependency -->
<groupId>com.microsoft.graph</groupId>
<artifactId>microsoft-graph</artifactId>
<version>5.62.0</version>
<version>5.63.0</version>
</dependency>
<dependency>
<!-- This dependency is only needed if you are using the TokenCredentialAuthProvider -->
Expand Down Expand Up @@ -193,5 +193,6 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the [MI






3 changes: 2 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ org.gradle.caching=true
mavenGroupId = com.microsoft.graph
mavenArtifactId = microsoft-graph
mavenMajorVersion = 5
mavenMinorVersion = 62
mavenMinorVersion = 63
mavenPatchVersion = 0
mavenArtifactSuffix =

Expand Down Expand Up @@ -116,5 +116,6 @@ mavenCentralPublishingEnabled=false






Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
// Template Source: BaseEntityCollectionPage.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------

package com.microsoft.graph.identitygovernance.requests;
import com.microsoft.graph.identitygovernance.models.CustomTaskExtension;
import com.microsoft.graph.identitygovernance.requests.CustomTaskExtensionCollectionRequestBuilder;
import javax.annotation.Nullable;
import javax.annotation.Nonnull;
import com.microsoft.graph.identitygovernance.requests.CustomTaskExtensionCollectionResponse;
import com.microsoft.graph.http.BaseCollectionPage;

// **NOTE** This file was generated by a tool and any changes will be overwritten.

/**
* The class for the Custom Task Extension Collection Page.
*/
public class CustomTaskExtensionCollectionPage extends BaseCollectionPage<CustomTaskExtension, CustomTaskExtensionCollectionRequestBuilder> {

/**
* A collection page for CustomTaskExtension
*
* @param response the serialized CustomTaskExtensionCollectionResponse from the service
* @param builder the request builder for the next collection page
*/
public CustomTaskExtensionCollectionPage(@Nonnull final CustomTaskExtensionCollectionResponse response, @Nonnull final CustomTaskExtensionCollectionRequestBuilder builder) {
super(response, builder);
}

/**
* Creates the collection page for CustomTaskExtension
*
* @param pageContents the contents of this page
* @param nextRequestBuilder the request builder for the next page
*/
public CustomTaskExtensionCollectionPage(@Nonnull final java.util.List<CustomTaskExtension> pageContents, @Nullable final CustomTaskExtensionCollectionRequestBuilder nextRequestBuilder) {
super(pageContents, nextRequestBuilder);
}
}
Loading

0 comments on commit de8aee0

Please sign in to comment.