Showing 1 of 8 files from the diff.

@@ -24,6 +24,7 @@
Loading
24 24
import io.spine.base.Identifier;
25 25
import io.spine.core.TenantId;
26 26
import io.spine.server.tenant.IdInTenant;
27 +
import io.spine.server.tenant.TenantAwareRunner;
27 28
import io.spine.server.type.SignalEnvelope;
28 29
import org.checkerframework.checker.nullness.qual.Nullable;
29 30
@@ -91,7 +92,10 @@
Loading
91 92
        List<Batch<I>> batches = Batch.byInboxId(incoming, this::asEnvelope);
92 93
93 94
        for (Batch<I> batch : batches) {
94 -
            batch.deliverVia(batchDispatcher, inboxOfCmds, inboxOfEvents);
95 +
            TenantId tenant = batch.inboxId.tenant();
96 +
            TenantAwareRunner.with(tenant).run(
97 +
                () -> batch.deliverVia(batchDispatcher, inboxOfCmds, inboxOfEvents)
98 +
            );
95 99
        }
96 100
    }
97 101
Files Complexity Coverage
client/src/main/java/io/spine 86.68% 87.84%
core/src/main/java/io/spine 90.84% 94.45%
model 57.69% 52.02%
server/src/main/java/io/spine 89.00% 91.97%
testutil-client/src/main/java/io/spine/testing/client 94.74% 87.37%
testutil-core/src/main/java/io/spine/testing/core/given 92.86% 97.73%
testutil-server/src/main/java/io/spine/testing/server 90.04% 90.31%
Project Totals (608 files) 88.66% 91.05%
7957.1
TRAVIS_OS_NAME=linux
openjdk8=
1
#
2
# See default configuration here: https://github.com/codecov/support/blob/master/codecov.yml
3
#
4
# For more options see: https://gist.github.com/stevepeak/53bee7b2c326b24a9b4a
5
#
6
# Codecov documentation is available here: https://codecov.io/docs
7

8
coverage:
9
  ignore:
10
  - generated/*
11
  - examples/*
12
  - test/*
13
  status:
14
    patch: false
15

16
comment:
17
  layout: "header, diff, changes, uncovered"
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading