Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Issue715 integrationtest #730

Merged
merged 5 commits into from
Mar 26, 2020
Merged

Conversation

uweschaefer
Copy link
Member

No description provided.

@uweschaefer uweschaefer changed the base branch from master to issue715 March 25, 2020 10:27
@codecov
Copy link

codecov bot commented Mar 25, 2020

Codecov Report

Merging #730 into issue715 will increase coverage by 1.10%.
The diff coverage is 78.48%.

@@              Coverage Diff               @@
##             issue715     #730      +/-   ##
==============================================
+ Coverage       85.22%   86.33%   +1.10%     
- Complexity          0        5       +5     
==============================================
  Files             161      164       +3     
  Lines            3026     3059      +33     
  Branches          218      221       +3     
==============================================
+ Hits             2579     2641      +62     
+ Misses            373      345      -28     
+ Partials           74       73       -1     

@uweschaefer uweschaefer requested a review from otbe March 25, 2020 14:40
@uweschaefer uweschaefer added this to the 0.2.0 milestone Mar 25, 2020
@uweschaefer
Copy link
Member Author

Codacy Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- factcast-store-pgsql/src/main/java/org/factcast/store/pgsql/internal/catchup/paged/PgPagedCatchup.java  2
- factcast-client-grpc/src/main/java/org/factcast/client/grpc/ClientStreamObserver.java  1
- factcast-integration-full/factcast-integration-transformation/src/main/java/org/factcast/integration/transformation/IntegrationTestContext.java  1
- factcast-core/src/main/java/org/factcast/core/util/ExceptionHelper.java  2
- factcast-integration-full/factcast-integration-transformation/src/main/java/org/factcast/integration/transformation/ExampleServerWithPostgresContainer.java  1
- factcast-core/src/main/java/org/factcast/core/subscription/SubscriptionImpl.java  1
- factcast-store-pgsql/src/main/java/org/factcast/store/pgsql/internal/PgFactStream.java  2
         

Complexity decreasing per file
==============================
+ factcast-core/src/main/java/org/factcast/core/subscription/ReconnectingFactSubscriptionWrapper.java  -1
         

See the complete overview on Codacy

@uweschaefer uweschaefer merged commit 82429b4 into issue715 Mar 26, 2020
uweschaefer added a commit that referenced this pull request Mar 27, 2020
* #715: add Transformation source/store

* #715: minor refactoring

* #715: minor refactoring

* #715: wip

* #715: re-arranged registry code
added tests for transformation store impl

* #715: use Optional<String> for TransformationCode
take isSynthetic() into account when registering transformations

* #715: #715 transformation chains wip

* #715: #715 transformation chains wip

* #715: transformation chains wip

* #715: weigthed search

* #715: added PgTransformationStore implementation
added tests
fixed autoconfig

* #715: added test for synthetic transformation (NOP)

* WIP: #715_tcinval: added listeners to TransformationStore (#718)

* #715_tcinval: added listeners to TransformationStore

* #715_tcinval: added caching of chains

* #715_tcinval: a little renaming

* #715_tcinval: concurrency fix

* #715_tcinval: renaming did for some reason not happen on incoming changes

* #715_tcinval: renaming

* #715: JS composition tidied up a bit

* #715: additional synchronization

* WIP #715-factspec: added version to FactSpec (#720)

* #715-factspec: added version to FactSpec
created convenient method to create FactSpec

Co-authored-by: Benjamin Otto <benjamin.otto@style-systems.de>

* #725: removed id subscriptions

* #715_subscription: WIP

* #715_subscription: WIP

* #715_subscription: WIP

* #715_subscription: WIP

* #715_subscription: added TranformationCache

* #715: #715_subscription: added TranformationCache

* #715: switched to eventId

* #715_subscription: WIP

* #715_subscription: WIP

* #715_subscription: WIP

* #715_subscription: WIP minor cleanup

* #715_subscription: WIP minor cleanup

* #715_subscription: WIP minor coverage improvements

* #715_subscription: working prototype

* #715_subscription: wip

* #715_subscription: wip

* #715_subscription: wip

* #715_subscription: fixed nasty version bug during transformation (new version value was not applied)

* #715_subscription: fixed nasty version bug during transformation (new version value was not applied)

* #715_subscription: added classpath: protocol for schema registry

