From: varun gudisena Date: Sat, 23 Sep 2017 00:01:31 +0000 (+0000) Subject: Merge "Fix for Sonar critical issues" X-Git-Tag: v1.0.0~17 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=daf6936650d956d98e2cf318a828a37f46c3ba89;hp=2f6e13e304a5fdb6100ebb7be0a4a4ba0a7d88f5;p=dmaap%2Fmessagerouter%2Fdmaapclient.git Merge "Fix for Sonar critical issues" --- diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 2ce945c..0000000 --- a/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -/******************************************************************************* - * ============LICENSE_START================================================== - * * org.onap.dmaap - * * =========================================================================== - * * Copyright © 2017 AT&T Intellectual Property. All rights reserved. - * * =========================================================================== - * * 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. - * * ============LICENSE_END==================================================== - * * - * * ECOMP is a trademark and service mark of AT&T Intellectual Property. - * * - ******************************************************************************/ \ No newline at end of file diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..bb235ff --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,39 @@ +/* +* ============LICENSE_START========================================== +* =================================================================== +* Copyright © 2017 AT&T Intellectual Property. All rights reserved. +* =================================================================== +* +* Unless otherwise specified, all software contained herein is licensed +* under the Apache License, Version 2.0 (the “License”); +* you may not use this software 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. +* +* +* +* Unless otherwise specified, all documentation contained herein is licensed +* under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +* you may not use this documentation except in compliance with the License. +* You may obtain a copy of the License at +* +* https://creativecommons.org/licenses/by/4.0/ +* +* Unless required by applicable law or agreed to in writing, documentation +* 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. +* +* ============LICENSE_END============================================ +* +* ECOMP is a trademark and service mark of AT&T Intellectual Property. +* +*/ diff --git a/pom.xml b/pom.xml index ae44ed9..2d796fd 100644 --- a/pom.xml +++ b/pom.xml @@ -33,7 +33,7 @@ org.onap.oparent oparent - 1.0.0-SNAPSHOT + 0.1.1 @@ -51,7 +51,15 @@ target/code-coverage/jacoco-it.exec **/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/** + /content/sites/site/org/onap/dmaap/${project.artifactId}/${project.version} + + + + ecomp-site + dav:${nexusproxy}${sitePath} + + @@ -165,6 +173,18 @@ + + org.apache.maven.plugins + maven-site-plugin + 3.6 + + + org.apache.maven.wagon + wagon-webdav-jackrabbit + 2.10 + + + maven-assembly-plugin 2.4 diff --git a/src/main/java/com/att/nsa/mr/client/impl/MRBaseClient.java b/src/main/java/com/att/nsa/mr/client/impl/MRBaseClient.java index a9fd9bd..012e95e 100644 --- a/src/main/java/com/att/nsa/mr/client/impl/MRBaseClient.java +++ b/src/main/java/com/att/nsa/mr/client/impl/MRBaseClient.java @@ -59,6 +59,8 @@ public class MRBaseClient extends HttpClient implements MRClient protected MRBaseClient ( Collection hosts ) throws MalformedURLException { super ( ConnectionType.HTTP, hosts, MRConstants.kStdMRServicePort ); + + fLog = LoggerFactory.getLogger ( this.getClass().getName () ); } protected MRBaseClient ( Collection hosts, int stdSvcPort ) throws MalformedURLException {