Add/update license text part 3 61/28061/13
authorSkip Wonnell <skip@att.com>
Fri, 12 Jan 2018 16:17:57 +0000 (10:17 -0600)
committerPatrick Brady <pb071s@att.com>
Wed, 17 Jan 2018 20:17:18 +0000 (20:17 +0000)
Convert some file formats from dos to unix

Change-Id: Iab31d84016c84bf03df7fdc8cf0c163c23091a88
Issue-ID: APPC-398
Issue-ID: APPC-305
Signed-off-by: Skip Wonnell <skip@att.com>
59 files changed:
appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle/.gitignore
appc-adapters/appc-ansible-adapter/appc-ansible-adapter-features/.gitignore
appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/.gitignore
appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/test/java/org/onap/appc/adapter/iaas/provider/operation/impl/MockGenerator.java
appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/test/java/org/onap/appc/adapter/iaas/provider/operation/impl/TestCreateSnapshot.java
appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/test/java/org/onap/appc/adapter/iaas/provider/operation/impl/TestEvacuateServer.java
appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/test/java/org/onap/appc/adapter/iaas/provider/operation/impl/TestLookupServer.java
appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/test/java/org/onap/appc/adapter/iaas/provider/operation/impl/TestMigrateServer.java
appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/test/java/org/onap/appc/adapter/iaas/provider/operation/impl/TestRebuildServer.java
appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/test/java/org/onap/appc/adapter/iaas/provider/operation/impl/TestRestartServer.java
appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/test/java/org/onap/appc/adapter/iaas/provider/operation/impl/TestStartServer.java
appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/test/java/org/onap/appc/adapter/iaas/provider/operation/impl/TestStopServer.java
appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/test/java/org/onap/appc/adapter/iaas/provider/operation/impl/TestTerminateServer.java
appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/test/java/org/onap/appc/adapter/iaas/provider/operation/impl/TestTerminateStack.java
appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/test/java/org/onap/appc/adapter/iaas/provider/operation/impl/TestVmStatuschecker.java
appc-adapters/appc-iaas-adapter/appc-iaas-adapter-features/.gitignore
appc-config/appc-config-adaptor/provider/src/main/java/org/onap/appc/ccadaptor/ConfigComponentAdaptor.java
appc-config/appc-config-adaptor/provider/src/main/java/org/onap/appc/ccadaptor/DebugLog.java
appc-config/appc-config-adaptor/provider/src/main/java/org/onap/appc/ccadaptor/EncryptionTool.java
appc-config/appc-config-adaptor/provider/src/main/java/org/onap/appc/ccadaptor/TelnetListener.java
appc-config/appc-config-adaptor/provider/src/main/java/org/onap/appc/ccadaptor/TimedOutException.java
appc-config/appc-config-adaptor/provider/src/main/java/org/onap/appc/ccadaptor/XmlUtil.java
appc-config/appc-config-adaptor/provider/src/main/test/org/onap/appc/ccadaptor/TestConfigComponentAdaptor.java
appc-config/appc-config-adaptor/provider/src/main/test/org/onap/appc/ccadaptor/TestDebugLog.java
appc-config/appc-config-adaptor/provider/src/main/test/org/onap/appc/ccadaptor/TestEncryptionTool.java
appc-config/appc-config-adaptor/provider/src/main/test/org/onap/appc/ccadaptor/TestSshJcraftWrapper.java
appc-config/appc-config-adaptor/provider/src/main/test/org/onap/appc/ccadaptor/TestXmlUtil.java
appc-config/appc-data-services/provider/src/main/java/org/onap/appc/data/services/AppcDataServiceActivator.java
appc-config/appc-data-services/provider/src/main/java/org/onap/appc/data/services/AppcDataServiceConstant.java
appc-config/appc-data-services/provider/src/main/java/org/onap/appc/data/services/db/DGGeneralDBService.java
appc-config/appc-data-services/provider/src/main/java/org/onap/appc/data/services/db/GeneralDataService.java
appc-config/appc-data-services/provider/src/main/java/org/onap/appc/data/services/node/ConfigResourceNode.java
appc-config/appc-data-services/provider/src/main/java/org/onap/appc/data/services/utils/EscapeUtils.java
appc-config/appc-encryption-tool/provider/src/main/java/org/onap/appc/encryptiontool/EncryptionToolActivator.java
appc-config/appc-encryption-tool/provider/src/main/java/org/onap/appc/encryptiontool/wrapper/Constants.java
appc-directed-graph/dg-loader/features/.gitignore
appc-inbound/.gitignore
appc-inbound/appc-artifact-handler/features/.gitignore
appc-inbound/appc-artifact-handler/model/.gitignore
appc-inbound/appc-artifact-handler/provider/.gitignore
appc-inbound/appc-design-services/features/.gitignore
appc-inbound/appc-design-services/model/.gitignore
appc-inbound/appc-design-services/provider/.gitignore
appc-inbound/appc-interfaces-service/bundle/.gitignore
appc-inbound/appc-interfaces-service/features/.gitignore
appc-inbound/appc-interfaces-service/model/.gitignore
appc-provider/appc-provider-bundle/.gitignore
appc-provider/appc-provider-bundle/pom.xml
appc-provider/appc-provider-features/.gitignore
appc-provider/appc-provider-features/pom.xml
appc-provider/appc-provider-installer/pom.xml
appc-provider/appc-provider-model/.gitignore
appc-provider/appc-provider-model/pom.xml
appc-provider/pom.xml
appc-sdc-listener/appc-sdc-listener-bundle/src/test/java/org/onap/appc/sdc/artifacts/impl/TestArtifactProcessor.java
appc-sdc-listener/appc-sdc-listener-bundle/src/test/java/org/onap/appc/sdc/artifacts/impl/TestLicenseArtifactProcessor.java
appc-sdc-listener/appc-sdc-listener-bundle/src/test/java/org/onap/appc/sdc/listener/SdcTestObjects.java
appc-sdc-listener/appc-sdc-listener-bundle/src/test/java/org/onap/appc/sdc/listener/SdcTestUtils.java
appc-test-dependencies/pom.xml

index e34c3da..9ede03e 100644 (file)
@@ -1,3 +1,26 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : APPC
+ * ================================================================================
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
+ * 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.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ * ============LICENSE_END=========================================================
+ */
 package org.onap.appc.adapter.iaas.provider.operation.impl;
 
 import java.util.HashMap;
