/*
 * Copyright (c) , WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
 *
 * 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.
 */
package org.wso2.carbon.bpmn.analytics.publisher;

public class AnalyticsPublisherConstants {
    public static final String HOST = "localhost";
    public static final String PORT = "7611";
    public static final String USER_NAME = "admin";
    public static final String PASSWORD = "admin";
    public static final int DELAY = 10000;

    public static final String PROCESS_INSTANCE = "PROCESS_INSTANCE";
    public static final String TASK_INSTANCE = "TASK_INSTANCE";
    public static final String LAST_PROCESS_INSTANCE_PUBLISH_TIME = "lastBPMNProcessInstanceTime";
    public static final String LAST_TASK_INSTANCE_END_TIME = "lastBPMNTaskInstanceTime";

    public static final String PROCESS_STREAM_NAME = "BPMNProcessInstanceDataPublish";
    public static final String TASK_STREAM_NAME = "BPMNTaskDataPublish";
    public static final String STREAM_ID = "id";
    public static final String STREAM_VERSION = "1.0.0";
    public static final String STREAM_NICK_NAME = "nickName";
    public static final String PROCESS_STREAM_DESCRIPTION = "BPMN process instances data";
    public static final String TASK_STREAM_DESCRIPTION = "BPMN user tasks data";

    public static final String PROCESS_DEFINITION_ID = "processDefinitionId";
    public static final String PROCESS_INSTANCE_ID = "processInstanceId";
    public static final String START_TIME = "startTime";
    public static final String END_TIME = "endTime";
    public static final String DURATION = "duration";
    public static final String ASSIGNEE = "assignee";

    public static final String TASK_DEFINITION_ID = "taskDefinitionKey";
    public static final String TASK_INSTANCE_ID = "taskInstanceId";

    public static final String PROCESS_RESOURCE_PATH = "resource_process_instance_time_location";
    public static final String TASK_RESOURCE_PATH = "resource_task_instance_time_location";
}

/*
 * Copyright (c) , WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
 *
 * 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.
 */
package org.wso2.carbon.bpmn.analytics.publisher;

public class AnalyticsPublisherConstants {
    public static final String HOST = "localhost";
    public static final String PORT = "7611";
    public static final String USER_NAME = "admin";
    public static final String PASSWORD = "admin";
    public static final int DELAY = 12000;

    public static final String PROCESS_INSTANCE = "PROCESS_INSTANCE";
    public static final String TASK_INSTANCE = "TASK_INSTANCE";
    public static final String LAST_PROCESS_INSTANCE_PUBLISH_TIME = "lastBPMNProcessInstanceTime";
    public static final String LAST_TASK_INSTANCE_END_TIME = "lastBPMNTaskInstanceTime";

    public static final String PROCESS_STREAM_NAME = "BPMNProcessInstanceDataPublish";
    public static final String TASK_STREAM_NAME = "BPMNTaskDataPublish";
    public static final String STREAM_ID = "id";
    public static final String STREAM_VERSION = "1.0.0";
    public static final String STREAM_NICK_NAME = "nickName";
    public static final String PROCESS_STREAM_DESCRIPTION = "BPMN process instances data";
    public static final String TASK_STREAM_DESCRIPTION = "BPMN user tasks data";

    public static final String PROCESS_DEFINITION_ID = "processDefinitionId";
    public static final String PROCESS_INSTANCE_ID = "processInstanceId";
    public static final String START_TIME = "startTime";
    public static final String END_TIME = "endTime";
    public static final String DURATION = "duration";
    public static final String ASSIGNEE = "assignee";

    public static final String TASK_DEFINITION_ID = "taskDefinitionKey";
    public static final String TASK_INSTANCE_ID = "taskInstanceId";

    public static final String PROCESS_RESOURCE_PATH = "resource_process_instance_time_location";
    public static final String TASK_RESOURCE_PATH = "resource_task_instance_time_location";
}

Update AnalyticsPublisherConstants class