• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

FIWARE / contract-management / #68

29 Oct 2025 11:26AM UTC coverage: 1.686% (+0.04%) from 1.651%
#68

Pull #12

wistefan
fixes from pr review
Pull Request #12: Support for central marketplace and policy creation

117 of 1238 new or added lines in 31 files covered. (9.45%)

5 existing lines in 2 files now uncovered.

587 of 34807 relevant lines covered (1.69%)

0.02 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

20.0
/src/main/java/org/fiware/iam/configuration/Oid4VpConfiguration.java
1
package org.fiware.iam.configuration;
2

3

4
import io.micronaut.context.annotation.ConfigurationProperties;
5
import io.micronaut.context.condition.Condition;
6
import io.micronaut.context.condition.ConditionContext;
7
import io.micronaut.core.annotation.Introspected;
8
import lombok.Data;
9

10
import java.net.URI;
11
import java.util.List;
12

13
@Data
14
@Introspected
15
@ConfigurationProperties("oid4vp")
16
public class Oid4VpConfiguration {
17

18
    private boolean enabled = false;
19
    private Holder holder;
20
    private ProxyConfig proxyConfig;
21
    private String credentialsFolder;
22

23
    // list of trust-anchors to be used in addition to the system truststore.
24
    private List<String> trustAnchors;
25

26
    @ConfigurationProperties("holder")
27
    @Introspected
NEW
28
    public static record Holder(URI holderId, String keyType, String keyPath, String signatureAlgorithm) {
×
29
    }
30

31
    @ConfigurationProperties("proxyConfig")
32
    @Introspected
NEW
33
    public static record ProxyConfig(boolean useProxy, String proxyHost, int proxyPort) {
×
34
    }
35

36

37
    public static class Oid4VpCondition implements Condition {
1✔
38

39
        @Override
40
        public boolean matches(ConditionContext context) {
NEW
41
            return context.getBean(Oid4VpConfiguration.class)
×
NEW
42
                    .isEnabled();
×
43
        }
44
    }
45

46
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc