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

FIWARE / trusted-issuers-list / 68

09 Jan 2026 10:36AM UTC coverage: 83.974% (+2.6%) from 81.341%
68

push

github

web-flow
fix(tir): change /v4/issuers implementation to match specification (#23)

* add filter to get x-forwarded-for headers

* fix(tir): change /v4/issuers implementation to match specification

The specification indicates that page[after] represents the page being accessed. The implementation has been updated to follow this behavior. Pages start at 0.
Additionally, the links and the self did not reference the full URL, but only the path, without the host, port, or protocol. For its implementation,
`micronaut.server.forward-headers` configuration has been added to read the X-Forwarded-* headers.

* setup qemu to build multiarch images

* feat(server): add support to RFC 7239 Forward header

---------

Co-authored-by: Stefan Wiedemann <wistefan@googlemail.com>

85 of 109 branches covered (77.98%)

Branch coverage included in aggregate %.

122 of 125 new or added lines in 5 files covered. (97.6%)

308 of 359 relevant lines covered (85.79%)

0.86 hits per line

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

72.73
/src/main/java/org/fiware/iam/filter/ForwardedInfo.java
1
package org.fiware.iam.filter;
2

3
import lombok.AllArgsConstructor;
4
import lombok.Data;
5
import lombok.ToString;
6

7
@AllArgsConstructor
8
@ToString
9
@Data
10
public class ForwardedInfo {
11

12
    private String forwardedFor;
13
    private String forwardedProto;
14
    private String forwardedHost;
15
    private int forwardedPort;
16
    private String forwardedBy;
17
    private String forwardedPrefix;
18

19
    public void setForwardedPortStr(String portStr) {
20
        if (portStr == null || portStr.isEmpty()) {
1!
NEW
21
            return;
×
22
        }
23
        this.forwardedPort = Integer.parseInt(portStr);
1✔
24
    }
1✔
25

26
    public String getForwardedPrefix() {
27
        return forwardedPrefix != null ? forwardedPrefix : "";
1✔
28
    }
29
}
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