Skip to content

add: API Policies to the API object in gateway

This check has been archived and is scheduled for deletion. Learn more about checks retention
Codecov / codecov/patch failed Nov 7, 2023 in 1s

10.00% of diff hit (target 39.35%)

View this Pull Request on Codecov

10.00% of diff hit (target 39.35%)

Annotations

Check warning on line 121 in components/apimgt/org.wso2.carbon.apimgt.api/src/main/java/org/wso2/carbon/apimgt/api/model/OperationPolicy.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

components/apimgt/org.wso2.carbon.apimgt.api/src/main/java/org/wso2/carbon/apimgt/api/model/OperationPolicy.java#L121

Added line #L121 was not covered by tests

Check warning on line 211 in components/apimgt/org.wso2.carbon.apimgt.api/src/main/java/org/wso2/carbon/apimgt/api/model/subscription/API.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

components/apimgt/org.wso2.carbon.apimgt.api/src/main/java/org/wso2/carbon/apimgt/api/model/subscription/API.java#L210-L211

Added lines #L210 - L211 were not covered by tests

Check warning on line 89 in components/apimgt/org.wso2.carbon.apimgt.api/src/main/java/org/wso2/carbon/apimgt/api/model/subscription/URLMapping.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

components/apimgt/org.wso2.carbon.apimgt.api/src/main/java/org/wso2/carbon/apimgt/api/model/subscription/URLMapping.java#L88-L89

Added lines #L88 - L89 were not covered by tests

Check warning on line 34 in components/apimgt/org.wso2.carbon.apimgt.common.analytics/src/main/java/org/wso2/carbon/apimgt/common/analytics/publishers/dto/API.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

components/apimgt/org.wso2.carbon.apimgt.common.analytics/src/main/java/org/wso2/carbon/apimgt/common/analytics/publishers/dto/API.java#L33-L34

Added lines #L33 - L34 were not covered by tests

Check warning on line 85 in components/apimgt/org.wso2.carbon.apimgt.common.analytics/src/main/java/org/wso2/carbon/apimgt/common/analytics/publishers/dto/API.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

components/apimgt/org.wso2.carbon.apimgt.common.analytics/src/main/java/org/wso2/carbon/apimgt/common/analytics/publishers/dto/API.java#L85

Added line #L85 was not covered by tests

Check warning on line 90 in components/apimgt/org.wso2.carbon.apimgt.common.analytics/src/main/java/org/wso2/carbon/apimgt/common/analytics/publishers/dto/API.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

components/apimgt/org.wso2.carbon.apimgt.common.analytics/src/main/java/org/wso2/carbon/apimgt/common/analytics/publishers/dto/API.java#L89-L90

Added lines #L89 - L90 were not covered by tests

Check warning on line 94 in components/apimgt/org.wso2.carbon.apimgt.common.analytics/src/main/java/org/wso2/carbon/apimgt/common/analytics/publishers/dto/API.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

components/apimgt/org.wso2.carbon.apimgt.common.analytics/src/main/java/org/wso2/carbon/apimgt/common/analytics/publishers/dto/API.java#L93-L94

Added lines #L93 - L94 were not covered by tests

Check warning on line 97 in components/apimgt/org.wso2.carbon.apimgt.common.analytics/src/main/java/org/wso2/carbon/apimgt/common/analytics/publishers/dto/API.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

components/apimgt/org.wso2.carbon.apimgt.common.analytics/src/main/java/org/wso2/carbon/apimgt/common/analytics/publishers/dto/API.java#L97

Added line #L97 was not covered by tests

Check warning on line 24 in components/apimgt/org.wso2.carbon.apimgt.common.analytics/src/main/java/org/wso2/carbon/apimgt/common/analytics/publishers/dto/OperationPolicy.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

components/apimgt/org.wso2.carbon.apimgt.common.analytics/src/main/java/org/wso2/carbon/apimgt/common/analytics/publishers/dto/OperationPolicy.java#L24

Added line #L24 was not covered by tests

Check warning on line 32 in components/apimgt/org.wso2.carbon.apimgt.common.analytics/src/main/java/org/wso2/carbon/apimgt/common/analytics/publishers/dto/OperationPolicy.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

components/apimgt/org.wso2.carbon.apimgt.common.analytics/src/main/java/org/wso2/carbon/apimgt/common/analytics/publishers/dto/OperationPolicy.java#L32

Added line #L32 was not covered by tests

Check warning on line 37 in components/apimgt/org.wso2.carbon.apimgt.common.analytics/src/main/java/org/wso2/carbon/apimgt/common/analytics/publishers/dto/OperationPolicy.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

components/apimgt/org.wso2.carbon.apimgt.common.analytics/src/main/java/org/wso2/carbon/apimgt/common/analytics/publishers/dto/OperationPolicy.java#L36-L37

Added lines #L36 - L37 were not covered by tests

Check warning on line 40 in components/apimgt/org.wso2.carbon.apimgt.common.analytics/src/main/java/org/wso2/carbon/apimgt/common/analytics/publishers/dto/OperationPolicy.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

components/apimgt/org.wso2.carbon.apimgt.common.analytics/src/main/java/org/wso2/carbon/apimgt/common/analytics/publishers/dto/OperationPolicy.java#L40

Added line #L40 was not covered by tests

Check warning on line 45 in components/apimgt/org.wso2.carbon.apimgt.common.analytics/src/main/java/org/wso2/carbon/apimgt/common/analytics/publishers/dto/OperationPolicy.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

