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

wistefan / tmforum-api / #74

01 Nov 2023 10:51AM UTC coverage: 67.619% (-0.2%) from 67.773%
#74

push

web-flow
New classes for embedded models in Product Order (#36)

* Build different NGSI queries depending if the attr is relationship or property

* Add tests to validate query parser with relationships

* Add missing testing class

* Fix bug removing well known attributes in query parser using fixed-size list

* Use scorpio OR queries

* Fix the type of product spec bundle references

* Update the type of product specs relationships

* Fix errors mapping categories and product specs as references

* Fix config issues with ProductOfferingTerm

* Allow to configure NGSI-LD query options

* Add default NGSI-LD query configuration

* Add a class for serializing relationships when embedded in values

* Add a child class for offering reference value

* Validate product reference only when provided in productOrderItem

* Comment old test

* Add new test to validate that products in order items can be provided without ID

* Fix issue with inmutable list in product order create test

* Use given method instead of setter for adding characteristics to product order test

* Set default fields to null in product order test with product template

* Allow to include price into product order items product

* Add a serializable class for product pricing in product model

* Add missing file

---------

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

22 of 22 new or added lines in 5 files covered. (100.0%)

3289 of 4864 relevant lines covered (67.62%)

0.68 hits per line

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

0.0
/common/src/main/java/org/fiware/tmforum/common/domain/RelatedPartyRefValue.java
1
package org.fiware.tmforum.common.domain;
2

3
import lombok.Data;
4
import lombok.NoArgsConstructor;
5

6
@Data
×
7
@NoArgsConstructor
×
8
public class RelatedPartyRefValue extends ReferenceValue {
9
    private String name;
×
10
    private String role;
×
11
}
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

© 2025 Coveralls, Inc