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

Kiota/beta/pipelinebuild/93958 #457

Closed
wants to merge 48 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
4464a8c
Bump gradle-enterprise-gradle-plugin from 3.11.2 to 3.11.3 in /android
dependabot[bot] Nov 1, 2022
5bd8a44
Update generated files with build 91121
Nov 1, 2022
07266d3
Merge pull request #427 from microsoftgraph/dependabot/gradle/android…
baywet Nov 1, 2022
e356849
Update CHANGELOG.md
ramsessanchez Nov 3, 2022
fdb9e8c
Merge pull request #428 from microsoftgraph/beta/pipelinebuild/91121
ramsessanchez Nov 3, 2022
d1783f8
Update GraphServiceClient.java
ramsessanchez Nov 8, 2022
1b8e4b0
Update GraphServiceClient.java
ramsessanchez Nov 8, 2022
0ec045d
Update build.gradle
ramsessanchez Nov 8, 2022
caf20e8
Update build.gradle
ramsessanchez Nov 8, 2022
6c46d36
Update AndroidManifest.xml
ramsessanchez Nov 8, 2022
248d86b
Update api-level-lint.yml
ramsessanchez Nov 8, 2022
6697929
Update gradle.properties
ramsessanchez Nov 8, 2022
8d90a27
Bump dawidd6/action-download-artifact from 2.24.0 to 2.24.1
dependabot[bot] Nov 9, 2022
fc10973
Bump gradle-enterprise-gradle-plugin from 3.11.3 to 3.11.4 in /android
dependabot[bot] Nov 9, 2022
8af1aab
Merge pull request #434 from microsoftgraph/dependabot/gradle/android…
baywet Nov 9, 2022
7e22c76
Merge pull request #433 from microsoftgraph/dependabot/github_actions…
baywet Nov 9, 2022
5f85b34
Update generated files with build 92671 [skip ci]
Nov 9, 2022
e9441d1
Update Task.java
ramsessanchez Nov 9, 2022
bb33268
Create Task.java
ramsessanchez Nov 9, 2022
14309ae
Update CHANGELOG.md
ramsessanchez Nov 9, 2022
dbc0e3b
Bump dawidd6/action-download-artifact from 2.24.1 to 2.24.2
dependabot[bot] Nov 10, 2022
f79ff09
Merge pull request #438 from microsoftgraph/dependabot/github_actions…
baywet Nov 10, 2022
ae9f0a8
Merge pull request #436 from microsoftgraph/beta/pipelinebuild/92671
ramsessanchez Nov 10, 2022
7ce5e3c
Bump gradle-versions-plugin from 0.43.0 to 0.44.0 in /android
dependabot[bot] Nov 14, 2022
ec49b01
Merge pull request #439 from microsoftgraph/dependabot/gradle/android…
baywet Nov 14, 2022
88a759b
Bump mockito-inline from 4.8.1 to 4.9.0
dependabot[bot] Nov 15, 2022
8dd8ca3
Bump mockito-inline from 4.8.1 to 4.9.0 in /android
dependabot[bot] Nov 15, 2022
1fcff87
Merge pull request #441 from microsoftgraph/dependabot/gradle/android…
baywet Nov 15, 2022
d808955
Merge pull request #440 from microsoftgraph/dependabot/gradle/org.moc…
baywet Nov 15, 2022
2c95118
Bump rickstaa/action-create-tag from 1.3.9 to 1.3.10
dependabot[bot] Nov 17, 2022
58f5d19
Merge pull request #446 from microsoftgraph/dependabot/github_actions…
baywet Nov 17, 2022
4b638a9
Update build.gradle
ramsessanchez Nov 18, 2022
02380e6
Update gradle.properties
ramsessanchez Nov 18, 2022
ca6b54d
Update gradle.properties
ramsessanchez Nov 18, 2022
c698c7d
Delete DefaultSerializerTests.java
ramsessanchez Nov 18, 2022
5bbfed1
Update build.gradle
ramsessanchez Nov 18, 2022
6093c59
catch up
ramsessanchez Nov 18, 2022
ed56aac
Update generated files with build 93958
Nov 22, 2022
9752c81
Merge pull request #456 from microsoftgraph/rsh/v1CatchUp
ramsessanchez Nov 22, 2022
748de79
github.com/controlplaneio/kubesec/issues/132
ramsessanchez Nov 22, 2022
912c5c7
Update codeql-analysis.yml
ramsessanchez Nov 22, 2022
d1d5852
Update codeql-analysis.yml
ramsessanchez Nov 23, 2022
56dd6fc
Update codeql-analysis.yml
ramsessanchez Nov 23, 2022
444293d
Update codeql-analysis.yml
ramsessanchez Nov 23, 2022
39eb31f
Update codeql-analysis.yml
ramsessanchez Nov 23, 2022
61724d0
Update codeql-analysis.yml
ramsessanchez Nov 23, 2022
867da16
Update codeql-analysis.yml
ramsessanchez Nov 23, 2022
a65ba44
Update gradle-build.yml
ramsessanchez Nov 23, 2022
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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion .github/workflows/api-level-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:

