Package com.eka.middleware.service
Class DataPipeline
java.lang.Object
com.eka.middleware.service.DataPipeline
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDataPipeline
(RuntimePipeline runtimePipeline, String resource, String urlPath) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addErrorStack
(FlowBasicInfo flowBasicInfo) void
void
void
appLogProfile
(AuthAccount acc) void
void
void
applyAsync
(String fqnOfMethod) void
applyAsync
(String fqnOfMethod, javax.json.JsonArray transformers) await
(int timeout_MS) void
clear()
void
void
void
void
void
dropGlobal
(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.UserProfile
getFileName
(InputStream fileStream) getFileName
(String paramName) getFiles()
getGlobalConfig
(String key) getInteger
(String key) getMap()
getMyConfig
(String key) getMyPackageConfig
(String key) int
getValueByPointer
(String pointer) boolean
boolean
void
Deprecated.void
void
void
void
logDataPipeline
(org.apache.logging.log4j.Level level) void
logException
(Throwable exception) void
void
void
void
void
refresh()
void
void
void
saveJdbc
(DataPipeline dataPipeline, Path path) void
saveProperties
(String path, byte[] data) void
setBody
(byte[] bytes) void
void
setBody
(InputStream is, boolean downloadAsStreamFile) void
setRecordTrace
(boolean recordTrace) void
setResponseStatus
(int statusCode) void
setValueByPointer
(String pointer, Object value, String outTypePath) void
void
snapBefore
(String comment, String guid) toJson()
toXml()
toYaml()
-
Field Details
-
rp
-
-
Constructor Details
-
DataPipeline
-
-
Method Details
-
addErrorStack
-
isDestroyed
public boolean isDestroyed() -
get
-
getString
-
getInteger
- Throws:
SnippetException
-
refresh
public void refresh() -
drop
-
setResponseStatus
- Throws:
SnippetException
-
put
-
map
-
putGlobal
-
dropGlobal
-
clearGlobal
public void clearGlobal() -
clearServicePayload
public 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
-
getCurrentResourceName
-
clear
public void clear() -
apply
- Throws:
SnippetException
-
apply
- Throws:
SnippetException
-
getFuture
-
await
- Throws:
SnippetException
-
applyAsync
public void applyAsync(String fqnOfMethod, javax.json.JsonArray transformers) throws SnippetException - Throws:
SnippetException
-
listAsyncRunningTasks
-
applyAsync
- Throws:
SnippetException
-
getMyConfig
- Throws:
SnippetException
-
getMyPackageConfig
- Throws:
SnippetException
-
saveJdbc
- Throws:
SnippetException
IOException
-
saveProperties
-
getMyPackageConfigPath
-
getMyProperties
- Throws:
SnippetException
-
logDataPipeline
public void logDataPipeline(org.apache.logging.log4j.Level level) -
logException
-
logDataPipeline
public void logDataPipeline() -
log
-
keyLog
Deprecated. -
appLog
-
appLogMul
-
appLogProfile
-
log
-
getGlobalConfig
- Throws:
SnippetException
-
getStackIndex
public int getStackIndex() -
getUrlPath
-
getCurrentRuntimeAccount
- Throws:
SnippetException
-
getCurrentUserProfile
- Throws:
SnippetException
-
clearUserSession
- Throws:
SnippetException
-
getRemoteIpAddr
-
getCurrentURI
-
generateWithUUID
public String generateWithUUID(String UUID, int expiresAfterHours, String email, String userId, String name, List<String> groups) throws Exception - Throws:
Exception
-
isRecordTrace
public boolean isRecordTrace() -
setRecordTrace
public void setRecordTrace(boolean recordTrace)
-