Skip to content

Conversation

@chrischild
Copy link
Contributor

@chrischild chrischild commented Oct 4, 2019

Created a new Checkstyle to look for specific words that should follow normal camelcasing standards.

Since it seems like there could be a growing list of words I added the ability to pass in a set of words that should be checked against.

Currently I checked in the checkstyle.xml that has an example of usage.

Since I did not have a set of concrete words I have not gone and changed any of the outstanding naming issues that were not fixed in #5544. If provided with a full list I can do that as well.

Fixes #5530

@msftclas
Copy link

msftclas commented Oct 4, 2019

CLA assistant check
All CLA requirements met.

@azuresdkci
Copy link
Contributor

Can one of the admins verify this patch?

@chrischild
Copy link
Contributor Author

Removed the error message for missing disallowedWords property. It was a hack and didn't feel like it was a good solution. Changed to now have 2 default values to search for, URL and HTTP. This can still be overwritten by setting the disallowedWords property.

Chris and others added 15 commits October 4, 2019 21:57
New Checkstyle for disallowed words. (Azure#5530)

New Checkstyle for disallowed words. (Azure#5530)

New Checkstyle for disallowed words. (Azure#5530)
* Add WebSocketsProxyConnectionHandler.

* Update ReactorHandlerProvider to connect proxy.

* Add Objects.requiresNotNull check.

* Integration web proxy handler in ReactorConnection.

* Fix API for MockReactorHandlerProvider.

* Adding tests for WebSocketsProxyConnectionHandler.

* Use logger.throw

* Adding tests for ReactorHandlerProvider.

* Adding documentation to WebSocketsProxyConnectionHandler. Using SystemDefaults when a proxy should be used.

* Asserting UserAgent string is in connection properties.

* Adding simple proxy for integration tests.

* Update IntegrationTestBase to getProxyConfiguration from configuration.

* Add ProxyIntegrationTest.

* Add ProxyReceiveTest.

* Handling PROTON_IO errors.

* Add integration tests for proxy configuration.

* Cleaning up simple proxy.

* Ignore tests until simple proxy is fixed.
* Remove SAS generation methods from Azure Blob clients

* Add some resource type logic to BlobServiceSASSignatureValues

* Fix failing test

* Removed SAS token methods in Queue clients

* Fixing some more tests

* Fix Javadoc links

* Fixing linting issues, prototyping BlobSasConstructor

* Minor refactoring in new class

* Re-record failing tests

* Fix checkstyle issues

* Fix accidentally method name change

* Fix javadoc issue

* Cleanup checkstyle issues

* Make SAS generation classes public API

* Fixing checkstyle issues
* Updating comments in package-info.java.

* Update documentation in Tracer and TracerProxy.

* Add doc updates to Poller.

* Making code snippets more reactor-ish.

* Fix naming.

* Fix typos.

* Move ClientLogger java doc samples to correct location.

* Update documentation in ClientLogger.

* Fix codesnippet references.

* Update package-info.java

* Update parameter docs.
* Renaming classes and methods as per naming guidelines
* Update README and CHANGELOG for Event Hubs

* Add async clients to changelog
* Add remove to HttpHeaders

* Use ConcurrentHashMap
@chrischild chrischild force-pushed the issues/5530-use-consistent-naming branch from 518f8f9 to 19a4f7e Compare October 5, 2019 07:04
@chrischild
Copy link
Contributor Author

Tried to squash some commits and that didn't seem to work so reset to previous good commit.

Copy link
Member

@JonathanGiles JonathanGiles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very promising. Left some feedback for your consideration. Thanks!

@chrischild
Copy link
Contributor Author

Just wanted to check in.

@chrischild
Copy link
Contributor Author

chrischild commented Oct 22, 2019

Just popping in again and wanted to point out that I have created a new branch for all the files that were changed. I found that there were quite a few, over 100, and I think it would pollute this PR to check it into the same branch. The new branch commit is here

Copy link
Member

@conniey conniey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a few comments. It looks great! Thanks so much. :)

Copy link
Member

@JonathanGiles JonathanGiles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution! Connie has a few pieces of minor feedback, and I'm just wanting to see if any issues arise when you turn this on. We are close to getting this merged!

@chrischild
Copy link
Contributor Author

How do you feel about the naming I used? I also think BlacklistedWords might be better but either works.

@conniey
Copy link
Member

conniey commented Oct 24, 2019

@chrischild I like blacklist, it's concise. I won't lose sleep if you decide not to change it though.

@chrischild chrischild closed this Oct 25, 2019
@chrischild chrischild deleted the issues/5530-use-consistent-naming branch October 25, 2019 23:09
@chrischild
Copy link
Contributor Author

Sorry I'm just fixing an issue with Git I found.

@chrischild
Copy link
Contributor Author

GitHub does not allow you to re-open a branch if it has been recreated apparently so I had to create a new PR here.

Apologies but I was committing some info that I didn't want to be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use consistent naming for methods/parameters.

9 participants