+++ /dev/null
-/*\r
- * ===============================LICENSE_START======================================\r
- * dcae-analytics\r
- * ================================================================================\r
- * Copyright © 2017 AT&T Intellectual Property. All rights reserved.\r
- * ================================================================================\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- * ============================LICENSE_END===========================================\r
- */\r
-\r
-package org.openecomp.dcae.apod.analytics.cdap.common;\r
-\r
-/**\r
- * <p>\r
- * Contains CDAP Plugin Constants\r
- * </p>\r
- * @author Rajiv Singla . Creation Date: 1/17/2017.\r
- */\r
-public abstract class CDAPPluginConstants {\r
-\r
- /**\r
- * Common Reference Name property name and description used to create an external Dataset for metadata, lineage\r
- * purposes\r
- */\r
- public static class Reference {\r
-\r
- public static final String REFERENCE_NAME = "referenceName";\r
- public static final String REFERENCE_NAME_DESCRIPTION =\r
- "This will be used to uniquely identify this source/sink for lineage, annotating metadata, etc.";\r
-\r
- private Reference() {\r
- // private constructor\r
- }\r
-\r
- }\r
-\r
- /**\r
- * Contains fields for DMaaP MR Sink Map Reduce Hadoop Configuration\r
- */\r
- public static class DMaaPMRSinkHadoopConfigFields {\r
-\r
- public static final String HOST_NAME = "dmaap.mr.sink.hostName";\r
- public static final String PORT_NUMBER = "dmaap.mr.sink.portNumber";\r
- public static final String TOPIC_NAME = "dmaap.mr.sink.topicName";\r
- public static final String PROTOCOL = "dmaap.mr.sink.protocol";\r
- public static final String USER_NAME = "dmaap.mr.sink.userName";\r
- public static final String USER_PASS = "dmaap.mr.sink.userPassword";\r
- public static final String CONTENT_TYPE = "dmaap.mr.sink.contentType";\r
- public static final String MAX_BATCH_SIZE = "dmaap.mr.sink.maxBatchSize";\r
- public static final String MAX_RECOVER_QUEUE_SIZE = "dmaap.mr.sink.maxRecoveryQueueSize";\r
-\r
- private DMaaPMRSinkHadoopConfigFields() {\r
- // private constructor\r
- }\r
- }\r
-\r
-\r
- private CDAPPluginConstants() {\r
- // private constructor\r
- }\r
-}\r