index 3da8d2b..3260c0c 100644 (file)
@@ -1,3 +1,26 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : APPC
+ * ================================================================================
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
+ * 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.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ * ============LICENSE_END=========================================================
+ */
 package org.onap.appc.adapter.iaas.provider.operation.impl;
 
 import org.junit.Assert;
@@ -40,4 +63,4 @@ public class TestCreateSnapshot {
         verify(mg.getImageService(), atLeastOnce()).getImageByName(getImageNameCaptor.capture());
         assertEquals(createSnapshotCaptor.getValue(), getImageNameCaptor.getValue());
     }
-}
+}
\ No newline at end of file
index 9779111..2a9e0e1 100644 (file)
@@ -1,3 +1,26 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : APPC
+ * ================================================================================
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
+ * 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.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ * ============LICENSE_END=========================================================
+ */
 package org.onap.appc.adapter.iaas.provider.operation.impl;
 
 import org.junit.Assert;
@@ -26,4 +49,4 @@ public class TestEvacuateServer {
         verify(mg.getComputeService()).moveServer(server.getId(), "newServer1");
     }
 
-}
+}
\ No newline at end of file
index 273c9a7..b4c2c2e 100644 (file)
@@ -1,3 +1,26 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : APPC
+ * ================================================================================
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
+ * 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.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ * ============LICENSE_END=========================================================
+ */
 package org.onap.appc.adapter.iaas.provider.operation.impl;
 
 import static org.junit.Assert.assertTrue;
@@ -31,4 +54,4 @@ public class TestLookupServer {
         }
         assertTrue(correctServerReturned);
     }
-}
+}
\ No newline at end of file
index 38d1195..e6d9f21 100644 (file)
@@ -1,3 +1,26 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : APPC
+ * ================================================================================
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
+ * 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.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ * ============LICENSE_END=========================================================
+ */
 package org.onap.appc.adapter.iaas.provider.operation.impl;
 
 import static org.mockito.Mockito.verify;
@@ -24,7 +47,7 @@ public class TestMigrateServer {
         } catch (APPCException e) {
             Assert.fail("Exception during MigrateServer.executeProviderOperation");
         }
-        verify(mg.getComputeService()).migrateServer(mg.SERVER_ID);
+        verify(mg.getComputeService()).migrateServer(MockGenerator.SERVER_ID);
         verify(server, atLeastOnce()).waitForStateChange(anyInt(), anyInt(), Matchers.anyVararg());
     }
-}
+}
\ No newline at end of file
index 5e16c00..58a5b55 100644 (file)
@@ -1,3 +1,26 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : APPC
+ * ================================================================================
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
+ * 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.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ * ============LICENSE_END=========================================================
+ */
 package org.onap.appc.adapter.iaas.provider.operation.impl;
 
 import org.junit.Assert;
@@ -106,4 +129,4 @@ public class TestRebuildServer {
         inOrderTest.verify(server).start();
     }
 
-}
+}
\ No newline at end of file
index 202c09a..c7c0e95 100644 (file)
@@ -1,3 +1,26 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : APPC
+ * ================================================================================
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
+ * 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.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ * ============LICENSE_END=========================================================
+ */
 package org.onap.appc.adapter.iaas.provider.operation.impl;
 
 import static org.mockito.Mockito.inOrder;
@@ -41,4 +64,4 @@ public class TestRestartServer {
         inOrderTest.verify(server).stop();
         inOrderTest.verify(server).start();
     }
-}
+}
\ No newline at end of file
index f6c1883..b4092ee 100644 (file)
@@ -1,3 +1,26 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : APPC
+ * ================================================================================
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
+ * 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.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ * ============LICENSE_END=========================================================
+ */
 package org.onap.appc.adapter.iaas.provider.operation.impl;
 
 import static org.mockito.Mockito.inOrder;
@@ -40,4 +63,4 @@ public class TestStartServer {
         InOrder inOrderTest = inOrder(server);
         inOrderTest.verify(server).unpause();
     }
-}
+}
\ No newline at end of file
index 4a35a2b..a4405ea 100644 (file)
@@ -1,3 +1,26 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : APPC
+ * ================================================================================
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
+ * 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.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ * ============LICENSE_END=========================================================
+ */
 package org.onap.appc.adapter.iaas.provider.operation.impl;
 
 import static org.mockito.Mockito.inOrder;
@@ -40,4 +63,4 @@ public class TestStopServer {
         InOrder inOrderTest = inOrder(server);
         inOrderTest.verify(server).unpause();
     }
-}
+}
\ No newline at end of file
index 2cce04f..75c94a4 100644 (file)
@@ -1,3 +1,26 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : APPC
+ * ================================================================================
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
+ * 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.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ * ============LICENSE_END=========================================================
+ */
 package org.onap.appc.adapter.iaas.provider.operation.impl;
 
 import static org.mockito.Mockito.inOrder;
@@ -42,4 +65,4 @@ public class TestTerminateServer {
         inOrderTest.verify(server).stop();
         inOrderTest.verify(server).delete();
     }
-}
+}
\ No newline at end of file
index 6bc8f46..b4ce07b 100644 (file)
@@ -1,3 +1,26 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : APPC
+ * ================================================================================
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
+ * 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.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ * ============LICENSE_END=========================================================
+ */
 package org.onap.appc.adapter.iaas.provider.operation.impl;
 
 import static org.mockito.Mockito.doReturn;
@@ -48,4 +71,4 @@ public class TestTerminateStack {
         }
         verify(stackService).deleteStack(stack1);
     }
-}
+}
\ No newline at end of file
index cdf3b7f..a664b08 100644 (file)
@@ -1,3 +1,26 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : APPC
+ * ================================================================================
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
+ * 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.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ * ============LICENSE_END=========================================================
+ */
 package org.onap.appc.adapter.iaas.provider.operation.impl;
 
 import org.junit.Assert;
@@ -59,4 +82,4 @@ public class TestVmStatuschecker {
         verify(mg.getSvcLogicContext(), atLeastOnce()).setAttribute(Constants.STATUS_OF_VM,
                 "error");
     }
