Merging in bug fixes
[appc.git] / appc-asdc-listener / appc-asdc-listener-bundle / src / main / java / org / openecomp / appc / sdc / listener / AsdcConfig.java
index 7d208f0..448a7f3 100644 (file)
@@ -1,10 +1,11 @@
 /*-
  * ============LICENSE_START=======================================================
- * APPC
+ * ONAP : APPC
  * ================================================================================
  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * Copyright (C) 2017 Amdocs
  * ================================================================================
+ * 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
@@ -16,8 +17,9 @@
  * 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.
+ * ============LICENSE_END=========================================================
  */
 
 package org.openecomp.appc.sdc.listener;
@@ -39,7 +41,7 @@ public class AsdcConfig implements IConfiguration {
        private String keystorePass;
        private int pollingInterval; // Time between listening sessions
        private int pollingTimeout; // Time to listen for (dmaap timeout url param)/1000
-       private List<String> types = new ArrayList<>(1);
+       private List<String> types = new ArrayList<>();
        private String user;
        private String pass;
 
@@ -92,6 +94,10 @@ public class AsdcConfig implements IConfiguration {
                        // Download type
                        types.add("APPC_CONFIG");
                        types.add("VF_LICENSE");
+                       types.add("TOSCA_CSAR");
+                       /*
+                       This types seems redundant, as it looks from the code that they are not being used anywhere
+                        */
 
                        storeOp = new URI(props.getProperty("appc.asdc.provider.url"));
                }