2 * ===============================LICENSE_START======================================
4 * ================================================================================
5 * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
6 * ================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============================LICENSE_END===========================================
21 package org.openecomp.dcae.apod.analytics.cdap.common;
25 * Contains CDAP Plugin Constants
27 * @author Rajiv Singla . Creation Date: 1/17/2017.
29 public abstract class CDAPPluginConstants {
32 * Common Reference Name property name and description used to create an external Dataset for metadata, lineage
35 public static class Reference {
37 public static final String REFERENCE_NAME = "referenceName";
38 public static final String REFERENCE_NAME_DESCRIPTION =
39 "This will be used to uniquely identify this source/sink for lineage, annotating metadata, etc.";
42 // private constructor
48 * Contains fields for DMaaP MR Sink Map Reduce Hadoop Configuration
50 public static class DMaaPMRSinkHadoopConfigFields {
52 public static final String HOST_NAME = "dmaap.mr.sink.hostName";
53 public static final String PORT_NUMBER = "dmaap.mr.sink.portNumber";
54 public static final String TOPIC_NAME = "dmaap.mr.sink.topicName";
55 public static final String PROTOCOL = "dmaap.mr.sink.protocol";
56 public static final String USER_NAME = "dmaap.mr.sink.userName";
57 public static final String USER_PASS = "dmaap.mr.sink.userPassword";
58 public static final String CONTENT_TYPE = "dmaap.mr.sink.contentType";
59 public static final String MAX_BATCH_SIZE = "dmaap.mr.sink.maxBatchSize";
60 public static final String MAX_RECOVER_QUEUE_SIZE = "dmaap.mr.sink.maxRecoveryQueueSize";
62 private DMaaPMRSinkHadoopConfigFields() {
63 // private constructor
68 private CDAPPluginConstants() {
69 // private constructor