-}
+}
\ No newline at end of file
index 65cf97a..eabe4d0 100644 (file)
@@ -1,23 +1,26 @@
 /*-
  * ============LICENSE_START=======================================================
- * ONAP : APP-C
+ * ONAP : APPC
  * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property.All rights reserved.
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
  * 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
+ *      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.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
  * ============LICENSE_END=========================================================
  */
-
 package org.onap.appc.ccadaptor;
 
 import com.att.eelf.configuration.EELFLogger;
@@ -1043,5 +1046,4 @@ public class ConfigComponentAdaptor implements SvcLogicAdaptor
     System.out.println("*************************TRACE 1*****************************");
     cca.configure(key, parameters, ctx);
   }
-
 }
\ No newline at end of file
index 2ed7679..5252784 100644 (file)
@@ -1,9 +1,11 @@
 /*-
  * ============LICENSE_START=======================================================
- * ONAP : APP-C
+ * ONAP : APPC
  * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property.  All rights reserved.
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
  * 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
  * 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.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
  * ============LICENSE_END=========================================================
  */
-
 package org.onap.appc.ccadaptor;
 
 import java.io.BufferedWriter;
@@ -94,4 +97,3 @@ public class DebugLog {
     }
 
 }
-
index a3700ec..dd92f0a 100644 (file)
@@ -1,9 +1,11 @@
 /*-
  * ============LICENSE_START=======================================================
- * ONAP : APP-C
+ * ONAP : APPC
  * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property.  All rights reserved.
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
  * 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
  * 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.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
  * ============LICENSE_END=========================================================
  */
-
 package org.onap.appc.ccadaptor;
 
 import java.security.Provider;
@@ -198,4 +201,4 @@ public class EncryptionTool {
         return out;
     }
 
-}
+}
\ No newline at end of file
index addb111..a730cdc 100644 (file)
@@ -1,9 +1,11 @@
 /*-
  * ============LICENSE_START=======================================================
- * ONAP : APP-C
+ * ONAP : APPC
  * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property.  All rights reserved.
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
  * 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
  * 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.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
  * ============LICENSE_END=========================================================
  */
-
 package org.onap.appc.ccadaptor;
 
 public interface TelnetListener {
@@ -25,5 +28,4 @@ public interface TelnetListener {
     public void receivedString(String s);
 
     public void filterStrings(String s1, String s2);
-}
-
+}
\ No newline at end of file
index 05969df..43f4016 100644 (file)
@@ -1,9 +1,11 @@
 /*-
  * ============LICENSE_START=======================================================
- * ONAP : APP-C
+ * ONAP : APPC
  * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property.  All rights reserved.
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
  * 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
  * 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.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
  * ============LICENSE_END=========================================================
  */
-
 package org.onap.appc.ccadaptor;
 
 import java.io.IOException;
@@ -30,6 +33,4 @@ public class TimedOutException extends IOException {
     public TimedOutException(String message) {
         super(message);
     }
-}
-
-
+}
\ No newline at end of file
index 8f9d702..4ebbf34 100644 (file)
@@ -1,9 +1,11 @@
 /*-
  * ============LICENSE_START=======================================================
- * ONAP : APP-C
+ * ONAP : APPC
  * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property.  All rights reserved.
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
  * 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
  * 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.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
  * ============LICENSE_END=========================================================
  */
-
 package org.onap.appc.ccadaptor;
 
 import java.util.ArrayList;
@@ -149,4 +152,4 @@ public class XmlUtil {
         }
         return s;
     }