components/apimgt/org.wso2.carbon.apimgt.common.analytics/src/main/java/org/wso2/carbon/apimgt/common/analytics/publishers/dto/OperationPolicy.java#L44-L45

Added lines #L44 - L45 were not covered by tests

Check warning on line 48 in components/apimgt/org.wso2.carbon.apimgt.common.analytics/src/main/java/org/wso2/carbon/apimgt/common/analytics/publishers/dto/OperationPolicy.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

components/apimgt/org.wso2.carbon.apimgt.common.analytics/src/main/java/org/wso2/carbon/apimgt/common/analytics/publishers/dto/OperationPolicy.java#L48

Added line #L48 was not covered by tests

Check warning on line 53 in components/apimgt/org.wso2.carbon.apimgt.common.analytics/src/main/java/org/wso2/carbon/apimgt/common/analytics/publishers/dto/OperationPolicy.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

components/apimgt/org.wso2.carbon.apimgt.common.analytics/src/main/java/org/wso2/carbon/apimgt/common/analytics/publishers/dto/OperationPolicy.java#L52-L53

Added lines #L52 - L53 were not covered by tests

Check warning on line 56 in components/apimgt/org.wso2.carbon.apimgt.common.analytics/src/main/java/org/wso2/carbon/apimgt/common/analytics/publishers/dto/OperationPolicy.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

components/apimgt/org.wso2.carbon.apimgt.common.analytics/src/main/java/org/wso2/carbon/apimgt/common/analytics/publishers/dto/OperationPolicy.java#L56

Added line #L56 was not covered by tests

Check warning on line 61 in components/apimgt/org.wso2.carbon.apimgt.common.analytics/src/main/java/org/wso2/carbon/apimgt/common/analytics/publishers/dto/OperationPolicy.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

components/apimgt/org.wso2.carbon.apimgt.common.analytics/src/main/java/org/wso2/carbon/apimgt/common/analytics/publishers/dto/OperationPolicy.java#L60-L61

Added lines #L60 - L61 were not covered by tests

Check warning on line 64 in components/apimgt/org.wso2.carbon.apimgt.common.analytics/src/main/java/org/wso2/carbon/apimgt/common/analytics/publishers/dto/OperationPolicy.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

components/apimgt/org.wso2.carbon.apimgt.common.analytics/src/main/java/org/wso2/carbon/apimgt/common/analytics/publishers/dto/OperationPolicy.java#L64

Added line #L64 was not covered by tests

Check warning on line 69 in components/apimgt/org.wso2.carbon.apimgt.common.analytics/src/main/java/org/wso2/carbon/apimgt/common/analytics/publishers/dto/OperationPolicy.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

components/apimgt/org.wso2.carbon.apimgt.common.analytics/src/main/java/org/wso2/carbon/apimgt/common/analytics/publishers/dto/OperationPolicy.java#L68-L69

Added lines #L68 - L69 were not covered by tests

Check warning on line 9 in components/apimgt/org.wso2.carbon.apimgt.common.analytics/src/main/java/org/wso2/carbon/apimgt/common/analytics/publishers/dto/URITemplate.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

components/apimgt/org.wso2.carbon.apimgt.common.analytics/src/main/java/org/wso2/carbon/apimgt/common/analytics/publishers/dto/URITemplate.java#L9

Added line #L9 was not covered by tests

Check warning on line 16 in components/apimgt/org.wso2.carbon.apimgt.common.analytics/src/main/java/org/wso2/carbon/apimgt/common/analytics/publishers/dto/URITemplate.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

components/apimgt/org.wso2.carbon.apimgt.common.analytics/src/main/java/org/wso2/carbon/apimgt/common/analytics/publishers/dto/URITemplate.java#L16

Added line #L16 was not covered by tests

Check warning on line 20 in components/apimgt/org.wso2.carbon.apimgt.common.analytics/src/main/java/org/wso2/carbon/apimgt/common/analytics/publishers/dto/URITemplate.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

components/apimgt/org.wso2.carbon.apimgt.common.analytics/src/main/java/org/wso2/carbon/apimgt/common/analytics/publishers/dto/URITemplate.java#L19-L20

Added lines #L19 - L20 were not covered by tests

Check warning on line 23 in components/apimgt/org.wso2.carbon.apimgt.common.analytics/src/main/java/org/wso2/carbon/apimgt/common/analytics/publishers/dto/URITemplate.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

components/apimgt/org.wso2.carbon.apimgt.common.analytics/src/main/java/org/wso2/carbon/apimgt/common/analytics/publishers/dto/URITemplate.java#L23

Added line #L23 was not covered by tests

Check warning on line 28 in components/apimgt/org.wso2.carbon.apimgt.common.analytics/src/main/java/org/wso2/carbon/apimgt/common/analytics/publishers/dto/URITemplate.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

components/apimgt/org.wso2.carbon.apimgt.common.analytics/src/main/java/org/wso2/carbon/apimgt/common/analytics/publishers/dto/URITemplate.java#L27-L28

Added lines #L27 - L28 were not covered by tests

Check warning on line 31 in components/apimgt/org.wso2.carbon.apimgt.common.analytics/src/main/java/org/wso2/carbon/apimgt/common/analytics/publishers/dto/URITemplate.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

components/apimgt/org.wso2.carbon.apimgt.common.analytics/src/main/java/org/wso2/carbon/apimgt/common/analytics/publishers/dto/URITemplate.java#L31

Added line #L31 was not covered by tests