This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a change to branch regen_bot
in repository https://gitbox.apache.org/repos/asf/camel.git.
from f86639e Ensure that test-infra properties are registered and
accessible outside of test (#4597)
add 45af1c5 CAMEL-15845: Add events consumer to GitHub component
No new revisions were added by this update.
Summary of changes:
.../apache/camel/catalog/components/github.json | 3 +-
.../camel/catalog/docs/github-component.adoc | 5 +-
.../component/github/GitHubEndpointConfigurer.java | 6 ++
.../component/github/GitHubEndpointUriFactory.java | 3 +-
.../org/apache/camel/component/github/github.json | 3 +-
.../src/main/docs/github-component.adoc | 5 +-
.../camel/component/github/GitHubConstants.java | 2 +
.../camel/component/github/GitHubEndpoint.java | 17 ++++
.../apache/camel/component/github/GitHubType.java | 4 +-
.../component/github/consumer/EventsConsumer.java | 105 +++++++++++++++++++++
.../github/event/GitHubEventFetchStrategy.java} | 40 ++++----
.../component/github/GitHubComponentTestBase.java | 3 +
...TagConsumerTest.java => EventConsumerTest.java} | 60 ++++++------
.../consumer/EventConsumerWithStrategyTest.java | 82 ++++++++++++++++
.../github/services/MockEventService.java | 69 ++++++++++++++
.../github/services/MockRepositoryService.java | 5 +
.../builder/endpoint/StaticEndpointBuilders.java | 8 +-
.../endpoint/dsl/GitHubEndpointBuilderFactory.java | 36 ++++++-
.../modules/ROOT/pages/github-component.adoc | 5 +-
19 files changed, 389 insertions(+), 72 deletions(-)
create mode 100644
components/camel-github/src/main/java/org/apache/camel/component/github/consumer/EventsConsumer.java
copy
components/{camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/api/XmlSignatureNoKeyException.java
=>
camel-github/src/main/java/org/apache/camel/component/github/event/GitHubEventFetchStrategy.java}
(53%)
copy
components/camel-github/src/test/java/org/apache/camel/component/github/consumer/{TagConsumerTest.java
=> EventConsumerTest.java} (50%)
create mode 100644
components/camel-github/src/test/java/org/apache/camel/component/github/consumer/EventConsumerWithStrategyTest.java
create mode 100644
components/camel-github/src/test/java/org/apache/camel/component/github/services/MockEventService.java