-}
+}
\ No newline at end of file
index 2a258f1..70fb729 100644 (file)
-package org.onap.appc.ccadaptor;\r
-\r
-import java.util.HashMap;\r
-import java.util.Map;\r
-import java.util.Properties;\r
-\r
-import org.junit.Test;\r
-import org.onap.ccsdk.sli.core.sli.SvcLogicContext;\r
-\r
-public class TestConfigComponentAdaptor {\r
-       \r
-       \r
-       @Test\r
-       public void testGetCliRunningConfig(){\r
-               Properties props = null;\r
-           ConfigComponentAdaptor cca = new ConfigComponentAdaptor(props);\r
-           String Get_config_template = ("get_config_template");\r
-           String key = "GetCliRunningConfig";\r
-           Map<String, String> parameters = new HashMap<String, String>();\r
-           parameters.put("Host_ip_address", "test");\r
-           parameters.put("User_name", "test");\r
-           parameters.put("Password", "password");\r
-           parameters.put("Port_number", "22");\r
-           parameters.put("Get_config_template", Get_config_template);\r
-\r
-           SvcLogicContext ctx = new SvcLogicContext();\r
-           ctx.setAttribute("service-data.vnf-config-parameters-list.vnf-config-parameters[0].update-configuration[0].block-key-name", "test");\r
-           cca.configure(key, parameters, ctx);\r
-               \r
-       }\r
-       \r
-       @Test\r
-       public void testDownloadCliConfig(){\r
-               Properties props = null;\r
-           ConfigComponentAdaptor cca = new ConfigComponentAdaptor(props);\r
-           String Get_config_template = ("get_config_template");\r
-           String key = "DownloadCliConfig";\r
-           Map<String, String> parameters = new HashMap<String, String>();\r
-           parameters.put("Host_ip_address", "test");\r
-           parameters.put("User_name", "test");\r
-           parameters.put("Password", "password");\r
-           parameters.put("Port_number", "22");\r
-           parameters.put("Get_config_template", Get_config_template);\r
-\r
-           SvcLogicContext ctx = new SvcLogicContext();\r
-           ctx.setAttribute("service-data.vnf-config-parameters-list.vnf-config-parameters[0].update-configuration[0].block-key-name", "test");\r
-           cca.configure(key, parameters, ctx);\r
-               \r
-       }\r
-       \r
-       @Test\r
-       public void testXmlDownload(){\r
-               Properties props = null;\r
-           ConfigComponentAdaptor cca = new ConfigComponentAdaptor(props);\r
-           String Get_config_template = ("get_config_template");\r
-           String key = "xml-download";\r
-           Map<String, String> parameters = new HashMap<String, String>();\r
-           parameters.put("Host_ip_address", "test");\r
-           parameters.put("User_name", "test");\r
-           parameters.put("Password", "password");\r
-           parameters.put("Port_number", "22");\r
-           parameters.put("Get_config_template", Get_config_template);\r
-\r
-           SvcLogicContext ctx = new SvcLogicContext();\r
-           ctx.setAttribute("service-data.vnf-config-parameters-list.vnf-config-parameters[0].update-configuration[0].block-key-name", "test");\r
-           cca.configure(key, parameters, ctx);\r
-       }\r
-       \r
-       @Test\r
-       public void testXmlGetrunningconfig(){\r
-               Properties props = null;\r
-           ConfigComponentAdaptor cca = new ConfigComponentAdaptor(props);\r
-           String Get_config_template = ("get_config_template");\r
-           String key = "xml-getrunningconfig";\r
-           Map<String, String> parameters = new HashMap<String, String>();\r
-           parameters.put("Host_ip_address", "test");\r
-           parameters.put("User_name", "test");\r
-           parameters.put("Password", "password");\r
-           parameters.put("Port_number", "22");\r
-           parameters.put("Get_config_template", Get_config_template);\r
-\r
-           SvcLogicContext ctx = new SvcLogicContext();\r
-           ctx.setAttribute("service-data.vnf-config-parameters-list.vnf-config-parameters[0].update-configuration[0].block-key-name", "test");\r
-           cca.configure(key, parameters, ctx);\r
-               \r
-       }\r
-       \r
-       @Test\r
-       public void testEscapeSql(){\r
-               Properties props = null;\r
-           ConfigComponentAdaptor cca = new ConfigComponentAdaptor(props);\r
-           String Get_config_template = ("get_config_template");\r
-           String key = "escapeSql";\r
-           Map<String, String> parameters = new HashMap<String, String>();\r
-           parameters.put("Host_ip_address", "test");\r
-           parameters.put("User_name", "test");\r
-           parameters.put("Password", "password");\r
-           parameters.put("Port_number", "22");\r
-           parameters.put("Get_config_template", Get_config_template);\r
-\r
-           SvcLogicContext ctx = new SvcLogicContext();\r
-           ctx.setAttribute("service-data.vnf-config-parameters-list.vnf-config-parameters[0].update-configuration[0].block-key-name", "test");\r
-           cca.configure(key, parameters, ctx);\r
-       }\r
-       \r
-       @Test\r
-       public void testAll(){\r
-               Properties props = null;\r
-           ConfigComponentAdaptor cca = new ConfigComponentAdaptor(props);\r
-           String Get_config_template = ("test");\r
-           String Download_config_template = ("test");\r
-           String key = "GetCliRunningConfig";\r
-           Map<String, String> parameters = new HashMap<String,String>();\r
-           parameters.put("Host_ip_address", "test");\r
-           parameters.put("User_name", "test");\r
-           parameters.put("Password", "password");\r
-           parameters.put("Port_number", "22");\r
-           parameters.put("Protocol", "netconf");\r
-           parameters.put("Contents", "Contents");\r
-           parameters.put("Get_config_template", Get_config_template);\r
-           parameters.put("Download_config_template", Download_config_template);\r
-           parameters.put("Config_contents", "config\nsystem\nservice-interface serv1\nipv4\ngateway-ip-address 192.168.30.44");\r
-\r
-           SvcLogicContext ctx = new SvcLogicContext();\r
-           ctx.setAttribute("service-data.vnf-config-parameters-list.vnf-config-parameters[0].update-configuration[0].block-key-name", "test");\r
-           cca.configure(key, parameters, ctx);\r
-               \r
-               \r
-       }\r
-       \r
-\r
-}\r
+/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : APPC
+ * ================================================================================
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
+ * 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.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ * ============LICENSE_END=========================================================
+ */
+package org.onap.appc.ccadaptor;
+
+import java.util.HashMap;
+import java.util.Map;
+import java.util.Properties;
+
+import org.junit.Test;
+import org.onap.ccsdk.sli.core.sli.SvcLogicContext;
+
+public class TestConfigComponentAdaptor {
+    
+    
+    @Test
+    public void testGetCliRunningConfig(){
+        Properties props = null;
+        ConfigComponentAdaptor cca = new ConfigComponentAdaptor(props);
+        String Get_config_template = ("get_config_template");
+        String key = "GetCliRunningConfig";
+        Map<String, String> parameters = new HashMap<String, String>();
+        parameters.put("Host_ip_address", "test");
+        parameters.put("User_name", "test");
+        parameters.put("Password", "password");
+        parameters.put("Port_number", "22");
+        parameters.put("Get_config_template", Get_config_template);
+
+        SvcLogicContext ctx = new SvcLogicContext();
+        ctx.setAttribute("service-data.vnf-config-parameters-list.vnf-config-parameters[0].update-configuration[0].block-key-name", "test");
+        cca.configure(key, parameters, ctx);
+        
+    }
+    
+    @Test
+    public void testDownloadCliConfig(){
+        Properties props = null;
+        ConfigComponentAdaptor cca = new ConfigComponentAdaptor(props);
+        String Get_config_template = ("get_config_template");
+        String key = "DownloadCliConfig";
+        Map<String, String> parameters = new HashMap<String, String>();
+        parameters.put("Host_ip_address", "test");
+        parameters.put("User_name", "test");
+        parameters.put("Password", "password");
+        parameters.put("Port_number", "22");
+        parameters.put("Get_config_template", Get_config_template);
+
+        SvcLogicContext ctx = new SvcLogicContext();
+        ctx.setAttribute("service-data.vnf-config-parameters-list.vnf-config-parameters[0].update-configuration[0].block-key-name", "test");
+        cca.configure(key, parameters, ctx);
+        
+    }
+    
+    @Test
+    public void testXmlDownload(){
+        Properties props = null;
+        ConfigComponentAdaptor cca = new ConfigComponentAdaptor(props);
+        String Get_config_template = ("get_config_template");
+        String key = "xml-download";
+        Map<String, String> parameters = new HashMap<String, String>();
+        parameters.put("Host_ip_address", "test");
+        parameters.put("User_name", "test");
+        parameters.put("Password", "password");
+        parameters.put("Port_number", "22");
+        parameters.put("Get_config_template", Get_config_template);
+
+        SvcLogicContext ctx = new SvcLogicContext();
+        ctx.setAttribute("service-data.vnf-config-parameters-list.vnf-config-parameters[0].update-configuration[0].block-key-name", "test");
+        cca.configure(key, parameters, ctx);
+    }
+    
+    @Test
+    public void testXmlGetrunningconfig(){
+        Properties props = null;
+        ConfigComponentAdaptor cca = new ConfigComponentAdaptor(props);
+        String Get_config_template = ("get_config_template");
+        String key = "xml-getrunningconfig";
+        Map<String, String> parameters = new HashMap<String, String>();
+        parameters.put("Host_ip_address", "test");
+        parameters.put("User_name", "test");
+        parameters.put("Password", "password");
+        parameters.put("Port_number", "22");
+        parameters.put("Get_config_template", Get_config_template);
+
+        SvcLogicContext ctx = new SvcLogicContext();
+        ctx.setAttribute("service-data.vnf-config-parameters-list.vnf-config-parameters[0].update-configuration[0].block-key-name", "test");
+        cca.configure(key, parameters, ctx);
+        
+    }
+    
+    @Test
+    public void testEscapeSql(){
+        Properties props = null;
+        ConfigComponentAdaptor cca = new ConfigComponentAdaptor(props);
+        String Get_config_template = ("get_config_template");
+        String key = "escapeSql";
+        Map<String, String> parameters = new HashMap<String, String>();
+        parameters.put("Host_ip_address", "test");
+        parameters.put("User_name", "test");
+        parameters.put("Password", "password");
+        parameters.put("Port_number", "22");
+        parameters.put("Get_config_template", Get_config_template);
+
+        SvcLogicContext ctx = new SvcLogicContext();
+        ctx.setAttribute("service-data.vnf-config-parameters-list.vnf-config-parameters[0].update-configuration[0].block-key-name", "test");
+        cca.configure(key, parameters, ctx);
+    }
+    
+    @Test
+    public void testAll(){
+        Properties props = null;
+        ConfigComponentAdaptor cca = new ConfigComponentAdaptor(props);
+        String Get_config_template = ("test");
+        String Download_config_template = ("test");
+        String key = "GetCliRunningConfig";
+        Map<String, String> parameters = new HashMap<String,String>();
+        parameters.put("Host_ip_address", "test");
+        parameters.put("User_name", "test");
+        parameters.put("Password", "password");
+        parameters.put("Port_number", "22");
+        parameters.put("Protocol", "netconf");
+        parameters.put("Contents", "Contents");
+        parameters.put("Get_config_template", Get_config_template);
+        parameters.put("Download_config_template", Download_config_template);
+        parameters.put("Config_contents", "config\nsystem\nservice-interface serv1\nipv4\ngateway-ip-address 192.168.30.44");
+
+        SvcLogicContext ctx = new SvcLogicContext();
+        ctx.setAttribute("service-data.vnf-config-parameters-list.vnf-config-parameters[0].update-configuration[0].block-key-name", "test");
+        cca.configure(key, parameters, ctx);
+        
+        
+    }
+    
+
+}
\ No newline at end of file
index c7a7953..53eaf32 100644 (file)
@@ -1,19 +1,42 @@
-package org.onap.appc.ccadaptor;\r
-\r
-import org.junit.Test;\r
-\r
-public class TestDebugLog {\r
-\r
-       @Test\r
-       public void testAppendToFile() {\r
-               DebugLog.appendToFile("appendData");\r
-       }\r
-\r
-       @Test\r
-       public void TestGetDateTime() {\r
-               String DateTime = DebugLog.getDateTime();\r
-               System.out.println(DateTime);\r
-\r
-       }\r
-\r
-}\r
+/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : APPC
+ * ================================================================================
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
+ * 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.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ * ============LICENSE_END=========================================================
+ */
+package org.onap.appc.ccadaptor;
+
+import org.junit.Test;
+
+public class TestDebugLog {
+
+    @Test
+    public void testAppendToFile() {
+        DebugLog.appendToFile("appendData");
+    }
+
+    @Test
+    public void TestGetDateTime() {
+        String DateTime = DebugLog.getDateTime();
+        System.out.println(DateTime);
+
+    }
+
+}
\ No newline at end of file
index a4a092e..6476a30 100644 (file)
@@ -1,24 +1,47 @@
-package org.onap.appc.ccadaptor;\r
-\r
-import org.junit.Assert;\r
-import org.junit.Test;\r
-\r
-public class TestEncryptionTool {\r
-\r
-       @Test\r
-       public void testEncrypt() {\r
-               EncryptionTool tool = EncryptionTool.getInstance();\r
-               String value = tool.encrypt("encrypt");\r
-               Assert.assertEquals("enc:JjEZHlg7VQ==", value);\r
-               System.out.println(value);\r
-       }\r
-\r
-       @Test\r
-       public void testDecrypt() {\r
-               EncryptionTool tool = EncryptionTool.getInstance();\r
-               String value = tool.decrypt("enc:JjEZHlg7VQ==");\r
-               Assert.assertEquals("encrypt", value);\r
-               System.out.println(value);\r
-       }\r
-\r
-}\r
+/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : APPC
+ * ================================================================================
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
+ * 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.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ * ============LICENSE_END=========================================================
+ */
+package org.onap.appc.ccadaptor;
+
+import org.junit.Assert;
+import org.junit.Test;
+
+public class TestEncryptionTool {
+
+    @Test
+    public void testEncrypt() {
+        EncryptionTool tool = EncryptionTool.getInstance();
+        String value = tool.encrypt("encrypt");
+        Assert.assertEquals("enc:JjEZHlg7VQ==", value);
+        System.out.println(value);
+    }
+
+    @Test
+    public void testDecrypt() {
+        EncryptionTool tool = EncryptionTool.getInstance();
+        String value = tool.decrypt("enc:JjEZHlg7VQ==");
+        Assert.assertEquals("encrypt", value);
+        System.out.println(value);
+    }
+
+}
\ No newline at end of file
index 2a2adb7..aee08b1 100644 (file)
@@ -1,23 +1,46 @@
-package org.onap.appc.ccadaptor;\r
-\r
-import org.junit.Assert;\r
-import org.junit.Test;\r
-\r
-public class TestSshJcraftWrapper {\r
-       \r
-       @Test\r
-       public void TestCheckIfReceivedStringMatchesDelimeter(){\r
-               SshJcraftWrapper wrapper = new SshJcraftWrapper();\r
-               wrapper.getTheDate();\r
-               boolean result = wrapper.checkIfReceivedStringMatchesDelimeter("#", "config#", "config#");\r
-               System.out.println(result);\r
-       }\r
-       \r
-       @Test\r
-       public void testRemoveWhiteSpaceAndNewLineCharactersAroundString(){\r
-               SshJcraftWrapper wrapper = new SshJcraftWrapper();\r
-               String nameSpace = wrapper.removeWhiteSpaceAndNewLineCharactersAroundString("namespace");\r
-               Assert.assertEquals("namespace", nameSpace);\r
-       }\r
-       \r
-}\r
+/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : APPC
+ * ================================================================================
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
+ * 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.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ * ============LICENSE_END=========================================================
+ */
+package org.onap.appc.ccadaptor;
+
+import org.junit.Assert;
+import org.junit.Test;
+
+public class TestSshJcraftWrapper {
+    
+    @Test
+    public void TestCheckIfReceivedStringMatchesDelimeter(){
+        SshJcraftWrapper wrapper = new SshJcraftWrapper();
+        wrapper.getTheDate();
+        boolean result = wrapper.checkIfReceivedStringMatchesDelimeter("#", "config#", "config#");
+        System.out.println(result);
+    }
+    
+    @Test
+    public void testRemoveWhiteSpaceAndNewLineCharactersAroundString(){
+        SshJcraftWrapper wrapper = new SshJcraftWrapper();
+        String nameSpace = wrapper.removeWhiteSpaceAndNewLineCharactersAroundString("namespace");
+        Assert.assertEquals("namespace", nameSpace);
+    }
+    
+}
\ No newline at end of file
index f3e7a10..eeb2f3c 100644 (file)
@@ -1,19 +1,42 @@
-package org.onap.appc.ccadaptor;\r
-\r
-import java.util.HashMap;\r
-import java.util.Map;\r
-\r
-import org.junit.Assert;\r
-import org.junit.Test;\r
-\r
-public class TestXmlUtil {\r
-\r
-       @Test\r
-       public void testXml() {\r
-               Map<String, String> varmap = new HashMap<String, String>();\r
-               varmap.put("network.data", "ipv4");\r
-               String xmlData = XmlUtil.getXml(varmap, "network");\r
-               Assert.assertEquals("<data>ipv4</data>\n", xmlData);\r
-               System.out.println(xmlData);\r
-       }\r
-}\r
+/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : APPC
+ * ================================================================================
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
+ * 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.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ * ============LICENSE_END=========================================================
+ */
+package org.onap.appc.ccadaptor;
+
+import java.util.HashMap;
+import java.util.Map;
+
+import org.junit.Assert;
+import org.junit.Test;
+
+public class TestXmlUtil {
+
+    @Test
+    public void testXml() {
+        Map<String, String> varmap = new HashMap<String, String>();
+        varmap.put("network.data", "ipv4");
+        String xmlData = XmlUtil.getXml(varmap, "network");
+        Assert.assertEquals("<data>ipv4</data>\n", xmlData);
+        System.out.println(xmlData);
+    }
+}
\ No newline at end of file
index 6989248..552c198 100644 (file)
@@ -1,23 +1,26 @@
 /*-
  * ============LICENSE_START=======================================================
- * ONAP : APP-C
+ * ONAP : APPC
  * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property.  All rights reserved.
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
  * 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.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
  * ============LICENSE_END=========================================================
  */
