diff options
author | shivasubedi <shiva.subedi@est.tech> | 2021-06-23 16:31:02 +0100 |
---|---|---|
committer | shivasubedi <shiva.subedi@est.tech> | 2021-06-29 02:37:43 +0100 |
commit | 55500c3685dbc032c5cb79a727cc588d542e7d15 (patch) | |
tree | 2c8a8170b3610497fc3a6c737efd2b27d83bbf4b /src/test/java | |
parent | b5a238326e5fc5e240acb11f52748774c2f6da40 (diff) |
create quality params in dmi-plugin
Issue-ID: CPS-432
Issue-ID: CPS-403
Signed-off-by: tragait <rahul.tyagi@est.tech>
Change-Id: I4ada1e4927a3726500396da64c454d9937f95bcf
Signed-off-by: shivasubedi <shiva.subedi@est.tech>
Diffstat (limited to 'src/test/java')
-rw-r--r-- | src/test/java/org/onap/cps/ncmp/rest/controller/TestController.java | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/test/java/org/onap/cps/ncmp/rest/controller/TestController.java b/src/test/java/org/onap/cps/ncmp/rest/controller/TestController.java new file mode 100644 index 00000000..a8d87afb --- /dev/null +++ b/src/test/java/org/onap/cps/ncmp/rest/controller/TestController.java @@ -0,0 +1,34 @@ +/* + * ============LICENSE_START======================================================= + * Copyright (C) 2021 Nordix Foundation + * ================================================================================ + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + * ============LICENSE_END========================================================= + */ + +package org.onap.cps.ncmp.rest.controller; + +import org.springframework.http.HttpStatus; +import org.springframework.http.ResponseEntity; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.RestController; + +@RestController +public class TestController { + + @GetMapping("/test") + ResponseEntity<String> test() { + return new ResponseEntity<>(HttpStatus.OK); + } +} |