Граф коммитов

135 Коммитов

Автор SHA1 Сообщение Дата
Connie Yau 2ade24f967
Bump version to snapshot (#61) 2024-04-03 15:44:13 -07:00
Connie Yau 9d93b72eeb
Prepare for 1.2.5 release (#60)
* Set build version.

* Do not skip building javadocs
2024-04-03 12:15:13 -07:00
Scott Beddall d7e9cb7411
1es template conversion (#59)
* refactor existing ci.yml to fit into 1es-redirect

* fix the trailing : on variable names

* add reference point for 1es redirect

* referencing image.yml without leading /

* ensure we use hardcoded os
2024-03-28 14:52:54 -07:00
Anu Thomas Chandy 47d8b5d86d
Updating proton-j dependency to 0.34.1 (#57) 2024-03-28 09:26:45 -07:00
Connie Yau 05d291ad4a
Fix images in ci.yml (#58) 2024-03-27 18:52:54 +00:00
microsoft-github-policy-service[bot] 1c372719aa
Microsoft mandatory file (#54)
Co-authored-by: microsoft-github-policy-service[bot] <77245923+microsoft-github-policy-service[bot]@users.noreply.github.com>
2023-01-27 08:42:26 -08:00
Kun Liu 73fb95f61e
Support authentication response are multiple frames (#53)
* Add HttpStatusLine class.

* Add new line to StringUtils.

* Add Proxy-Authenticate header and value in Constants.

* Throws an IllegalArgumentException when unable to parse Status Code.

* Update ProxyHandler to validate with a ProxyResponse rather than just a buffer.

* Add ProxyResponse and implementation that parses socket information into an HTTP response.

* Add tests for ProxyResponseImpl.

* Moving shared test utils into a class.

* Format MIT header after rebase code

* Update ProxyImpl to support authentication from multiple HTTP frames

* Remove unused code and fix test

* Fix build failure on java 8

* Remove ProxyResponseResult and frameReadState in ProxyResponseImpl

* Add UT, reformat logs and change buffer size to 4k

* Change HTTPStatusLineTest to HttpStatusLineTest

Co-authored-by: Connie <conniey@microsoft.com>
2022-03-14 12:41:28 -07:00
Connie Yau 4a2bb7c461
Update to 1.2.5-SNAPSHOT (#50) 2021-06-04 09:35:25 -07:00
Connie Yau 462a96d6b2
Update to 1.2.4 for releease (#49) 2021-06-03 10:28:08 -07:00
Connie Yau b9e05505e4
Update dependency for proton-j to 0.33.8 (#48) 2021-06-03 10:05:03 -07:00
Siva Tharun Kola 594aa09b14
Adressing checkstyle issues in test files from src/test package (#47)
- enabling checkstyle for 'src/test' folder
- modified the javadoc checkstyle suppression, to exclude only java files
2021-05-20 05:34:59 -07:00
Connie Yau 24bb519bf2
Update CONTRIBUTING and README (#46)
* Update .editorconfig to use 120 max.

* Update README and CONTRIBUTING
2021-05-14 10:02:37 -07:00
Connie Yau 8c715f311a
Adding spotbugs. (#45)
* Update pom.xml to include spotbugs

* Update pom.xml to generate site.

* Using static secure random.

* Specify character sets for Base64 and create issues for others.

* Adding spotbugs excludes.

* Make variables static.

* Consolidate unused locals and switch-case.

* Add exclude for being explicit about payload length cases.

* Moving named anonymous class to named class.

* Removing unused private methods.

* Use Locale.ROOT for encoding.

* Making inner class final and private constructor.

* Creating Utils class to house secure random.

* Adding comment for spotbugs.

* Add javadoc parameters to test.

* Use secure random instead of Math.random()

* Alphabetise.
2021-05-13 16:32:36 -07:00
Connie Yau 8c13fbb71a
Adding MIT header to checkstyle checks. (#41)
* Adding checkstyle to check headers.

* Add headers to all src files.

* Adding MIT header to test files.
2021-05-12 17:39:42 -07:00
Connie Yau 1cc9b57d40
Update checkstyle to match azure-sdk-for-java (#40)
* Update checkstyle to match azure-sdk-for-java.

* Adding package-info to all classes.

* Adds missing javadoc.

* Add checkstyle-suppressions.xml for shipped API.
2021-05-12 16:13:08 -07:00
Connie Yau 262729c72c
Update pom.xml and add checkstyle verification. (#38)
* Adding .editorconfig.

* Format pom.xml

* Update build tool versions.

* Adding pluginsManagement element.

* Fix compiler errors for rawtypes.

* Update ci.yml.

* Use java11 as default profile.

* Fix checkstyle issues.

* Updating documentation and config for javadocs.
2021-05-10 14:26:28 -07:00
dependabot[bot] f0f61a37b0
Bump checkstyle from 8.24 to 8.29 (#27)
Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 8.24 to 8.29.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-8.24...checkstyle-8.29)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Connie Yau <conniey@microsoft.com>
2021-05-10 10:45:55 -07:00
Tiago Antunes 2fac5cbd20
Improve proxy to accept successful responses other than "200 Connected" (#36)
* Update ProxyHandlerImp to evaluate the HTTP status code.
* add parameterized tests for all HTTP codes
* Update pom.xml
2021-05-10 09:50:34 -07:00
dependabot[bot] 50bb0711d8
Bump junit from 4.12 to 4.13.1 (#35)
Bumps [junit](https://github.com/junit-team/junit4) from 4.12 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.12.md)
- [Commits](https://github.com/junit-team/junit4/compare/r4.12...r4.13.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-07 12:19:09 -08:00
Connie Yau e99e357d36
Update to snapshot (#34) 2020-04-30 23:28:48 -07:00
Connie Yau 582798da6f
Update version to 1.2.3 (#33) 2020-04-30 22:04:39 -07:00
Mitch Denny 83c5048d2e
Merge pull request #32 from mitchdenny/remove-azure-sdk-engsys
Disconnect from the Azure SDK EngSys for release.
2020-04-29 12:12:26 +10:00
Mitch Denny 0bc92620d9
Merge branch 'master' into remove-azure-sdk-engsys 2020-04-29 12:06:12 +10:00
Mitch Denny c92d9cf003 Disconnect from the Azure SDK EngSys for release. 2020-04-29 11:44:41 +10:00
Connie Yau c7d64674cd
Update proton-j version (#30) 2020-04-13 12:07:57 -07:00
Mitch Denny be4e1744a5
Merge pull request #29 from conniey/update-build
Update dependencies and mac os version
2020-03-30 12:12:58 +11:00
Connie Yau 637c261d3d
Merge branch 'master' into update-build 2020-03-29 08:54:54 -07:00
timtay-microsoft 635c2b3220
Add constructor to WebsocketImpl that takes a custom max frame size (#28)
* Add constructor to WebsocketImpl that takes a custom max frame size

The default max frame size is far too small considering IotHub supports messages up to 256kb, so this new constructor allows more flexibility for large messages
2020-03-27 15:52:31 -07:00
Connie 7482a9e887 Update dependencies and mac os version 2020-03-27 15:51:54 -07:00
Connie Yau 5197bd7137
Adds an automatic-module-name to MANIFEST.MF (#26)
* Increment version number. Add automatic-module-name.

* Fix checkstyle issue where LineLength should not be in TreeWalker.

* Update dependency versions.

* Fixing module name.
2019-12-09 15:25:23 -08:00
Mitch Denny 5a1bf7f00f Adds staging profile ID which will be needed to publish moving forward. (#25) 2019-08-16 14:11:42 -07:00
Mitch Denny 9f577c51bf
Merge pull request #24 from mitchdenny/master
Fixed missing project name.
2019-08-05 22:36:17 -07:00
Mitch Denny 0f9214bf51 Fixed missing project name. 2019-08-05 22:35:38 -07:00
Mitch Denny 6cb9118c4b
Merge pull request #23 from Azure/feature/unified-pipeline
Feature/unified pipeline
2019-08-01 11:12:37 -07:00
Mitch Denny 6e140b9496 Added developer info. 2019-07-31 13:37:31 -07:00
Mitch Denny bd17737c4c Added scm and licensing sections to package. 2019-07-31 13:07:40 -07:00
Mitch Denny 61c336677b Removed GPG configuration. 2019-07-26 01:48:43 -07:00
Mitch Denny 1b620b0ad4 Had to add config to pom.xml for gpg signing. 2019-07-26 01:35:47 -07:00
Mitch Denny 0b8f5932a2 Removed cut paste error. 2019-07-26 01:03:21 -07:00
Mitch Denny 1a26f2395d Introducing safename. 2019-07-26 01:01:18 -07:00
Mitch Denny cbb814ecfc Adjusting ci.yml to pass in artifact list. 2019-07-25 14:49:08 -07:00
Mitch Denny 5da8349d50 Redirect apache maven downloads to mirror. 2019-07-25 11:31:21 -07:00
Mitch Denny 9c8215616a More URL specific testing. 2019-07-25 10:16:21 -07:00
Mitch Denny 4728a7a048 Making curl conditional on Windows. 2019-07-25 10:10:43 -07:00
Mitch Denny 715c86b3d2 Test download of POM. 2019-07-25 10:08:06 -07:00
Mitch Denny 5fda30e095 Removing SHA1 and MD5 files which will be incorrect after signing. 2019-07-22 16:06:28 -07:00
Mitch Denny 85e0edd24a Swapped to oneliner for Linux. 2019-07-22 14:59:31 -07:00
Mitch Denny b97ca1f59a Fixed up typo. 2019-07-22 14:52:23 -07:00
Mitch Denny 0fde0b7601 Trying out using deploy! 2019-07-22 14:51:45 -07:00
Mitch Denny b3eefbfa52 Changed template name. 2019-07-17 14:17:13 -07:00