-
 package org.onap.appc.data.services;
 
 import java.util.LinkedList;
@@ -56,4 +59,4 @@ public class AppcDataServiceActivator implements BundleActivator {
                        registration = null;
                }
        }
-}
+}
\ No newline at end of file
index c26a470..f1c45c5 100644 (file)
@@ -1,23 +1,26 @@
 /*-
  * ============LICENSE_START=======================================================
- * ONAP : APP-C
+ * ONAP : APPC
  * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property.  All rights reserved.
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
  * 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.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
  * ============LICENSE_END=========================================================
  */
-
 package org.onap.appc.data.services;
 
 public class AppcDataServiceConstant {
@@ -50,4 +53,4 @@ public class AppcDataServiceConstant {
     }
     
     
-}
+}
\ No newline at end of file
index dbb765f..303c974 100644 (file)
@@ -1,23 +1,26 @@
 /*-
  * ============LICENSE_START=======================================================
- * ONAP : APP-C
+ * ONAP : APPC
  * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property.  All rights reserved.
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
  * 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.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
  * ============LICENSE_END=========================================================
  */
-
 package org.onap.appc.data.services.db;
 
 import java.util.Set;
@@ -442,4 +445,4 @@ public class DGGeneralDBService {
          return localContext.getAttribute("artifact-content");
  }
 