jobs:
lint-api-level:
runs-on: ubuntu-latest
runs-on: [self-hosted, 1ES.Pool=1es-ubuntu-msgraph-beta-sdk-java-mem-latest]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
Expand Down
19 changes: 5 additions & 14 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,6 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2

# If this run was triggered by a pull request event, then checkout
# the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand All @@ -37,8 +28,10 @@ jobs:

# 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
#- name: Autobuild
# env:
# JAVA_TOOL_OPTIONS: -Xmx5g -XX:MaxMetaspaceSize=2g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
# uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -47,9 +40,7 @@ jobs:
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release
- run: ./gradlew clean build

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
2 changes: 1 addition & 1 deletion .github/workflows/git-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Download Build Artifact
uses: dawidd6/[email protected].0
uses: dawidd6/[email protected].2
with:
workflow: preview-and-release.yml
workflow_conclusion: success
Expand Down
14 changes: 13 additions & 1 deletion .github/workflows/gradle-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,22 @@ jobs:
cache: gradle
- name: Detect Secrets
uses: RobertFischer/[email protected]

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

- 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

- name: Upload Unit Test Results
if: ${{ always() }}
uses: actions/upload-artifact@v3
Expand Down Expand Up @@ -74,7 +86,7 @@ jobs:
name: drop
path: artifacts/current/
- name: Download Last Successful Build
uses: dawidd6/[email protected].0
uses: dawidd6/[email protected].2
with:
workflow: preview-and-release.yml
workflow_conclusion: success
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/preview-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
run: .\Scripts\getLatestVersion.ps1
shell: pwsh
- name: Create tag
uses: rickstaa/[email protected].9
uses: rickstaa/[email protected].10
with:
tag: ${{ steps.GetVersion.outputs.tag }}
- name: Queue Git Release
Expand Down
55 changes: 55 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,61 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

## [0.60.0] - 2022-11-09

### Added

- ChatMessageActions model.
- ChatMessageHistoryItem model.
- CloudPcProvisioningType model.
- OnPremisesAccidentalDeletionPrevention model.
- UserExperienceAnalyticsDeviceScopeSummary model.
- BrowserSharedCookie models and related requests.
- BrowserSite models and related requests.
- DeviceManagementConfigurationPolicyReorder models and related requests.
- DeviceManagementPartnerTerminate models and related requests.
- DeviceManagementReportsGetEncryptionReportForDevices models and related requests.
- DeviceManagementReportsGetMobileApplicationManagementAppConfigurationReport models and related requests.
- DeviceManagementUserExperienceAnalyticsSummarizedDeviceScopes models and related requests.
- Edge model and related requests.
- InternetExplorerMode model and related requests.
- MacOSMicrosoftDefenderApp model and related requests.
- ManagedDeviceEndRemoteHelpSession models and related requests.
- ManagedDeviceInitiateMobileDeviceManagementKeyRecovery models and related requests.
- OnPremisesDirectorySynchronization models and related requests.

