-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modify the existing fileWatcher to make it more generic (#3325)
* Modify the secretWatcher implementation * Modify the secretWatcher implementation * Modify the secretWatcher implementation * chaneg to test FileWatcher * Update the implementation of FileWatcher to make it generic * Update the implementation of FileWatcher to make it generic * Remove the secretWatcher * Update all the usage of fileWatcher due to the change made to FileWatcher class * revert the SecretWatcher commit * Reset the secretwatcher format so it doesn't show up in the file changed PR * Reset the secretwatcher format so it doesn't show up in the file changed PR * Format * Update the test * Format * Format * Format * Fix the test logic * Remove the uncessary comments * reformat the code * Add the new function to update the ContractPublisher * updateContract function * updateContract function * Fixing the new updateContract Function * Replace the FileWatcher test with the new tests * Add the contract publisher test * Modify the FileWatcher to support runAtBeginning * Formatting * Modify the code that use the FileWatcher * Remove the uncessary Null check * Remove the runAtBeginning flag because it might increase complexity * Reverse the format change * Remove the secret watcher * Modify the fileWatcher Test * Code refector * remove uncessary check * Update the contractpublisher test * Remove secretWatcher * fix * Update data-plane/core/src/main/java/dev/knative/eventing/kafka/broker/core/file/FileWatcher.java Co-authored-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com> * Use await instead of sleep * Update data-plane/core/src/test/java/dev/knative/eventing/kafka/broker/core/eventbus/ContractPublisherTest.java Co-authored-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com> * Update the contractPublisherTest * Update codegen * Update the spotless * Revert the protoc version change --------- Co-authored-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
- Loading branch information
Showing
10 changed files
with
272 additions
and
280 deletions.
There are no files selected for viewing
This file contains 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 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
78 changes: 0 additions & 78 deletions
78
data-plane/core/src/main/java/dev/knative/eventing/kafka/broker/core/file/SecretWatcher.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.