-}
+}
\ No newline at end of file
index d0b8726..49c8e47 100644 (file)
@@ -1,23 +1,26 @@
 /*-
  * ============LICENSE_START=======================================================
- * ONAP : APP-C
+ * ONAP : APPC
  * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property.  All rights reserved.
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
  * 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.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
  * ============LICENSE_END=========================================================
  */
-
 package org.onap.appc.data.services.db;
 
 import java.util.Map;
@@ -39,42 +42,42 @@ import com.att.eelf.configuration.EELFManager;
 
 public class GeneralDataService {
 
-       private static final EELFLogger log = EELFManager.getInstance().getLogger(GeneralDataService.class);
-       
-       public void saveTransactionLog(Map<String, String> inParams, SvcLogicContext ctx) throws SvcLogicException 
-       {
-               SvcLogicContext logger = new SvcLogicContext();
-               String responsePrefix = inParams.get(AppcDataServiceConstant.INPUT_PARAM_RESPONSE_PREFIX);
-               String messageType = inParams.get(AppcDataServiceConstant.INPUT_PARAM_MESSAGE_TYPE);
-               String message = inParams.get(AppcDataServiceConstant.INPUT_PARAM_MESSAGE);
-               try 
-               {
-                       
-                       String escapedMessage = EscapeUtils.escapeSql(message);
-                       logger.setAttribute("request-id", ctx.getAttribute("request-id"));
-                       logger.setAttribute("log-message-type", messageType);
-                       logger.setAttribute("log-message", escapedMessage);
+    private static final EELFLogger log = EELFManager.getInstance().getLogger(GeneralDataService.class);
+    
+    public void saveTransactionLog(Map<String, String> inParams, SvcLogicContext ctx) throws SvcLogicException 
+    {
+        SvcLogicContext logger = new SvcLogicContext();
+        String responsePrefix = inParams.get(AppcDataServiceConstant.INPUT_PARAM_RESPONSE_PREFIX);
+        String messageType = inParams.get(AppcDataServiceConstant.INPUT_PARAM_MESSAGE_TYPE);
+        String message = inParams.get(AppcDataServiceConstant.INPUT_PARAM_MESSAGE);
+        try 
+        {
+            
+            String escapedMessage = EscapeUtils.escapeSql(message);
+            logger.setAttribute("request-id", ctx.getAttribute("request-id"));
+            logger.setAttribute("log-message-type", messageType);
+            logger.setAttribute("log-message", escapedMessage);
 
-                       responsePrefix = StringUtils.isNotBlank(responsePrefix) ? (responsePrefix+".") : "";
-                       DGGeneralDBService db = DGGeneralDBService.initialise();
-                       QueryStatus status = db.saveConfigTransactionLog( logger, responsePrefix);
+            responsePrefix = StringUtils.isNotBlank(responsePrefix) ? (responsePrefix+".") : "";
+            DGGeneralDBService db = DGGeneralDBService.initialise();
+            QueryStatus status = db.saveConfigTransactionLog( logger, responsePrefix);
 
-                       logger.setAttribute("log-message", null);
-                       logger.setAttribute("log-message-type", null);
-                       logger.setAttribute("request-id", null);
+            logger.setAttribute("log-message", null);
+            logger.setAttribute("log-message-type", null);
+            logger.setAttribute("request-id", null);
 
-                       if (status == QueryStatus.FAILURE)
-                               throw new Exception("Unable to insert into config_transaction_log");
+            if (status == QueryStatus.FAILURE)
+                throw new Exception("Unable to insert into config_transaction_log");
 
 
-               } 
-               catch (Exception e) 
-               {
-                       ctx.setAttribute(responsePrefix + AppcDataServiceConstant.OUTPUT_PARAM_STATUS,
-                       AppcDataServiceConstant.OUTPUT_STATUS_FAILURE);
-                       ctx.setAttribute(responsePrefix + AppcDataServiceConstant.OUTPUT_PARAM_ERROR_MESSAGE, e.getMessage());
-                       throw new SvcLogicException(e.getMessage());
-               }
-       }
-       
-}
+        } 
+        catch (Exception e) 
+        {
+            ctx.setAttribute(responsePrefix + AppcDataServiceConstant.OUTPUT_PARAM_STATUS,
+            AppcDataServiceConstant.OUTPUT_STATUS_FAILURE);
+            ctx.setAttribute(responsePrefix + AppcDataServiceConstant.OUTPUT_PARAM_ERROR_MESSAGE, e.getMessage());
+            throw new SvcLogicException(e.getMessage());
+        }
+    }
+    
+}
\ No newline at end of file
index 30fcbbd..e225673 100644 (file)
@@ -1,9 +1,11 @@
 /*-
  * ============LICENSE_START=======================================================
- * ONAP : APP-C
+ * ONAP : APPC
  * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property.  All rights reserved.
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
  * 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
  * 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.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
  * ============LICENSE_END=========================================================
  */
