diff options
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main')
14 files changed, 164 insertions, 180 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/api/ClientConfiguration.java b/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/api/ClientConfiguration.java index 9269e8bf22..285a5782cd 100644 --- a/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/api/ClientConfiguration.java +++ b/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/api/ClientConfiguration.java @@ -13,17 +13,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.openecomp.core.externaltesting.api; import lombok.Data; @Data public class ClientConfiguration { - /** - * Enable/disable state for the feature. Client can use this - * to show/hide menu items. - */ - private boolean enabled; + /** + * Enable/disable state for the feature. Client can use this to show/hide menu items. + */ + private boolean enabled; } diff --git a/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/api/ExternalTestingManager.java b/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/api/ExternalTestingManager.java index 21d09edc91..0cbaf41583 100644 --- a/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/api/ExternalTestingManager.java +++ b/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/api/ExternalTestingManager.java @@ -23,8 +23,7 @@ import java.util.Map; public interface ExternalTestingManager { /** - * Return the configuration of this feature that we want to - * expose to the client. Treated as a JSON blob for flexibility. + * Return the configuration of this feature that we want to expose to the client. Treated as a JSON blob for flexibility. */ ClientConfiguration getConfig(); @@ -34,8 +33,7 @@ public interface ExternalTestingManager { ClientConfiguration setConfig(ClientConfiguration config); /** - * Build a tree of all test cases for the client including all - * defined endpoints, scenarios, and test suites. + * Build a tree of all test cases for the client including all defined endpoints, scenarios, and test suites. * * @return test case tree. */ @@ -48,8 +46,7 @@ public interface ExternalTestingManager { /** - * For functional testing purposes, allow the endpoint configuration - * to be provisioned to the BE. + * For functional testing purposes, allow the endpoint configuration to be provisioned to the BE. */ List<RemoteTestingEndpointDefinition> setEndpoints(List<RemoteTestingEndpointDefinition> endpoints); @@ -84,8 +81,7 @@ public interface ExternalTestingManager { VtpTestCase getTestCase(String endpoint, String scenario, String testSuite, String testCaseName); /** - * Execute a collection of tests where the manager must distribute - * the tests to the appropriate endpoint and correlate the responses. + * Execute a collection of tests where the manager must distribute the tests to the appropriate endpoint and correlate the responses. * * @param requests collection of request items. * @param requestId optional request ID provided from client. @@ -96,7 +92,7 @@ public interface ExternalTestingManager { */ List<VtpTestExecutionResponse> execute(List<VtpTestExecutionRequest> requests, String vspId, String vspVersionId, - String requestId, Map<String, byte[]> fileMap); + String requestId, Map<String, byte[]> fileMap); /** diff --git a/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/api/RemoteTestingEndpointDefinition.java b/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/api/RemoteTestingEndpointDefinition.java index 0d5c30d593..22ebe9b465 100644 --- a/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/api/RemoteTestingEndpointDefinition.java +++ b/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/api/RemoteTestingEndpointDefinition.java @@ -17,30 +17,30 @@ package org.openecomp.core.externaltesting.api; import com.fasterxml.jackson.annotation.JsonIgnore; -import lombok.Data; - import java.util.regex.Pattern; +import lombok.Data; @Data public class RemoteTestingEndpointDefinition { - private boolean enabled; - private String title; - private String url; - private String id; - private String apiKey; - private String scenarioFilter; - // a compact way to specify and endpoint to ease docker configuration. - @JsonIgnore - private String config; + private boolean enabled; + private String title; + private String url; + private String id; + private String apiKey; + private String scenarioFilter; + + // a compact way to specify and endpoint to ease docker configuration. + @JsonIgnore + private String config; - private Pattern scenarioFilterPattern; + private Pattern scenarioFilterPattern; - @JsonIgnore - public Pattern getScenarioFilterPattern() { - if ((scenarioFilterPattern == null) && (scenarioFilter != null)) { - scenarioFilterPattern = Pattern.compile(scenarioFilter); + @JsonIgnore + public Pattern getScenarioFilterPattern() { + if ((scenarioFilterPattern == null) && (scenarioFilter != null)) { + scenarioFilterPattern = Pattern.compile(scenarioFilter); + } + return scenarioFilterPattern; } - return scenarioFilterPattern; - } } diff --git a/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/api/TestErrorBody.java b/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/api/TestErrorBody.java index d721f8997a..aa4d63c475 100644 --- a/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/api/TestErrorBody.java +++ b/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/api/TestErrorBody.java @@ -18,9 +18,8 @@ package org.openecomp.core.externaltesting.api; import com.fasterxml.jackson.annotation.JsonInclude; import io.swagger.v3.oas.annotations.media.Schema; -import lombok.Data; - import java.io.Serializable; +import lombok.Data; /** * Error body to return to client per IETF RFC 7807. @@ -31,20 +30,20 @@ import java.io.Serializable; @Data public class TestErrorBody implements Serializable { - private static final long serialVersionUID = 3504501412736665763L; + private static final long serialVersionUID = 3504501412736665763L; - private String code; - private Integer httpStatus; - private String message; + private String code; + private Integer httpStatus; + private String message; - TestErrorBody() { + TestErrorBody() { - } + } - public TestErrorBody(String code, Integer httpStatus, String message) { - this(); - this.code = code; - this.httpStatus = httpStatus; - this.message = message; - } + public TestErrorBody(String code, Integer httpStatus, String message) { + this(); + this.code = code; + this.httpStatus = httpStatus; + this.message = message; + } } diff --git a/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/api/TestTreeNode.java b/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/api/TestTreeNode.java index 1b75772476..4965abffcd 100644 --- a/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/api/TestTreeNode.java +++ b/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/api/TestTreeNode.java @@ -17,34 +17,31 @@ package org.openecomp.core.externaltesting.api; import com.fasterxml.jackson.annotation.JsonInclude; +import java.util.List; import lombok.Data; import lombok.EqualsAndHashCode; -import java.util.ArrayList; -import java.util.List; - /** - * Tree structure of tests. VTP does not provide an organized - * tree of tests. Here we define a tree node with tests and - * child nodes to represent our tree. + * Tree structure of tests. VTP does not provide an organized tree of tests. Here we define a tree node with tests and child nodes to represent our + * tree. */ @SuppressWarnings("unused") @JsonInclude(JsonInclude.Include.NON_EMPTY) @Data() -@EqualsAndHashCode(callSuper=true) +@EqualsAndHashCode(callSuper = true) public class TestTreeNode extends VtpNameDescriptionPair { - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List<VtpTestCase> tests; + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List<VtpTestCase> tests; - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List<TestTreeNode> children; + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List<TestTreeNode> children; - public TestTreeNode() { - super(); - } + public TestTreeNode() { + super(); + } - public TestTreeNode(String name, String description) { - super(name, description); - } + public TestTreeNode(String name, String description) { + super(name, description); + } } diff --git a/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/api/VtpNameDescriptionPair.java b/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/api/VtpNameDescriptionPair.java index 9a435de4ae..c34d4d4aea 100644 --- a/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/api/VtpNameDescriptionPair.java +++ b/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/api/VtpNameDescriptionPair.java @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.openecomp.core.externaltesting.api; import lombok.Data; @@ -23,16 +22,16 @@ import lombok.Data; */ @Data public class VtpNameDescriptionPair { - private String name; - private String description; - VtpNameDescriptionPair() { + private String name; + private String description; - } + VtpNameDescriptionPair() { + } - public VtpNameDescriptionPair(String name, String description) { - this(); - this.name = name; - this.description = description; - } + public VtpNameDescriptionPair(String name, String description) { + this(); + this.name = name; + this.description = description; + } } diff --git a/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/api/VtpTestCase.java b/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/api/VtpTestCase.java index ae39159f32..d8a81ae9fe 100644 --- a/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/api/VtpTestCase.java +++ b/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/api/VtpTestCase.java @@ -16,27 +16,25 @@ package org.openecomp.core.externaltesting.api; -import lombok.Data; - import java.util.List; +import lombok.Data; @Data public class VtpTestCase { - private String scenario; - private String testCaseName; - private String testSuiteName; - private String description; - private String author; - private List<VtpTestCaseInput> inputs; - private List<VtpTestCaseOutput> outputs; - - /** - * Extends VTP test case content with location where test case is defined. - * This value is populated by the SDC-BE for consumption by the front end. - * This allows the front end to tell the back end where to run the test. - */ - private String endpoint; + private String scenario; + private String testCaseName; + private String testSuiteName; + private String description; + private String author; + private List<VtpTestCaseInput> inputs; + private List<VtpTestCaseOutput> outputs; + + /** + * Extends VTP test case content with location where test case is defined. This value is populated by the SDC-BE for consumption by the front end. + * This allows the front end to tell the back end where to run the test. + */ + private String endpoint; } diff --git a/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/api/VtpTestCaseInput.java b/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/api/VtpTestCaseInput.java index 5c6db8eb72..19d6303f39 100644 --- a/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/api/VtpTestCaseInput.java +++ b/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/api/VtpTestCaseInput.java @@ -16,27 +16,25 @@ package org.openecomp.core.externaltesting.api; +import java.util.Map; import lombok.Data; import lombok.EqualsAndHashCode; -import java.util.Map; - @Data -@EqualsAndHashCode(callSuper=true) +@EqualsAndHashCode(callSuper = true) public class VtpTestCaseInput extends VtpNameDescriptionPair { - private String type; - private String defaultValue; - private boolean isOptional; - private Map<String,Object> metadata; + private String type; + private String defaultValue; + private boolean isOptional; + private Map<String, Object> metadata; - /** - * The VTP API has a field called isOptional, not just optional so - * we need to add getter and setter. - */ - @SuppressWarnings({"unused", "WeakerAccess"}) - public boolean getIsOptional() { - return isOptional; - } + /** + * The VTP API has a field called isOptional, not just optional so we need to add getter and setter. + */ + @SuppressWarnings({"unused", "WeakerAccess"}) + public boolean getIsOptional() { + return isOptional; + } } diff --git a/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/api/VtpTestCaseOutput.java b/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/api/VtpTestCaseOutput.java index 7d4ae84544..b3781b3978 100644 --- a/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/api/VtpTestCaseOutput.java +++ b/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/api/VtpTestCaseOutput.java @@ -24,8 +24,8 @@ import lombok.EqualsAndHashCode; @JsonInclude(JsonInclude.Include.NON_NULL) @Schema(description = "VtpTestSuite") @Data -@EqualsAndHashCode(callSuper=true) +@EqualsAndHashCode(callSuper = true) class VtpTestCaseOutput extends VtpNameDescriptionPair { - private String type; + private String type; } diff --git a/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/api/VtpTestExecutionRequest.java b/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/api/VtpTestExecutionRequest.java index 481fd46906..59f3b7d566 100644 --- a/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/api/VtpTestExecutionRequest.java +++ b/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/api/VtpTestExecutionRequest.java @@ -17,23 +17,22 @@ package org.openecomp.core.externaltesting.api; import com.fasterxml.jackson.annotation.JsonInclude; -import lombok.Data; - import java.util.Map; +import lombok.Data; @Data public class VtpTestExecutionRequest { - private String scenario; - private String testSuiteName; - private String testCaseName; + private String scenario; + private String testSuiteName; + private String testCaseName; - @JsonInclude(value = JsonInclude.Include.NON_NULL) - private String profile; + @JsonInclude(value = JsonInclude.Include.NON_NULL) + private String profile; - @JsonInclude(value = JsonInclude.Include.NON_NULL) - private Map<String,String> parameters; + @JsonInclude(value = JsonInclude.Include.NON_NULL) + private Map<String, String> parameters; - @JsonInclude(value = JsonInclude.Include.NON_NULL) - private String endpoint; + @JsonInclude(value = JsonInclude.Include.NON_NULL) + private String endpoint; } diff --git a/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/api/VtpTestExecutionResponse.java b/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/api/VtpTestExecutionResponse.java index add85210cb..c9756469ce 100644 --- a/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/api/VtpTestExecutionResponse.java +++ b/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/api/VtpTestExecutionResponse.java @@ -17,37 +17,37 @@ package org.openecomp.core.externaltesting.api; import com.fasterxml.jackson.annotation.JsonInclude; -import lombok.Data; - import java.util.Map; +import lombok.Data; @Data public class VtpTestExecutionResponse { - private String scenario; - private String testCaseName; - private String testSuiteName; - private String executionId; - private Map<String,String> parameters; - private Object results; - private String status; - private String startTime; // don't bother to convert various ISO8601 formats. - private String endTime; // don't bother to convert various ISO8601 formats. - /** - * In the event on an error, code provided. - */ - @JsonInclude(value= JsonInclude.Include.NON_NULL) - private String code; + private String scenario; + private String testCaseName; + private String testSuiteName; + private String executionId; + private Map<String, String> parameters; + private Object results; + private String status; + private String startTime; // don't bother to convert various ISO8601 formats. + private String endTime; // don't bother to convert various ISO8601 formats. + + /** + * In the event on an error, code provided. + */ + @JsonInclude(value = JsonInclude.Include.NON_NULL) + private String code; - /** - * Error message - */ - @JsonInclude(value= JsonInclude.Include.NON_NULL) - private String message; + /** + * Error message + */ + @JsonInclude(value = JsonInclude.Include.NON_NULL) + private String message; - /** - * In the event of an unexpected status. - */ - @JsonInclude(value= JsonInclude.Include.NON_NULL) - private Integer httpStatus; + /** + * In the event of an unexpected status. + */ + @JsonInclude(value = JsonInclude.Include.NON_NULL) + private Integer httpStatus; } diff --git a/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/errors/ExternalTestingException.java b/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/errors/ExternalTestingException.java index 3df64a40eb..731cf4ae54 100644 --- a/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/errors/ExternalTestingException.java +++ b/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/errors/ExternalTestingException.java @@ -21,31 +21,31 @@ import lombok.EqualsAndHashCode; import org.apache.commons.lang3.builder.ToStringBuilder; @Data -@EqualsAndHashCode(callSuper=false) +@EqualsAndHashCode(callSuper = false) public class ExternalTestingException extends RuntimeException { - private static final long serialVersionUID = -4357810130868566088L; - - private final String messageCode; - private final int httpStatus; - private final String detail; - - public ExternalTestingException(String messageCode, int httpStatus, String detail) { - super(messageCode); - this.messageCode = messageCode; - this.httpStatus = httpStatus; - this.detail = detail; - } - - public ExternalTestingException(String messageCode, int httpStatus, String detail, Throwable parent) { - super(messageCode, parent); - this.messageCode = messageCode; - this.httpStatus = httpStatus; - this.detail = detail; - } - - @Override - public String toString() { - return ToStringBuilder.reflectionToString(this); - } + private static final long serialVersionUID = -4357810130868566088L; + + private final String messageCode; + private final int httpStatus; + private final String detail; + + public ExternalTestingException(String messageCode, int httpStatus, String detail) { + super(messageCode); + this.messageCode = messageCode; + this.httpStatus = httpStatus; + this.detail = detail; + } + + public ExternalTestingException(String messageCode, int httpStatus, String detail, Throwable parent) { + super(messageCode, parent); + this.messageCode = messageCode; + this.httpStatus = httpStatus; + this.detail = detail; + } + + @Override + public String toString() { + return ToStringBuilder.reflectionToString(this); + } } diff --git a/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/errors/ExternalTestingInitializationException.java b/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/errors/ExternalTestingInitializationException.java index 28f40199ca..a54409b1a8 100644 --- a/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/errors/ExternalTestingInitializationException.java +++ b/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/errors/ExternalTestingInitializationException.java @@ -21,13 +21,13 @@ import java.io.IOException; @SuppressWarnings("unused") public class ExternalTestingInitializationException extends IOException { - private static final long serialVersionUID = -2422448175010311433L; + private static final long serialVersionUID = -2422448175010311433L; - public ExternalTestingInitializationException(String message) { - super(message); - } + public ExternalTestingInitializationException(String message) { + super(message); + } - public ExternalTestingInitializationException(String message, Throwable cause) { - super(message, cause); - } + public ExternalTestingInitializationException(String message, Throwable cause) { + super(message, cause); + } } diff --git a/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/factory/ExternalTestingManagerFactory.java b/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/factory/ExternalTestingManagerFactory.java index e84a4c86a1..05547799cc 100644 --- a/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/factory/ExternalTestingManagerFactory.java +++ b/openecomp-be/lib/openecomp-sdc-externaltesting-lib/openecomp-sdc-externaltesting-api/src/main/java/org/openecomp/core/externaltesting/factory/ExternalTestingManagerFactory.java @@ -16,15 +16,15 @@ package org.openecomp.core.externaltesting.factory; +import org.openecomp.core.externaltesting.api.ExternalTestingManager; import org.openecomp.core.factory.api.AbstractComponentFactory; import org.openecomp.core.factory.api.AbstractFactory; -import org.openecomp.core.externaltesting.api.ExternalTestingManager; @SuppressWarnings("unused") public abstract class ExternalTestingManagerFactory extends AbstractComponentFactory<ExternalTestingManager> { - public static ExternalTestingManagerFactory getInstance() { - return AbstractFactory.getInstance(ExternalTestingManagerFactory.class); - } + public static ExternalTestingManagerFactory getInstance() { + return AbstractFactory.getInstance(ExternalTestingManagerFactory.class); + } } |