-
Notifications
You must be signed in to change notification settings - Fork 29
release/1.0.2 #53
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
Merged
release/1.0.2 #53
Changes from all commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
9e55b03
Merge pull request #37 from microsoftgraph/master
MIchaelMainer c7d8c7a
Update buildAndPackage.yml for Azure Pipelines
ramsessanchez 5696713
Update buildAndPackage.yml for Azure Pipelines
ramsessanchez 6b70c19
Update prValidate.yml for Azure Pipelines
ramsessanchez 493d910
update script and rename folder from Scripts to scripts
ramsessanchez 6f42ced
add getLatestVersion script
ramsessanchez eae025a
update the scripts
ramsessanchez 3eee981
Update prValidate.yml for Azure Pipelines
ramsessanchez 062a8d5
Update buildAndPackage.yml for Azure Pipelines
ramsessanchez 1277760
Update buildAndPackage.yml for Azure Pipelines
ramsessanchez ff942d7
Update prValidate.yml for Azure Pipelines
ramsessanchez 5ca7be8
Update prValidate.yml
ramsessanchez 2b0f46b
Update prValidate.yml
ramsessanchez 5d03a69
Merge pull request #39 from microsoftgraph/rsh/getVersionScript
ramsessanchez bbbac71
fixing small typo causing script to break
ramsessanchez 7d711f0
Merge pull request #40 from microsoftgraph/rsh/scriptMinorUpdate
ramsessanchez f681866
- adds dependencies auto-update workflow
baywet 76631dc
- adds conflicting PR workflow
baywet 1bccc03
- adds codeql analysis workflow
baywet 19c8af5
- adds issue template
baywet 239b16c
- adds pull request template
baywet 4134935
Merge pull request #46 from microsoftgraph/feature/workflows
baywet 159a9ea
Bump json-simple from 1.1 to 1.1.1
dependabot[bot] cd978fd
Merge pull request #47 from microsoftgraph/dependabot/gradle/com.goog…
baywet fe53281
Bump junit from 4.12 to 4.13
dependabot[bot] 59bcc4a
Merge pull request #50 from microsoftgraph/dependabot/gradle/junit-ju…
baywet 9fb8987
- closes #49 removes a unused dependency
baywet 45e012c
- bumps version to 1.0.2
baywet fc8daf1
Merge pull request #51 from microsoftgraph/feature/useless-dep
baywet 1f65d4d
Merge branch 'dev' into feature/version1-0-2
baywet b04bbb7
Merge pull request #52 from microsoftgraph/feature/version1-0-2
baywet 6465a6f
- fixes an issue where maven version would not be compared
baywet c4e8d99
- removes unused dependency
baywet 9256135
- upgrades gradle from 4.5 to 6.6
baywet 81569a5
Apply suggestions from code review
baywet 8adaed2
Merge pull request #54 from microsoftgraph/bugfix/versionvalidation-i…
baywet 75c2281
Merge branch 'dev' into feature/gradle-upgrade
baywet 6f87c0b
Merge branch 'dev' into feature/math-dep-remove
baywet 509ad9a
Merge pull request #55 from microsoftgraph/feature/math-dep-remove
baywet 8493cc3
- names repostories and moves urls to build file for clarity
baywet 5e58100
Merge branch 'dev' into feature/gradle-upgrade
baywet ce51737
- adds missing bintray repo
baywet 4e8c24f
- replaces hardcoded constants by settings loading
baywet 4bacea5
- fixes a bug where parameters docs would fail the script
baywet bd10064
- bumps java version in the readme and lints readme
baywet 832d55b
- reverts upgrade to java8 to avoid introducing a breaking change
baywet 883c420
Merge pull request #57 from microsoftgraph/bugfix/getLatestVersionScr…
baywet c8298b5
Merge branch 'dev' into feature/gradle-upgrade
baywet 8c480ee
Merge pull request #56 from microsoftgraph/feature/gradle-upgrade
baywet File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| <!-- Read me before you submit this issue | ||
|
|
||
| First off, thank you for taking the time to open this issue! We do appreciate it. Please bear with us if we don't get to this right away. | ||
|
|
||
| If this is a question about the Microsoft Graph service API, or a question about how to use this SDK, please post your question to StackOverflow with the [microsoftgraph] tag. | ||
| https://stackoverflow.com/questions/tagged/microsoft-graph | ||
|
|
||
| This repo is for the Microsoft Graph Java SDK. Issues opened in this repo should only target this SDK. | ||
|
|
||
| Before you open this issue, did you: | ||
| - Search the issues to determine whether someone already opened this issue? | ||
| - Search StackOverflow for an answer? | ||
| - Capture the repro steps and gather the information requested in the steps below to reproduce your scenario? | ||
| - Review the samples under github.com/microsoftgraph? They can help for some scenarios. | ||
| - Take a look at the functional tests in this repo? They may have an example for you. See the [functional tests](https://github.com/microsoftgraph/msgraph-sdk-java/tree/master/src/test/java/com/microsoft/graph/functional) | ||
|
|
||
| Please provide the following before submitting this issue: | ||
| - Expected behavior. Please provide **links to the specific [Microsoft Graph documentation](https://developer.microsoft.com/en-us/graph/docs/concepts/overview)** you used to determine the expected behavior. | ||
| - Actual behavior. Provide error codes, stack information, and a [Fiddler](http://www.telerik.com/fiddler) capture of the request and response (please remove personally identifiable information before posting). | ||
| - Steps to reproduce the behavior. Include your code, IDE versions, client library versions, and any other information that might be helpful to understand your scenario. | ||
| --> | ||
|
|
||
| ### Expected behavior | ||
|
|
||
|
|
||
|
|
||
|
|
||
| ### Actual behavior | ||
|
|
||
|
|
||
|
|
||
|
|
||
| ### Steps to reproduce the behavior | ||
|
|
||
|
|
||
|
|
||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| <!-- Read me before you submit this pull request | ||
|
|
||
| First off, thank you for opening this pull request! We do appreciate it. | ||
|
|
||
| The requests and models for this client library are generated. We won't be accepting pull requests for those code files. With that said, we do appreciate | ||
| it when you open pull requests with the proposed file changes, as we'll use that to help guide us in updating our template files. | ||
|
|
||
| --> | ||
|
|
||
| <!-- Optional. Set the issues that this pull request fixes. Delete 'Fixes #' if there isn't an issue associated with this pull request. --> | ||
| Fixes # | ||
|
|
||
| <!-- Required. Provide specifics about what the changes are and why you're proposing these changes. --> | ||
| ### Changes proposed in this pull request | ||
| - | ||
|
|
||
| <!-- Optional. Provide related links. This might be other pull requests, code files, StackOverflow posts. Delete this section if it is not used. --> | ||
| ### Other links | ||
| - |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| version: 2 | ||
| updates: | ||
| - package-ecosystem: gradle | ||
| directory: "/" | ||
| schedule: | ||
| interval: daily | ||
| open-pull-requests-limit: 10 | ||
| - package-ecosystem: maven | ||
| directory: "/" | ||
| schedule: | ||
| interval: daily | ||
| open-pull-requests-limit: 10 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,54 @@ | ||
| name: "CodeQL" | ||
|
|
||
| on: | ||
| push: | ||
| branches: [dev, master] | ||
| pull_request: | ||
| # The branches below must be a subset of the branches above | ||
| branches: [dev] | ||
| schedule: | ||
| - cron: '0 1 * * 4' | ||
|
|
||
| jobs: | ||
| analyze: | ||
| name: Analyze | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v2 | ||
| 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 | ||
| uses: github/codeql-action/init@v1 | ||
| # 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@v1 | ||
|
|
||
| # ℹ️ 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@v1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| # This is a basic workflow to help you get started with Actions | ||
|
|
||
| name: PullRequestConflicting | ||
|
|
||
| # Controls when the action will run. Triggers the workflow on push or pull request | ||
| # events but only for the master branch | ||
| on: | ||
| push: | ||
| branches: [ master, dev ] | ||
| pull_request: | ||
| types: [synchronize] | ||
| branches: [ master, dev ] | ||
|
|
||
| # A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
| jobs: | ||
| # This workflow contains a single job called "build" | ||
| build: | ||
| # The type of runner that the job will run on | ||
| runs-on: ubuntu-latest | ||
|
|
||
| # Steps represent a sequence of tasks that will be executed as part of the job | ||
| steps: | ||
| - name: check if prs are dirty | ||
| uses: eps1lon/actions-label-merge-conflict@releases/2.x | ||
| if: env.LABELING_TOKEN != '' && env.LABELING_TOKEN != null | ||
| id: check | ||
| with: | ||
| dirtyLabel: "conflicting" | ||
| repoToken: "${{ secrets.GITHUB_TOKEN }}" | ||
| continueOnMissingPermissions: true | ||
| commentOnDirty: 'This pull request has conflicting changes, the author must resolve the conflicts before this pull request can be merged.' | ||
| commentOnClean: 'Conflicts have been resolved. A maintainer will take a look shortly.' | ||
| env: | ||
| LABELING_TOKEN: ${{secrets.GITHUB_TOKEN }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| # Copyright (c) Microsoft Corporation. All rights reserved. | ||
| # Licensed under the MIT License. | ||
|
|
||
| <# | ||
| .Synopsis | ||
| Retrieve the latest version of the library | ||
| .Description | ||
| Retrieves the latest version specified in the Gradle.Properties file | ||
| Uses the retrieved values to update the enviornment variable VERSION_STRING | ||
| .Parameter propertiesPath | ||
| #> | ||
| Param( | ||
| [string]$propertiesPath | ||
| ) | ||
|
|
||
| #Retrieve the current version from the Gradle.Properties file given the specified path | ||
| if($propertiesPath -eq "" -or $null -eq $propertiesPath) { | ||
| $propertiesPath = Join-Path -Path $PSScriptRoot -ChildPath "../gradle.properties" | ||
| } | ||
| $file = get-item $propertiesPath | ||
| $findVersions = $file | Select-String -Pattern "mavenMajorVersion" -Context 0,2 | ||
| $findVersions = $findVersions -split "`r`n" | ||
|
|
||
| $majorVersion = $findVersions[0].Substring($findVersions[0].Length-1) | ||
| $minorVersion = $findVersions[1].Substring($findVersions[1].Length-1) | ||
| $patchVersion = $findVersions[2].Substring($findVersions[2].Length-1) | ||
| $version = "$majorVersion.$minorVersion.$patchVersion" | ||
|
|
||
| #Update the VERSION_STRING env variable and inform the user | ||
| Write-Host "##vso[task.setVariable variable=VERSION_STRING]$($version)"; | ||
| Write-Host "Updated the VERSION_STRING enviornment variable with the current Gradle.Properties, $version" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.