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

FIWARE / credentials-config-service / #33

07 Mar 2025 01:41PM UTC coverage: 81.223% (-5.6%) from 86.813%
#33

push

web-flow
update the api (#8)

* update the api

* backward compatible api

* extend doc  and testing

* review fixes

* fix naming

27 of 33 new or added lines in 2 files covered. (81.82%)

15 existing lines in 2 files now uncovered.

186 of 229 relevant lines covered (81.22%)

0.81 hits per line

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

63.64
/src/main/java/org/fiware/iam/repository/ListType.java
1
package org.fiware.iam.repository;
2

3
import com.fasterxml.jackson.annotation.JsonValue;
4

5
import java.util.Arrays;
6

7
/**
8
 * Type of the {@link EndpointEntry} list, either being in EBSI format or in Gaia-X
9
 */
10
public enum ListType {
1✔
11

12
        GAIA_X("gaia-x"),
1✔
13
        EBSI("ebsi");
1✔
14

15
        private final String value;
16

17
        private ListType(String value) {
1✔
18
                this.value = value;
1✔
19
        }
1✔
20

21
        public static ListType toEnum(String value) {
NEW
22
                return Arrays.stream(values())
×
NEW
23
                                .filter(e -> e.value.equals(value))
×
NEW
24
                                .findAny()
×
NEW
25
                                .orElseThrow(() -> new IllegalArgumentException(String.format("Unknown value %s", value)));
×
26
        }
27

28
        @JsonValue
29
        public String getValue() {
30
                return value;
1✔
31
        }
32
}
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