-
 package org.onap.appc.data.services.node;
 
 import java.util.ArrayList;
@@ -788,4 +791,4 @@ public class ConfigResourceNode implements SvcLogicJavaPlugin {
         }
         return capabilityCheckNeeded;
     }
-}
+}
\ No newline at end of file
index 56e776c..6df4e1b 100644 (file)
@@ -1,39 +1,42 @@
 /*-
  * ============LICENSE_START=======================================================
- * ONAP : APP-C
+ * ONAP : APPC
  * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property.  All rights reserved.
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
  * 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.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
  * ============LICENSE_END=========================================================
  */
-
 package org.onap.appc.data.services.utils;
 
 import org.apache.commons.lang3.StringUtils;
 
 public class EscapeUtils {
 
-       public EscapeUtils() {
-               // TODO Auto-generated constructor stub
-       }
+    public EscapeUtils() {
+        // TODO Auto-generated constructor stub
+    }
 
-       public static String escapeSql(String str) {
-               if (str == null) {
-                       return null;
-               }
-               String searchList[] = new String[]{"'","\\"};
-               String replacementList[] = new String[]{ "''","\\\\"};
-               return StringUtils.replaceEach(str,searchList, replacementList);
-       }
-}
+    public static String escapeSql(String str) {
+        if (str == null) {
+            return null;
+        }
+        String searchList[] = new String[]{"'","\\"};
+        String replacementList[] = new String[]{ "''","\\\\"};
+        return StringUtils.replaceEach(str,searchList, replacementList);
+    }
+}
\ No newline at end of file
index cf72ece..ebd723f 100644 (file)
@@ -1,23 +1,26 @@
 /*-
  * ============LICENSE_START=======================================================
- * ONAP : APP-C
+ * ONAP : APPC
  * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property.  All rights reserved.
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
  * 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.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
  * ============LICENSE_END=========================================================
  */
-
 package org.onap.appc.encryptiontool;
 
 import java.util.LinkedList;
@@ -51,4 +54,4 @@ public class EncryptionToolActivator implements BundleActivator {
             registration = null;
         }
     }
-}
+}
\ No newline at end of file
index b91ccbc..821355a 100644 (file)
@@ -1,23 +1,26 @@
 /*-
  * ============LICENSE_START=======================================================
- * ONAP : APP-C
+ * ONAP : APPC
  * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property.  All rights reserved.
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
  * 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.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
  * ============LICENSE_END=========================================================
  */
-
 package org.onap.appc.encryptiontool.wrapper;
 
 public class Constants
@@ -30,4 +33,4 @@ public class Constants
     private static final String SDNC_CONFIG_DIR_VAR = "SDNC_CONFIG_DIR";
 
     public static final String APPC_CONFIG_DIR="/opt/onap/appc/data/properties";
-}
+}
\ No newline at end of file
index 841e8d9..c3dd7d6 100644 (file)
@@ -2,7 +2,8 @@
 .classpath
 .project
 .settings/
+/target-ide/
 
 # Maven
 log/
