generated from creek-service/aggregate-template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
...to: 1. The latest gh-pages workflow 1. Correctly expose its aggregate descriptor 1. include details of the ks-aggregate-api-demo 1. Remove reference to debugging Kafka brokers, as it's not currently working. (see creek-service/creek-system-test#245).
- Loading branch information
1 parent
c04f738
commit 777a0b3
Showing
13 changed files
with
91 additions
and
64 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,14 @@ | ||
import io.github.creek.service.basic.kafka.streams.demo.api.BasicKafkaStreamsDemoAggregateDescriptor; | ||
import org.creekservice.api.platform.metadata.ComponentDescriptor; | ||
|
||
module basic.kafka.streams.demo.api { | ||
requires transitive creek.kafka.metadata; | ||
|
||
exports io.github.creek.service.basic.kafka.streams.demo.api; | ||
exports io.github.creek.service.basic.kafka.streams.demo.internal to | ||
basic.kafka.streams.demo.services, | ||
basic.kafka.streams.demo.service; | ||
|
||
provides ComponentDescriptor with | ||
BasicKafkaStreamsDemoAggregateDescriptor; | ||
} |
17 changes: 17 additions & 0 deletions
17
...in/resources/META-INF/services/org.creekservice.api.platform.metadata.ComponentDescriptor
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# | ||
# Copyright 2022-2023 Creek Contributors (https://github.com/creek-service) | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
|
||
io.github.creek.service.basic.kafka.streams.demo.api.BasicKafkaStreamsDemoAggregateDescriptor |
19 changes: 19 additions & 0 deletions
19
...ek/service/basic/kafka/streams/demo/api/BasicKafkaStreamsDemoAggregateDescriptorTest.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package io.github.creek.service.basic.kafka.streams.demo.api; | ||
|
||
import static org.hamcrest.MatcherAssert.assertThat; | ||
import static org.hamcrest.Matchers.hasItem; | ||
import static org.hamcrest.Matchers.instanceOf; | ||
|
||
import java.util.List; | ||
import org.creekservice.api.platform.metadata.ComponentDescriptor; | ||
import org.creekservice.api.platform.metadata.ComponentDescriptors; | ||
import org.junit.jupiter.api.Test; | ||
|
||
class BasicKafkaStreamsDemoAggregateDescriptorTest { | ||
|
||
@Test | ||
void shouldLoadDescriptor() { | ||
final List<ComponentDescriptor> loaded = ComponentDescriptors.load(); | ||
assertThat(loaded, hasItem(instanceOf(BasicKafkaStreamsDemoAggregateDescriptor.class))); | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ analytics: | |
|
||
comments: | ||
disqus: | ||
shortname : "mmistakes-dev" | ||
shortname : "creek-service-dev" | ||
|
||
sass: | ||
style: expanded |
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
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
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