summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-10-08few more cases added to validatorutil.javaasgar1-26/+66
Change-Id: I544bec8b1da6f3fcc601eed109af923d0d97a3de Issue-ID: DMAAP-809 Signed-off-by: Mohamed Asgar Samiulla <sammoham@in.ibm.com>
2018-10-03added some more test cases for ValidatorUtil.javaasgar1-1/+68
Change-Id: I5b64b56f4d1cb713547d4c8ac121188932eaf4c2 Issue-ID: DMAAP-809 Signed-off-by: Mohamed Asgar Samiulla <sammoham@in.ibm.com>
2018-09-27added couple of cases for ValidatorUtil.javaasgar1-0/+37
Change-Id: I9be3ab9ef2b745c3b2fc54ff73a780fec176ec40 Issue-ID: DMAAP-809 Signed-off-by: Mohamed Asgar Samiulla <sammoham@in.ibm.com>
2018-09-25added some
<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Copyright © 2017-2018 AT&T Intellectual Property.
  ~ Modifications Copyright © 2018 IBM.
  ~
  ~ 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.
  -->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <parent>
        <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId>
        <artifactId>parent</artifactId>
        <version>0.4.4-SNAPSHOT</version>
        <relativePath>../parent</relativePath>
    </parent>
    <modelVersion>4.0.0</modelVersion>
    <packaging>pom</packaging>
    <artifactId>functions</artifactId>
    <name>Blueprints Processor Functions</name>
    <description>Blueprints Processor Functions</description>
    <modules>
        <module>resource-resolution</module>
        <module>python-executor</module>
        <module>netconf-executor</module>
        <module>restconf-executor</module>
        <module>cli-executor</module>
    </modules>

    <dependencies>
        <dependency>
            <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId>
            <artifactId>execution-service</artifactId>
        </dependency>
        <!-- Test Dependencies -->
        <dependency>
            <groupId>io.mockk</groupId>
            <artifactId>mockk</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.mock-server</groupId>
            <artifactId>mockserver-netty</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.powermock</groupId>
            <artifactId>powermock-api-mockito2</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-test</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.jetbrains.kotlin</groupId>
            <artifactId>kotlin-test-junit</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.jetbrains.kotlinx</groupId>
            <artifactId>kotlinx-coroutines-test</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>io.projectreactor</groupId>
            <artifactId>reactor-test</artifactId>
            <scope>test</scope>
        </dependency>
    </dependencies>
