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

wistefan / tmforum-api / #62

19 Oct 2023 01:12PM UTC coverage: 68.167% (+0.5%) from 67.631%
#62

push

web-flow
Account management api implementation (#34)

* Creating the directories

* Adding pom

* now adding pom, error on last commit

* Account complete implementation, no testing

* Solving problems with git config

* Adding some left out classes and some tests

* Adding FinancialAccount Integration Test and solving some errors on the main classes

* adding Integration Test and solved errors for Party, Bill, Settlement and Financial Account, and BillFormat

* Adding final integration tests and adapting api to query format

* Fixing Event Subscription

* Cleaning the code from comments

---------

Co-authored-by: MVazquez <marcosvazquezcampos@MacBook-Air-de-Marcos.local>

475 of 475 new or added lines in 32 files covered. (100.0%)

3150 of 4621 relevant lines covered (68.17%)

0.68 hits per line

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

66.67
/account/src/main/java/org/fiware/tmforum/account/domain/FinancialAccountRef.java
1
package org.fiware.tmforum.account.domain;
2

3
import io.github.wistefan.mapping.annotations.AttributeGetter;
4
import io.github.wistefan.mapping.annotations.AttributeSetter;
5
import io.github.wistefan.mapping.annotations.AttributeType;
6
import io.github.wistefan.mapping.annotations.MappingEnabled;
7
import lombok.EqualsAndHashCode;
8
import lombok.Getter;
9
import lombok.Setter;
10
import org.fiware.tmforum.common.domain.RefEntity;
11

12
import java.util.List;
13
import java.util.Optional;
14

15
@EqualsAndHashCode(callSuper = true)
×
16
@MappingEnabled(entityType = FinancialAccount.TYPE_FINANCIALAC)
17
public class FinancialAccountRef extends RefEntity {
18

19
    public FinancialAccountRef(String id) {
20
        super(id);
1✔
21
    }
1✔
22

23
    @Getter(onMethod = @__({ @AttributeGetter(value = AttributeType.PROPERTY, targetName = "accountBalance") }))
×
24
    @Setter(onMethod = @__({ @AttributeSetter(value = AttributeType.PROPERTY, targetName = "accountBalance") }))
1✔
25
    private AccountBalance accountBalance;
26

27
    @Override public List<String> getReferencedTypes() {
28
        return List.of(FinancialAccount.TYPE_FINANCIALAC);
1✔
29
    }
30
}
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