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

wistefan / tmforum-api / #49

29 Sep 2023 06:20AM UTC coverage: 67.488% (-4.3%) from 71.815%
#49

push

web-flow
Notifications (#23)

* Squashed commits

* Added cache invalidation for entity deletion

* Updated error message

618 of 618 new or added lines in 86 files covered. (100.0%)

2794 of 4140 relevant lines covered (67.49%)

0.67 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/subscription/Subscription.java
1
package org.fiware.tmforum.common.domain.subscription;
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.EntityWithId;
11

12
import java.net.URI;
13
import java.util.List;
14

15
@EqualsAndHashCode(callSuper = true)
×
16
@MappingEnabled(entityType = Subscription.TYPE_SUBSCRIPTION)
17
public class Subscription extends EntityWithId {
18
        public static final String TYPE_SUBSCRIPTION = "subscription";
19

20
        @Getter(onMethod = @__({ @AttributeGetter(value = AttributeType.PROPERTY, targetName = "callback") }))
×
21
        @Setter(onMethod = @__({ @AttributeSetter(value = AttributeType.PROPERTY, targetName = "callback") }))
×
22
        private URI callback;
23

24
        @Getter(onMethod = @__({ @AttributeGetter(value = AttributeType.PROPERTY, targetName = "query") }))
×
25
        @Setter(onMethod = @__({ @AttributeSetter(value = AttributeType.PROPERTY, targetName = "query") }))
×
26
        private String query;
27

28
        @Getter(onMethod = @__({ @AttributeGetter(value = AttributeType.PROPERTY, targetName = "rawQuery") }))
×
29
        @Setter(onMethod = @__({ @AttributeSetter(value = AttributeType.PROPERTY, targetName = "rawQuery") }))
×
30
        private String rawQuery;
31

32
        @Getter(onMethod = @__({@AttributeGetter(value = AttributeType.PROPERTY, targetName = "eventTypes") }))
×
33
        @Setter(onMethod = @__({@AttributeSetter(value = AttributeType.PROPERTY, targetName = "eventTypes") }))
×
34
        private List<String> eventTypes;
35

36
        @Getter(onMethod = @__({@AttributeGetter(value = AttributeType.PROPERTY, targetName = "entities") }))
×
37
        @Setter(onMethod = @__({@AttributeSetter(value = AttributeType.PROPERTY, targetName = "entities") }))
×
38
        private List<String> entities;
39

40
        @Getter(onMethod = @__({@AttributeGetter(value = AttributeType.PROPERTY, targetName = "fields") }))
×
41
        @Setter(onMethod = @__({@AttributeSetter(value = AttributeType.PROPERTY, targetName = "fields") }))
×
42
        private List<String> fields;
43

44
        public Subscription(String id) {
45
                super(TYPE_SUBSCRIPTION, id);
×
46
        }
×
47
}
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