* Issue715 transformation cache (#729)

* #715-transformation-cache: added pg transformation cache impl

* #715-transformation-cache: review comments

* #715-transformation-cache: removed unused dependency in non-component bean

* #715-transformation-cache: removed unused dependency in non-component bean

* #715-transformation-cache: removed unused dependency in non-component bean

* #715-transformation-cache: removed unused dependency in non-component bean

Co-authored-by: Uwe Schaefer <uwe.schaefer@prisma-capacity.eu>

* #715_subscription: fixed tests, wrong urls

* #715_subscription: cleanup

* #715_subscription: removed lost comments

* Update factcast-store-pgsql/src/main/java/org/factcast/store/pgsql/registry/transformation/FactTransformersImpl.java

Co-Authored-By: Benjamin Otto <benjamin.otto@style-systems.de>

* #715_subscription: removed unused cost

* #715_subscription: review comments

* WIP: Issue715 subscription (#727)

* build(deps): bump liquibase-core from 3.8.7 to 3.8.8 (#716)

Bumps [liquibase-core](https://github.com/liquibase/liquibase) from 3.8.7 to 3.8.8.
- [Release notes](https://github.com/liquibase/liquibase/releases)
- [Changelog](https://github.com/liquibase/liquibase/blob/v3.8.8/changelog.txt)
- [Commits](liquibase/liquibase@v3.8.7...v3.8.8)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* build(deps): bump kotlin-logging from 1.7.8 to 1.7.9 (#717)

Bumps [kotlin-logging](https://github.com/MicroUtils/kotlin-logging) from 1.7.8 to 1.7.9.
- [Release notes](https://github.com/MicroUtils/kotlin-logging/releases)
- [Changelog](https://github.com/MicroUtils/kotlin-logging/blob/master/ChangeLog.md)
- [Commits](oshai/kotlin-logging@1.7.8...1.7.9)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* build(deps): bump spotless-maven-plugin from 1.27.0 to 1.28.0 (#721)

Bumps [spotless-maven-plugin](https://github.com/diffplug/spotless) from 1.27.0 to 1.28.0.
- [Release notes](https://github.com/diffplug/spotless/releases)
- [Changelog](https://github.com/diffplug/spotless/blob/master/CHANGES.md)
- [Commits](diffplug/spotless@lib/1.27.0...lib/1.28.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* build(deps-dev): bump junit-platform-engine from 1.6.0 to 1.6.1 (#723)

Bumps [junit-platform-engine](https://github.com/junit-team/junit5) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/commits)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

* #725: removed id subscriptions

* #715_subscription: WIP

* #715_subscription: WIP

* #725: removed id subscriptions (#726)

* #725: removed id subscriptions

* #725: removed accidental additions

* #715_subscription: WIP

* #715_subscription: WIP

* #715_subscription: added TranformationCache

* #715_subscription: WIP

* #715_subscription: WIP

* #715_subscription: WIP

* #715_subscription: WIP minor cleanup

* #715_subscription: WIP minor cleanup

* #715_subscription: WIP minor coverage improvements

* #715_subscription: working prototype

* #715_subscription: wip

* #715_subscription: wip

* #715_subscription: wip

* #715_subscription: fixed nasty version bug during transformation (new version value was not applied)

* #715_subscription: fixed nasty version bug during transformation (new version value was not applied)

* #715_subscription: added classpath: protocol for schema registry

* #715_subscription: fixed tests, wrong urls

* #715_subscription: cleanup

* #715_subscription: removed lost comments

* Update factcast-store-pgsql/src/main/java/org/factcast/store/pgsql/registry/transformation/FactTransformersImpl.java

Co-Authored-By: Benjamin Otto <benjamin.otto@style-systems.de>

* #715_subscription: removed unused cost

* #715_subscription: review comments

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Uwe Schaefer <uwe.schaefer@mercateo.com>
Co-authored-by: Benjamin Otto <benjamin.otto@style-systems.de>

* #715_subscription: review comments

* #715_integrationtest: added project for integration tests

* #715_integrationtest: simple integration tests added

* #715_integrationtest: simple integration tests added

* #715_integrationtest: simple integration tests added

* #715_docs: properties updated

* #715_docs: properties updated, transformation page added

* #715_docs: properties updated, transformation page added

* #715_docs: properties updated, added capacity for inmem transCache

* #715_docs: properties updated, added capacity for inmem transCache

* #715_transcache_purge: compactor added (#735)

* #715_transcache_purge: compactor added

* #715_transcache_purge: fixed inmemTC

* #715_transcache_purge: fixed classpath reg

* #715_docs: cleanup

* #715-metrics: added metrics (#734)

* #715-metrics: added metrics

* #715-metrics: minor refactorings

* #715-metrics: minor refactorings

* #715-metrics: minor refactorings

* #715-metrics: minor refactorings

* #715-metrics: minor refactorings

* #715-metrics: minor refactorings

* #715-metrics: review comments

* Update factcast-site/documentation/content/_index.md

Co-Authored-By: Benjamin Otto <benjamin.otto@style-systems.de>

* Update factcast-site/documentation/content/usage/java/transformation.md

Co-Authored-By: Benjamin Otto <benjamin.otto@style-systems.de>

* #715_docs: merge

* #715_docs: merge

* #715_docs: fix httpSR test

* WIP: Issue715 integrationtest (#730)

* #715_integrationtest: added project for integration tests

* #715_integrationtest: simple integration tests added

* #715_integrationtest: simple integration tests added

* #715_integrationtest: simple integration tests added

* #715_integrationtest: tweaked crazy reconnect behavior

* #715_docs: logging exec time to logs as well

* #715_docs: inmem stores use concurrentmaps now

* #715_docs: sigh, now with proper sync on access to hashmap, as cuncurrenthashmap does not allow null values (remember Liskov? - turns out CHM is not a HM :D)

* #715_docs: i will never again try to merge with githubs web interface,
i will never again try to merge with githubs web interface,
i will never again try to merge with githubs web interface,
i will never again try to merge with githubs web interface,
i will never again try to merge with githubs web interface,
i will never again try to merge with githubs web interface,
i will never again try to merge with githubs web interface,
i will never again try to merge with githubs web interface,
i will never again try to merge with githubs web interface,
i will never again try to merge with githubs web interface,
i will never again try to merge with githubs web interface,
i will never again try to merge with githubs web interface,
i will never again try to merge with githubs web interface,
i will never again try to merge with githubs web interface,
i will never again try to merge with githubs web interface,
i will never again try to merge with githubs web interface,
i will never again try to merge with githubs web interface,
i will never again try to merge with githubs web interface,
i will never again try to merge with githubs web interface,
i will never again try to merge with githubs web interface,
i will never again try to merge with githubs web interface.

* WIP: Issue715 docs (#733)

* #715_integrationtest: added project for integration tests

* #715_integrationtest: simple integration tests added

* #715_integrationtest: simple integration tests added

* #715_integrationtest: simple integration tests added

* #715_docs: properties updated

* #715_docs: properties updated, transformation page added

* #715_docs: properties updated, transformation page added

* #715_docs: properties updated, added capacity for inmem transCache

* #715_docs: properties updated, added capacity for inmem transCache

* #715_transcache_purge: compactor added (#735)

* #715_transcache_purge: compactor added

* #715_transcache_purge: fixed inmemTC

* #715_transcache_purge: fixed classpath reg

* #715_docs: cleanup

* Update factcast-site/documentation/content/_index.md

Co-Authored-By: Benjamin Otto <benjamin.otto@style-systems.de>

* Update factcast-site/documentation/content/usage/java/transformation.md

Co-Authored-By: Benjamin Otto <benjamin.otto@style-systems.de>

* #715_docs: merge

* #715_docs: merge

* #715_docs: fix httpSR test

* #715_docs: logging exec time to logs as well

* #715_docs: inmem stores use concurrentmaps now

* #715_docs: sigh, now with proper sync on access to hashmap, as cuncurrenthashmap does not allow null values (remember Liskov? - turns out CHM is not a HM :D)

* #715_docs: i will never again try to merge with githubs web interface,
i will never again try to merge with githubs web interface,
i will never again try to merge with githubs web interface,
i will never again try to merge with githubs web interface,
i will never again try to merge with githubs web interface,
i will never again try to merge with githubs web interface,
i will never again try to merge with githubs web interface,
i will never again try to merge with githubs web interface,
i will never again try to merge with githubs web interface,
i will never again try to merge with githubs web interface,
i will never again try to merge with githubs web interface,
i will never again try to merge with githubs web interface,
i will never again try to merge with githubs web interface,
i will never again try to merge with githubs web interface,
i will never again try to merge with githubs web interface,
i will never again try to merge with githubs web interface,
i will never again try to merge with githubs web interface,
i will never again try to merge with githubs web interface,
i will never again try to merge with githubs web interface,
i will never again try to merge with githubs web interface,
i will never again try to merge with githubs web interface.

Co-authored-by: Benjamin Otto <benjamin.otto@style-systems.de>

* #715_docs: review comments, thx @JoergAdler

Co-authored-by: Benjamin Otto <benjamin.otto@style-systems.de>
Co-authored-by: Uwe Schaefer <uwe.schaefer@mercateo.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
@uweschaefer uweschaefer deleted the issue715_integrationtest branch May 30, 2020 09:17
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.

None yet

2 participants