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