io.camunda.operate.schema.templates.EventTemplate Maven / Gradle / Ivy
/*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH under
* one or more contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright ownership.
* Licensed under the Camunda License 1.0. You may not use this file
* except in compliance with the Camunda License 1.0.
*/
package io.camunda.operate.schema.templates;
import io.camunda.operate.schema.backup.Prio3Backup;
import org.springframework.stereotype.Component;
@Component
public class EventTemplate extends AbstractTemplateDescriptor
implements ProcessInstanceDependant, Prio3Backup {
public static final String INDEX_NAME = "event";
public static final String ID = "id";
public static final String KEY = "key";
public static final String PROCESS_KEY = "processDefinitionKey";
public static final String BPMN_PROCESS_ID = "bpmnProcessId";
public static final String FLOW_NODE_ID = "flowNodeId";
public static final String FLOW_NODE_INSTANCE_KEY = "flowNodeInstanceKey";
public static final String EVENT_SOURCE_TYPE = "eventSourceType";
public static final String EVENT_TYPE = "eventType";
public static final String DATE_TIME = "dateTime";
public static final String METADATA = "metadata";
public static final String JOB_TYPE = "jobType";
public static final String JOB_RETRIES = "jobRetries";
public static final String JOB_WORKER = "jobWorker";
public static final String JOB_DEADLINE = "jobDeadline";
public static final String JOB_CUSTOM_HEADERS = "jobCustomHeaders";
public static final String JOB_KEY = "jobKey";
public static final String INCIDENT_ERROR_TYPE = "incidentErrorType";
public static final String INCIDENT_ERROR_MSG = "incidentErrorMessage";
public static final String MESSAGE_NAME = "messageName";
public static final String CORRELATION_KEY = "correlationKey";
public static final String POSITION_INCIDENT = "positionIncident";
public static final String POSITION_JOB = "positionJob";
public static final String POSITION_MESSAGE = "positionProcessMessageSubscription";
@Override
public String getIndexName() {
return INDEX_NAME;
}
@Override
public String getVersion() {
return "8.3.0";
}
}