Liam Newman
bda3855b86
Merge pull request #1039 from bitwiseman/task/jwt
...
Allow for time skew in JWT authentication
2021-02-26 11:52:22 -08:00
Liam Newman
9b4134cada
Allow for time skew in JWT authentication
2021-02-26 10:51:07 -08:00
Liam Newman
d2732bcf54
Merge pull request #1033 from uhafner/missing-text-in-extra-annotations
...
Make sure that `output.text` is set in each checks call
2021-02-08 03:16:24 -08:00
Ulli Hafner
f9fd30275c
Make sure that output.text is set in each checks call.
...
If a GitHub checks contains more than 50 annotations, then the
check is split into several calls. This fix makes sure that all
additional calls will not only copy the properties `title` and
`summary` but also the previously missing property `text`.
2021-02-04 19:47:49 +01:00
Liam Newman
eeea14dab4
Merge pull request #1028 from hub4j/dependabot/maven/com.tngtech.archunit-archunit-0.16.0
...
Chore(deps-dev): Bump archunit from 0.15.0 to 0.16.0
2021-02-01 14:26:20 -08:00
dependabot[bot]
1df807a198
Chore(deps-dev): Bump archunit from 0.15.0 to 0.16.0
...
Bumps [archunit](https://github.com/TNG/ArchUnit ) from 0.15.0 to 0.16.0.
- [Release notes](https://github.com/TNG/ArchUnit/releases )
- [Commits](https://github.com/TNG/ArchUnit/compare/v0.15.0...v0.16.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-02-01 21:27:56 +00:00
Liam Newman
0848287069
Merge pull request #1027 from hub4j/dependabot/maven/org.mockito-mockito-core-3.7.7
...
Chore(deps-dev): Bump mockito-core from 3.6.28 to 3.7.7
2021-02-01 13:27:25 -08:00
dependabot[bot]
334b37a256
Chore(deps-dev): Bump mockito-core from 3.6.28 to 3.7.7
...
Bumps [mockito-core](https://github.com/mockito/mockito ) from 3.6.28 to 3.7.7.
- [Release notes](https://github.com/mockito/mockito/releases )
- [Commits](https://github.com/mockito/mockito/compare/v3.6.28...v3.7.7 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-02-01 21:27:13 +00:00
Liam Newman
8776a3b672
Merge pull request #1031 from hub4j/dependabot/maven/com.diffplug.spotless-spotless-maven-plugin-2.7.0
...
Chore(deps): Bump spotless-maven-plugin from 2.6.1 to 2.7.0
2021-02-01 13:26:34 -08:00
Liam Newman
657550f767
Merge pull request #1030 from hub4j/dependabot/maven/com.github.spotbugs-spotbugs-maven-plugin-4.2.0
...
Chore(deps): Bump spotbugs-maven-plugin from 4.1.4 to 4.2.0
2021-02-01 13:26:16 -08:00
dependabot[bot]
45a0114f75
Chore(deps): Bump spotless-maven-plugin from 2.6.1 to 2.7.0
...
Bumps [spotless-maven-plugin](https://github.com/diffplug/project ) from 2.6.1 to 2.7.0.
- [Release notes](https://github.com/diffplug/project/releases )
- [Commits](https://github.com/diffplug/project/commits )
Signed-off-by: dependabot[bot] <support@github.com >
2021-02-01 02:01:26 +00:00
dependabot[bot]
a8ddd3e12a
Chore(deps): Bump spotbugs-maven-plugin from 4.1.4 to 4.2.0
...
Bumps [spotbugs-maven-plugin](https://github.com/spotbugs/spotbugs-maven-plugin ) from 4.1.4 to 4.2.0.
- [Release notes](https://github.com/spotbugs/spotbugs-maven-plugin/releases )
- [Commits](https://github.com/spotbugs/spotbugs-maven-plugin/compare/spotbugs-maven-plugin-4.1.4...spotbugs-maven-plugin-4.2.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-02-01 02:00:31 +00:00
Liam Newman
9e7c33369c
Merge pull request #1026 from jordiolivares/feature/timestamp-support
...
Add timestamp field support for the commits sent by GHEventPayload.Push
2021-01-28 18:00:48 -08:00
Jordi Olivares Provencio
8943ca6d1a
Reformat the JavaDoc
2021-01-28 22:36:24 +01:00
Jordi Olivares Provencio
b3460c1f9d
Add timestamp field support for the commits sent by GHEventPayload.Push
2021-01-28 22:34:09 +01:00
Liam Newman
5166c9265f
Merge pull request #1022 from bitwiseman/task/enum-coverage
...
Code Coverage update
2021-01-25 12:24:24 -08:00
Liam Newman
35c8cfa01d
Push method code coverage bar to 50 percent
...
This change adds or update a swath of tests to push method code coverage numbers up.
Yes, method coverage is not super meaningful, but it is one metric that we can use to
ensure at least minimal coverage of this library.
Almost no product changes in here.
2021-01-25 12:08:57 -08:00
Liam Newman
8e6dbf3772
[maven-release-plugin] prepare for next development iteration
2021-01-14 20:14:08 -08:00
Liam Newman
cb381dfa06
[maven-release-plugin] prepare release github-api-1.122
github-api-1.122
2021-01-14 20:13:57 -08:00
Liam Newman
80124e3b85
Merge pull request #1021 from bitwiseman/jwt-string
...
Allow JWT from string
2021-01-14 20:09:21 -08:00
Liam Newman
7aae27e36f
Allow JWT from string
2021-01-14 14:25:51 -08:00
Liam Newman
b212956fbb
[maven-release-plugin] prepare for next development iteration
2021-01-14 13:19:41 -08:00
Liam Newman
d033355e84
[maven-release-plugin] prepare release github-api-1.121
github-api-1.121
2021-01-14 13:19:31 -08:00
Liam Newman
59d7a117d0
[maven-release-plugin] prepare for next development iteration
2021-01-14 10:51:52 -08:00
Liam Newman
dfbb38c5f1
[maven-release-plugin] prepare release github-api-1.120
github-api-1.120
2021-01-14 10:51:41 -08:00
Liam Newman
3f9954144a
Merge pull request #945 from MarcosCela/feat/credential-provider-refresh
...
Feat/credential provider refresh
2021-01-14 10:37:30 -08:00
Liam Newman
1b84efdbfa
Add GitHub.DependentAuthorizationProvider
...
Rather than exposing an unsafe wrapper for GitHub instances, I added a base class
that can be extended by anyone wanting to implement an authorization provider
that needs a GitHub instance to generate it's authorization string.
2021-01-14 10:32:25 -08:00
Liam Newman
c33e78a7dc
Create authorization package
2021-01-14 09:23:17 -08:00
Marcos.Cela
747c759bbb
fix code violations again
2021-01-08 10:10:44 +01:00
Marcos.Cela
e0a709676e
fix format violations
2021-01-08 09:56:05 +01:00
Marcos.Cela
a96275c286
tests for JWTTokenProvider, verifying the "Authentication" header
...
This test basically ensures that the requests made with a
JWTTokenProvider follow a valid Authentication pattern,
verifying that the header "conforms" to a valid JWT token
More information on JWT tokens can be found at:
- https://jwt.io/introduction/
2021-01-08 09:52:50 +01:00
Marcos.Cela
ca7c809feb
remove unused field MINUTES_10 from JWTTokenProvider
2021-01-08 08:21:35 +01:00
Marcos Cela López
a8a0bcb7db
Merge branch 'master' into feat/credential-provider-refresh
2021-01-07 12:03:27 +01:00
Marcos.Cela
0e2bf23830
add CODE_SCANNING_ALERT to GHEvent enum
2021-01-07 11:32:33 +01:00
Marcos.Cela
44a8b797fb
fix: JWTTokenProvider has an incorrect value for the returned authorization header
...
more info:
https://docs.github.com/en/free-pro-team@latest/developers/apps/authenticating-with-github-apps#authenticating-as-a-github-app
2021-01-07 11:23:22 +01:00
Marcos.Cela
cdede298a9
rename OrgInstallationAuthorizationProvider to OrgAppInstallationAuthorizationProvider
2021-01-07 09:53:19 +01:00
Marcos.Cela
f6ac4d3559
rename: credential provider -> authorization provider
...
This includes renames in comments, related methods,
javadocs and fields/variables.
2021-01-07 09:46:30 +01:00
Liam Newman
7e1531dbca
[maven-release-plugin] prepare for next development iteration
2021-01-05 17:27:23 -08:00
Liam Newman
9aeb422157
[maven-release-plugin] prepare release github-api-1.119
github-api-1.119
2021-01-05 17:27:08 -08:00
Liam Newman
fba0f8cf8e
Merge pull request #1015 from seregamorph/feature/mock-previews
...
Fix mocking Previews
2021-01-05 17:23:55 -08:00
seregamorph
0f4a5227e1
internal package
2021-01-05 23:03:49 +03:00
seregamorph
d16a752b43
Fix mocking Previews
2021-01-05 18:50:24 +03:00
Liam Newman
4bec27fd49
[maven-release-plugin] prepare for next development iteration
2021-01-04 01:48:27 -08:00
Liam Newman
be3bd74bb7
[maven-release-plugin] prepare release github-api-1.118
github-api-1.118
2021-01-04 01:48:16 -08:00
Liam Newman
0b14cee817
Merge pull request #1011 from hub4j/dependabot/maven/org.kohsuke.stapler-stapler-1.262
...
Chore(deps-dev): Bump stapler from 1.260 to 1.262
2021-01-03 23:43:02 -08:00
dependabot[bot]
252ca04084
Chore(deps-dev): Bump stapler from 1.260 to 1.262
...
Bumps [stapler](https://github.com/stapler/stapler ) from 1.260 to 1.262.
- [Release notes](https://github.com/stapler/stapler/releases )
- [Changelog](https://github.com/stapler/stapler/blob/master/CHANGELOG.md )
- [Commits](https://github.com/stapler/stapler/compare/stapler-parent-1.260...stapler-parent-1.262 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-01-01 02:00:35 +00:00
Liam Newman
6670446037
Reenable GitHubBuilder tests
2020-12-31 09:49:51 -08:00
Liam Newman
bd39b07bb5
Fix javadoc issues
2020-12-30 14:07:37 -08:00
Liam Newman
a9438b6121
Move tests to use JWTTokenProvider
2020-12-30 10:46:45 -08:00
Liam Newman
f546cf4521
Use only credential providers internally to track credentials
...
Removes extra fields from GitHubClient.
2020-12-30 09:52:30 -08:00