Package com.eka.middleware.service
Class DataPipeline
java.lang.Object
com.eka.middleware.service.DataPipeline
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionDataPipeline(RuntimePipeline runtimePipeline, String resource, String urlPath) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddErrorStack(FlowBasicInfo flowBasicInfo) voidvoidvoidappLogProfile(AuthAccount acc) voidvoidvoidapplyAsync(String fqnOfMethod) voidapplyAsync(String fqnOfMethod, javax.json.JsonArray transformers) voidapplyAsyncQueue(String fqnOfMethod, javax.json.JsonArray transformers, boolean enableResponse) await(int timeout_MS) voidclear()voidvoidvoidvoidvoiddropGlobal(String key) generateWithUUID(String UUID, int expiresAfterHours, String email, String userId, String name, List<String> groups) getAsBoolean(String pointer) getAsInteger(String pointer) getAsNumber(String pointer) getAsString(String pointer) byte[]getBody()org.pac4j.core.profile.UserProfilegetFileName(InputStream fileStream) getFileName(String paramName) getFiles()getGlobalConfig(String key) getInteger(String key) getMap()getMyConfig(String key) getMyPackageConfig(String key) intgetValueByPointer(String pointer) booleanbooleanvoidDeprecated.voidvoidvoidvoidlogDataPipeline(org.apache.logging.log4j.Level level) voidlogException(Throwable exception) voidvoidvoidvoidvoidrefresh()voidvoidvoidsaveJdbc(DataPipeline dataPipeline, Path path) voidsaveProperties(String path, byte[] data) voidsetBody(byte[] bytes) voidvoidsetBody(InputStream is, boolean downloadAsStreamFile) voidsetRecordTrace(boolean recordTrace) voidsetResponseStatus(int statusCode) voidsetValueByPointer(String pointer, Object value, String outTypePath) voidvoidsnapBefore(String comment, String guid) toJson()toXml()toYaml()voidupdateQueuedTaskStatus(String batchId, javax.json.JsonArray transformers, Map<String, Object> asyncOutputDoc, Map<String, Object> metaData) 
- 
Field Details- 
rp
 
- 
- 
Constructor Details- 
DataPipeline
 
- 
- 
Method Details- 
addErrorStack
- 
isDestroyedpublic boolean isDestroyed()
- 
get
- 
getString
- 
getInteger- Throws:
- SnippetException
 
- 
refreshpublic void refresh()
- 
drop
- 
setResponseStatus- Throws:
- SnippetException
 
- 
put
- 
map
- 
putGlobal
- 
dropGlobal
- 
clearGlobalpublic void clearGlobal()
- 
clearServicePayloadpublic void clearServicePayload()
- 
getServicePayload
- 
putAll
- 
getSessionId
- 
getCorrelationId
- 
getPathParameters
- 
getQueryParameters
- 
getHeaders
- 
getAsMap
- 
getAsList
- 
getAsInteger
- 
getAsNumber
- 
getAsByte
- 
getAsDate
- 
getAsBoolean
- 
getAsString
- 
getValueByPointer
- 
setValueByPointer
- 
toJson
- 
toXml
- 
getMap
- 
toYaml
- 
save
- 
restore
- 
snapBefore
- 
snapAfter
- 
getBodyAsStream- Throws:
- SnippetException
 
- 
getFile- Throws:
- SnippetException
 
- 
getFileName- Throws:
- SnippetException
 
- 
getFiles- Throws:
- SnippetException
 
- 
getFileName- Throws:
- SnippetException
 
- 
getBody- Throws:
- SnippetException
 
- 
setBody- Throws:
- SnippetException
 
- 
setBody- Throws:
- SnippetException
 
- 
setBody- Throws:
- SnippetException
 
- 
getMultiPart- Throws:
- SnippetException
 
- 
getUniqueThreadName
- 
getCurrentResource
- 
getCurrentResourceName
- 
clearpublic void clear()
- 
apply- Throws:
- SnippetException
 
- 
apply- Throws:
- SnippetException
 
- 
getFuture
- 
updateQueuedTaskStatus
- 
await- Throws:
- SnippetException
 
- 
applyAsyncpublic void applyAsync(String fqnOfMethod, javax.json.JsonArray transformers) throws SnippetException - Throws:
- SnippetException
 
- 
applyAsyncQueuepublic void applyAsyncQueue(String fqnOfMethod, javax.json.JsonArray transformers, boolean enableResponse) throws SnippetException - Throws:
- SnippetException
 
- 
listAsyncRunningTasks
- 
applyAsync- Throws:
- SnippetException
 
- 
getMyConfig- Throws:
- SnippetException
 
- 
getMyPackageConfig- Throws:
- SnippetException
 
- 
saveJdbc- Throws:
- SnippetException
- IOException
 
- 
saveProperties
- 
getMyPackageConfigPath
- 
getMyProperties- Throws:
- SnippetException
 
- 
logDataPipelinepublic void logDataPipeline(org.apache.logging.log4j.Level level) 
- 
logException
- 
logDataPipelinepublic void logDataPipeline()
- 
log
- 
keyLogDeprecated.
- 
appLog
- 
appLogMul
- 
appLogProfile
- 
log
- 
getGlobalConfig- Throws:
- SnippetException
 
- 
getStackIndexpublic int getStackIndex()
- 
getUrlPath
- 
getCurrentRuntimeAccount- Throws:
- SnippetException
 
- 
getCurrentUserProfile- Throws:
- SnippetException
 
- 
clearUserSession- Throws:
- SnippetException
 
- 
getRemoteIpAddr
- 
getCurrentURI
- 
generateWithUUIDpublic String generateWithUUID(String UUID, int expiresAfterHours, String email, String userId, String name, List<String> groups) throws Exception - Throws:
- Exception
 
- 
isRecordTracepublic boolean isRecordTrace()
- 
setRecordTracepublic void setRecordTrace(boolean recordTrace) 
 
-