</project>
/td>
Use isEmpty() to check whether the collection is empty or not Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbTf32hFUzlqc5gL&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/test/clients/SamplePublisher.java Line No- L77 L45 Change-Id: I240d7411f80a644b119f28271bf9ee13298f770f Issue-ID: DMAAP-620 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-08-21Sonar major issuesSurendra Reddy Katam1-1/+1
Use isEmpty() to check whether the collection is empty or not Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbVF32hFUzlqc5h5&resolved=false&rules=squid%3AS1155&severities=MAJOR Location: src/main/java/com/att/nsa/mr/tools/MessageCommand.java Line No-116 Change-Id: I0ffaf59ffef7638642b4ce9997c56974c2190d31 Issue-ID: DMAAP-619 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-08-21Sonar major issuesSurendra Reddy Katam1-3/+3
Use isEmpty() to check whether the collection is empty or not Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbT632hFUzlqc5gr&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/test/clients/SimpleExamplePublisher.java Line No- L57 L62 L71 Change-Id: I4ac3ebea88d03147a54676cd5f9c77f274dfd87a Issue-ID: DMAAP-617 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-08-20Merge "Sonar major issues"Ram Koya1-2/+2
2018-08-20Sonar major issuesSurendra Reddy Katam1-2/+2
Replace the type specification in this constructor call with the diamond operator Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbTX32hFUzlqc5f3&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/test/clients/SampleConsumer.java Line No- L44 L52 Change-Id: I3a2e2ce61aa27107bb4f70c22cd1b6fd5df6af21 Issue-ID: DMAAP-615 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-08-16Merge changes Ie8852caf,I9e9d1156Ram Koya2-2/+2
* changes: Sonar major issues Sonar major issues
2018-08-16Merge "Sonar major issues"Ram Koya1-1/+1
2018-08-16Sonar major issuesSurendra Reddy Katam1-6/+6
This block of commented-out lines of code should be removed Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbSM32hFUzlqc5es&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/dme/client/DefaultLoggingFailoverFaultHandler.java Line No-L24 L29 L37 L40 L47 L50 Change-Id: I1ce6b3d5024c262e89db5c487a47ee006fd6eb30 Issue-ID: DMAAP-608 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-08-16Sonar major issuesSurendra Reddy Katam1-1/+1
This block of commented-out lines of code should be removed Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbSb32hFUzlqc5e5&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/dme/client/PreferredRouteReplyHandler.java Line No-59 Change-Id: I7cd496f4f7901fc2d0e84fbe4d52943a28988db7 Issue-ID: DMAAP-607 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-08-16Sonar major issuesSurendra Reddy Katam1-1/+1
This block of commented-out lines of code should be removed Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbST32hFUzlqc5ex&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/dme/client/HeaderReplyHandler.java Line No-51 Change-Id: I14afd297b87f473eb5674280e961cb4c06179f3c Issue-ID: DMAAP-606 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-08-16Sonar major issuesSurendra Reddy Katam1-1/+1
This block of commented-out lines of code should be removed Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbST32hFUzlqc5ew&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/dme/client/HeaderReplyHandler.java Line No-47 Change-Id: I84f659bc4ebd37f35f3e9e84f218878c059e19e4 Issue-ID: DMAAP-605 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-08-16Sonar major issuesSurendra Reddy Katam1-1/+1
Use isEmpty() to check whether the collection is empty or not Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbRu32hFUzlqc5ej&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/client/impl/MRSimplerBatchPublisher.java Line No-421 Change-Id: Ie8852caff9e0130aa9b69c4a410bf3949c66713f Issue-ID: DMAAP-604 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-08-16Sonar major issuesSurendra Reddy Katam1-1/+1
This block of commented-out lines of code should be removed Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbSS32hFUzlqc5ev&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/dme/client/HeaderReplyHandler.java Line No-38 Change-Id: I9e9d1156a7852a9ffdea95b5eb4d40fddbd29f06 Issue-ID: DMAAP-602 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-08-14Sonar major issuesSurendra Reddy Katam1-1/+1
Use isEmpty() to check whether the collection is empty or not Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbRu32hFUzlqc5ei&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/client/impl/MRSimplerBatchPublisher.java Line No-238 Change-Id: I7896ced67ab12816b92fe972322dad4ff4558cf8 Issue-ID: DMAAP-589 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-08-13Merge "Sonar major issues"Ram Koya1-1/+1
2018-08-13Sonar major issuesSurendra Reddy Katam1-4/+0
This block of commented-out lines of code should be removed Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AWFBqtmH-08if2a6yPKL&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/client/impl/MRSimplerBatchPublisher.java Line No-738 Change-Id: If1e94d7325011eb8acbc9fe25521675be7c7f10b Issue-ID: DMAAP-588 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-08-13Sonar major issuesSurendra Reddy Katam1-6/+1
This block of commented-out lines of code should be removed Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AWEpWaiz-08if2a6yEXI&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/client/impl/MRSimplerBatchPublisher.java Line No-750 Change-Id: I92e78361839e919776a756fa3280a4d89070b8b9 Issue-ID: DMAAP-587 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-08-13Sonar major issuesSurendra Reddy Katam1-5/+1
This block of commented-out lines of code should be removed Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AWE8fZBk-08if2a6yLVv&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/client/impl/MRSimplerBatchPublisher.java Line No-301 Change-Id: Iacbd0033271e8ce5391d3f06ad50c160a5f24cb3 Issue-ID: DMAAP-586 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-08-13Sonar major issuesSurendra Reddy Katam1-1/+1
This block of commented-out lines of code should be removed Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbRo32hFUzlqc5dp&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/client/impl/MRSimplerBatchPublisher.java Line No-797 Change-Id: I144634a122d5f9997ed74d324661f3950e36886c Issue-ID: DMAAP-585 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-08-13Sonar major issuesSurendra Reddy Katam1-1/+1
Use isEmpty() to check whether the collection is empty or not Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbRu32hFUzlqc5eg&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/client/impl/MRSimplerBatchPublisher.java Line No-180 Change-Id: I7f191d42a87ba5e70005ad282d3d8bbda71998f4 Issue-ID: DMAAP-584 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-08-10Sonar major issuesSurendra Reddy Katam1-2/+1
This block of commented-out lines of code should be removed Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbQH32hFUzlqc5YO&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/client/impl/MRBaseClient.java Line No-330 Change-Id: Ide8bc7472363646d5f73d8ae94f1d3b7ce3a1865 Issue-ID: DMAAP-576 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-08-09Sonar major issuesSurendra Reddy Katam1-1/+1
Use isEmpty() to check whether the collection is empty or not Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbQb32hFUzlqc5Zk&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/client/impl/MRBatchPublisher.java Line No-137 Change-Id: Ia3464cd19af992d4d48885e5a2dc4a75b726f9e7 Issue-ID: DMAAP-574 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-08-09Sonar major issuesSurendra Reddy Katam1-1/+0
This block of commented-out lines of code should be removed Sonar link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AWQDL3zlwGn37Jfbsse6&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/client/MRClientFactory.java Line No-525 Change-Id: I1a80b95e4606acdfa62e529aef7c41578a42792e Issue-ID: DMAAP-525 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-08-09Sonar major issuesSurendra Reddy Katam1-11/+0
This block of commented-out lines of code should be removed SonarLink: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbQH32hFUzlqc5YO&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/client/impl/MRBaseClient.java Line No-338 Change-Id: I3504b07bb4bf281477000dfee48d4a7b00c23833 Issue-ID: DMAAP-572 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-08-08Sonar major issuesSurendra Reddy Katam1-1/+1
Use isEmpty() to check whether the collection is empty or not Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbOi32hFUzlqc5Vg&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/client/HostSelector.java Line No-130 Change-Id: Iab107c06d9463f42d34d98fff1073b4a358f7681 Issue-ID: DMAAP-567" Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-08-07Sonar critical issuesSurendra Reddy Katam1-1/+1
This block of commented-out lines of code should be removed Sounar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AWE8fY_t-08if2a6yLVP&resolved=false&severities=MAJOR Location: src/main/java/com/att/nsa/mr/client/impl/MRBaseClient.java Line No-327 Change-Id: I236ab91295afa11a7a0db9409bd00b6e3e4b4034 Issue-ID: DMAAP-563 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
2018-07-24Merge "Use try-with-resources"Ram Koya1-3/+1
2018-07-23Fix bug with host failover functionalityLee, Tian (tl5884)1-0/+8
DMaaP client does not failover to next configured host when the current host returns an error status during event consumption. Change-Id: I117ab993c3badea819876943e446d9ab45fd2db8 Issue-ID: DMAAP-541 Signed-off-by: Lee, Tian (tl5884) <TianL@amdocs.com>
2018-07-10Fix various Sonar issues in MRConsumerImplLee, Tian (tl5884)1-735/+621
Amendment 1: Restructure order of methods and fields according to Java convention. Amendment 2: Remove bug fix that was accidentally included. This will be committed in a separate commit. These changes do not affect the original functionality of the class. Change-Id: I974a5e3fa94ca184704c4e26636bcbbfb5ce3320 Issue-ID: DMAAP-540 Signed-off-by: Lee, Tian (tl5884) <TianL@amdocs.com>
2018-07-10Use try-with-resourcesArindam Mondal1-3/+1
Issue-ID: DMAAP-539 Change-Id: Ic2c2eeb4ada3e05de695d108de37129a8aa39ad1 Signed-off-by: Arindam Mondal <arind.mondal@samsung.com>
2018-06-21JUnit against ToolsUtilMarcin Migdal2-2/+56
Found missing one Change-Id: Iee604b30e9b2dcdb88f42916b1be01bf3de965fe Issue-ID: DMAAP-518 Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
2018-06-14fixes for null pointer exceptionssunil unnava5-14/+247
Issue-ID: DMAAP-519 Change-Id: Ia32d0bd58c5f438b50e361221a96b988b00a1120 Signed-off-by: sunil unnava <su622b@att.com>