Class CreateRuntimeInstance
java.lang.Object
net.lightapi.portal.command.AbstractCommandHandler
net.lightapi.portal.instance.command.handler.CreateRuntimeInstance
- All Implemented Interfaces:
com.networknt.rpc.HybridHandler
public class CreateRuntimeInstance
extends net.lightapi.portal.command.AbstractCommandHandler
Create a runtime instance record for the host.
The runtimeInstanceId is auto-generated if not provided in the request.
-
Field Summary
FieldsFields inherited from class net.lightapi.portal.command.AbstractCommandHandler
HOST_ID, INCORRECT_TOKEN_TYPE, OBJECT_NOT_FOUND, USER_IDFields inherited from interface com.networknt.rpc.HybridHandler
ERROR_NOT_DEFINED, REQUEST_SUCCESS, STATUS_VALIDATION_ERROR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionenrichInput(io.undertow.server.HttpServerExchange exchange, Map<String, Object> map) protected Stringprotected org.slf4j.LoggerMethods inherited from class net.lightapi.portal.command.AbstractCommandHandler
additionalAction, assignSequentialNonces, buildCloudEvent, customizeOutput, getCloudEventAggregateId, getCloudEventAggregateType, getCommandKind, handle, idempotentCreateAggregateIdField, inputForTrace, ownerLookupHost, populateAggregateVersion, populateAggregateVersion, projectSynchronously, validateInput, validateOwnerScopedCreate, validateOwnerScopedMutation, validateTokenTypeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.networknt.rpc.HybridHandler
getStatus, getStatus, validate
-
Field Details
-
dbProvider
public static net.lightapi.portal.db.PortalDbProvider dbProvider
-
-
Constructor Details
-
CreateRuntimeInstance
public CreateRuntimeInstance()
-
-
Method Details
-
getCloudEventType
- Specified by:
getCloudEventTypein classnet.lightapi.portal.command.AbstractCommandHandler
-
getLogger
protected org.slf4j.Logger getLogger()- Specified by:
getLoggerin classnet.lightapi.portal.command.AbstractCommandHandler
-
enrichInput
-