### Changed

- Updated beta models and request builders generated using Typewriter, based on latest Beta-Metadata.
- Models and requests referencing the newly added models and requests have been updated to reflect the removed models/requests.
- Removed OrganizationalMessage models and related requests.
- Removed DeviceManagement requests and models related to OrganizationalMessage.
- Removed UserExperienceAnalyticsRegressionSummary models and related requests.

## [0.59.0] - 2022-11-03

### Added

- AttachmentContentProperties model.
- AuthenticationApp* models.
- CollapseProperty model.
- OpticalCharacterRecognitionConfiguration model.
- ChatMessageSetReaction models and related requests.
- ChatMessageUnsetReaction models and related requests.
- CloudPcCrossCloudGovernmentOrganizationMapping model and related requests.
- PrintUsage requests.
- Added the following models and requests to the ManagedTenants namespace:
- ManagedTenant alert models and related requests.
- ManagedTenant email models and related requests.
- ManagedTenant api models and related requests.
- ManagedTenant notification models and related requests.

### Changed

- Updated beta models and request builders generated using Typewriter, based on latest Beta-Metadata.
- Models and requests referencing the newly added models and requests have been updated to reflect the removed models/requests.
- Added lots of models and requests to the ManagedTenant namespace.

## [0.58.0] - 2022-10-12

### Added
Expand Down
3 changes: 1 addition & 2 deletions android/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.microsoft.graph"
android:installLocation="auto"
tools:ignore="UnusedAttribute">

Expand All @@ -21,4 +20,4 @@
android:allowBackup="true"
android:supportsRtl="true"
tools:ignore="GoogleAppIndexingWarning"></application>
</manifest>
</manifest>
7 changes: 5 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,24 @@ buildscript {
}

dependencies {
classpath "com.gradle:gradle-enterprise-gradle-plugin:3.11.2"
classpath "com.gradle:gradle-enterprise-gradle-plugin:3.11.4"
classpath "com.android.tools.build:gradle:7.3.1"
classpath "com.github.ben-manes:gradle-versions-plugin:0.43.0"
classpath "com.github.ben-manes:gradle-versions-plugin:0.44.0"
}
}

repositories {
google()
gradlePluginPortal()
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
}

apply plugin: "com.android.library"
apply plugin: "com.github.ben-manes.versions"

android {
namespace 'com.microsoft.graph'

compileSdkVersion 33

defaultConfig {
Expand Down
2 changes: 1 addition & 1 deletion android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

# The size of the library demands a large amount of RAM to build. Increase as necessary if you get GC errors
## linux requires 10G, OSX requires 11G
org.gradle.jvmargs=-Xmx2g
org.gradle.jvmargs=-Xmx16g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
org.gradle.parallel=true
org.gradle.caching=true

Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ def fixAscNames = { name ->

compileJava {
options.compilerArgs << "-parameters"
sourceCompatibility = '17'
targetCompatibility = '17'
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
}

def getVersionCode() {
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

# The size of the library demands a large amount of RAM to build. Increase as necessary if you get GC errors
## linux requires 10G, OSX requires 11G
org.gradle.jvmargs=-Xmx2g
org.gradle.jvmargs=-Xmx6g
org.gradle.parallel=true
org.gradle.caching=true

Expand Down
2 changes: 1 addition & 1 deletion gradle/dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ dependencies {
// Use JUnit test framework
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.1'
testImplementation 'org.mockito:mockito-inline:4.8.1'
testImplementation 'org.mockito:mockito-inline:4.9.0'
compileOnly 'com.github.spotbugs:spotbugs-annotations:4.7.0'

// Core Http library
Expand Down
Loading