-target/
+target/
\ No newline at end of file
index 4b38b78..c4168ae 100755 (executable)
@@ -1,32 +1,33 @@
-# Target dirs in all projects\r
-**/target/*\r
-\r
-# Added for Intellij IDEA IDE\r
-**/.idea/*\r
-*.iml\r
-\r
-# Generated models and features\r
-**/bin/*\r
-\r
-# MANIFEST.MF is updated on every clean install\r
-**/src/main/resources/META-INF/\r
-**/pom.xml.versionsBackup\r
-pom.xml.versionsBackup\r
-\r
-.project\r
-\r
-*.prefs\r
-.classpath\r
-**/.classpath\r
-/target/\r
-logs/\r
-debug-logs/\r
-/.settings/\r
-**/*.iml\r
-/.idea/\r
-\r
-\r
-# MANIFEST.MF is updated on every clean install\r
-**/src/main/resources/META-INF/\r
-**/src/main/yang-gen-sal\r
-**/src/main/yang-gen-config\r
+# Target dirs in all projects
+**/target/*
+
+# Added for Intellij IDEA IDE
+**/.idea/*
+*.iml
+
+# Generated models and features
+**/bin/*
+
+# MANIFEST.MF is updated on every clean install
+**/src/main/resources/META-INF/
+**/pom.xml.versionsBackup
+pom.xml.versionsBackup
+
+.project
+
+*.prefs
+.classpath
+**/.classpath
+/target/
+logs/
+debug-logs/
+/.settings/
+**/*.iml
+/.idea/
+.settings
+
+
+# MANIFEST.MF is updated on every clean install
+**/src/main/resources/META-INF/
+**/src/main/yang-gen-sal
+**/src/main/yang-gen-config
\ No newline at end of file
index 5ef400a..67b7abe 100644 (file)
@@ -1,4 +1,5 @@
 /target/
+/target-ide/
 /bin/
 /.settings/
-**/yang-gen-config/
+**/yang-gen-config/
\ No newline at end of file
index 622dfbd..3e60cb3 100644 (file)
             <artifactId>json</artifactId>
         </dependency>
     </dependencies>
-</project>
+</project>
\ No newline at end of file
index 222aa41..7fa0a23 100644 (file)
@@ -1,4 +1,25 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ============LICENSE_START=======================================================
+  ONAP : APPC
+  ================================================================================
+  Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+  Copyright (C) 2017 Amdocs
+  ================================================================================
+  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.
+  -->
 <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">
   <modelVersion>4.0.0</modelVersion>
   <parent>
 
     </plugins>
   </build>
-</project>
+</project>
\ No newline at end of file
index 5a997af..c941c2d 100644 (file)
@@ -1,4 +1,25 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ============LICENSE_START=======================================================
+  ONAP : APPC
+  ================================================================================
+  Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+  Copyright (C) 2017 Amdocs
+  ================================================================================
+  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.
+  -->
 <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">
   <modelVersion>4.0.0</modelVersion>
   <parent>
index 2992ae8..a7d7040 100644 (file)
@@ -1,3 +1,4 @@
 /target/
+/target-ide/
 /bin/
-/.settings/
+/.settings/
\ No newline at end of file
index 2bc6e41..771ea98 100644 (file)
@@ -1,4 +1,25 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ============LICENSE_START=======================================================
+  ONAP : APPC
+  ================================================================================
+  Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+  Copyright (C) 2017 Amdocs
+  ================================================================================
+  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.
+  -->
 <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">
     <modelVersion>4.0.0</modelVersion>
             <artifactId>ietf-yang-types</artifactId>
         </dependency>
     </dependencies>
-</project>
+</project>
\ No newline at end of file
index 147fc4c..a803322 100644 (file)
@@ -1,3 +1,24 @@
+<!--
+  ============LICENSE_START=======================================================
+  ONAP : APPC
+  ================================================================================
+  Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+  Copyright (C) 2017 Amdocs
+  ================================================================================
+  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.
+  -->
 <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">
     <modelVersion>4.0.0</modelVersion>
     <parent>
index 8253238..1166f0d 100644 (file)
@@ -1,3 +1,26 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : APPC
+ * ================================================================================
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
+ * 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.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ * ============LICENSE_END=========================================================
+ */
 package org.onap.appc.sdc.artifacts.impl;
 
 import org.junit.Assert;
@@ -125,4 +148,4 @@ public class TestArtifactProcessor {
         return serviceArtifacts;
     }
 
-}
+}
\ No newline at end of file
index f4cbc6a..071c863 100644 (file)
@@ -1,3 +1,26 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : APPC
+ * ================================================================================
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
+ * 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.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ * ============LICENSE_END=========================================================
+ */
 package org.onap.appc.sdc.artifacts.impl;
 
 import org.junit.Before;
@@ -129,4 +152,4 @@ public class TestLicenseArtifactProcessor {
         serviceArtifacts.add(artifactInfo);
         return serviceArtifacts;
     }
-}
+}
\ No newline at end of file
index 49c93d0..d01c76e 100644 (file)
@@ -1,3 +1,26 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : APPC
+ * ================================================================================
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
+ * 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.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ * ============LICENSE_END=========================================================
+ */
 package org.onap.appc.sdc.listener;
 
 import org.junit.Assert;
@@ -18,4 +41,4 @@ public class SdcTestObjects {
     }
 
 
-}
+}
\ No newline at end of file
index 7f2a01a..a073b95 100644 (file)
@@ -1,3 +1,26 @@
+/*-
+ * ============LICENSE_START=======================================================
+ * ONAP : APPC
+ * ================================================================================
+ * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ * Copyright (C) 2017 Amdocs
+ * =============================================================================
+ * 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.
+ *
+ * ECOMP is a trademark and service mark of AT&T Intellectual Property.
+ * ============LICENSE_END=========================================================
+ */
 package org.onap.appc.sdc.listener;
 
 import org.junit.Assert;
@@ -105,4 +128,4 @@ public class SdcTestUtils {
         }
         return new String(bFile);
     }
-}
+}
\ No newline at end of file
index db09d82..5b975cf 100644 (file)
@@ -1,4 +1,25 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ============LICENSE_START=======================================================
+  ONAP : APPC
+  ================================================================================
+  Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+  Copyright (C) 2017 Amdocs
+  ================================================================================
+  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.
+  -->
 <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">
@@ -43,4 +64,4 @@
             <version>1.4.196</version>
         </dependency>
     </dependencies>
-</project>
+</project>
\ No newline at end of file