Services¶
As of version 4.0.0, Digital Process Factory consists of a number of small, autonomous services. Each service is self-contained and implements a single capability within the DPF context. Below you find the list of DPF services in alphabetical order with a short description what each service does.
seal-dpf-jobcleaner¶
seal-dpf-jobcleaner
service checks the MongoDB in intervals for jobs to be deleted. The interval is specified by the environment variable DPF_JOBCLEANER_INTERVAL. The deletion is done in two separate steps:
-
The first step ("delete job") deletes all temporary files from the job directory. The
job.log
and input files remain. ThejobState
is set toDELETED
. -
The second step ("forget job") deletes the job from MongoDB and the file system completely.
The service can be called by the DPF CLI command dpf clearjobs
to delete jobs immediately.
-
Consul path:
/dc/home/env/service/dpf-jobcleaner
-
Log file:
- Windows:
C:\ProgramData\SEAL Systems\log\seal-dpf-jobcleaner.log
- Linux:
/opt/seal/log/seal-dpf-jobcleaner.log
- Windows:
-
Ports: refer to Ports
seal-dpf-jobclient-api¶
seal-dpf-jobclient-api
provides a REST service interface at port 4303
. The service creates and starts jobs and creates the job directory. The interface is downward compatible. When creating a job via DPF Batch Client, seal-dpf-jobclient-api
service is called.
-
Consul path:
/dc/home/env/service/dpf-jobclient-api
-
Log file:
- Windows:
C:\ProgramData\SEAL Systems\log\seal-dpf-jobclient-api.log
- Linux:
/opt/seal/log/seal-dpf-jobclient-api.log
- Windows:
-
Ports: refer to Ports
Example - create a job via DPF Batch Client
dpfclient -wf example -protocol http -host localhost:4303 -s userName=Bob jobName=helloworld -a
seal-dpf-management-api¶
seal-dpf-management-api
provides the REST API for DPF management tasks. When administrating jobs via DPF CLI, seal-dpf-management-api
service is called.
-
Consul path:
/dc/home/env/service/dpf-management-api
-
Log file:
- Windows:
C:\ProgramData\SEAL Systems\log\seal-dpf-management-api.log
- Linux:
/opt/seal/log/seal-dpf-management-api.log
- Windows:
-
Ports: refer to Ports
seal-dpf-process-manager¶
seal-dpf-process-manager
handles the execution of workflows. The job.log
and the job history entries in the database are created by it.
-
Consul path:
/dc/home/env/service/dpf-process-manager
-
Log file:
- Windows:
C:\ProgramData\SEAL Systems\log\seal-dpf-process-manager.log
- Linux:
/opt/seal/log/seal-dpf-process-manager.log
- Windows:
-
Ports: refer to Ports
seal-dpf-urlcallback¶
The Service handles DPF URL callbacks.
-
Consul path:
/dc/home/env/service/dpf-urlcallback
-
Log file:
- Windows:
C:\ProgramData\SEAL Systems\log\seal-dpf-urlcallback.log
- Linux:
/opt/seal/log/seal-dpf-urlcallback.log
- Windows:
seal-dpf-wujavacall4¶
seal-dpf-wujavacall4
service starts and manages Java working units, e.g. working units of the type WUJavaCall
.
-
Consul path:
/dc/home/env/service/dpf-wujavacall4
-
Log file:
- Windows:
C:\ProgramData\SEAL Systems\log\seal-dpf-wujavacall4.log
- Linux:
/opt/seal/log/seal-dpf-wujavacall4.log
- Windows:
-
Ports: refer to Ports
seal-dpf-wu-manager-rest¶
seal-dpf-wu-manager-rest
service starts and manages REST working units, e.g. working units of the type WURestCall
.
-
Consul path:
/dc/home/env/service/dpf-wu-manager-rest
-
Log file:
- Windows:
C:\ProgramData\SEAL Systems\log\seal-dpf-wu-manager-rest.log
- Linux:
/opt/seal/log/seal-dpf-wu-manager-rest.log
- Windows:
-
Ports: refer to Ports
seal-dpf-wusendback¶
dpf workingunit for sendback files
-
Consul path:
/dc/home/env/service/dpf-wusendback
-
Log file:
- Windows:
C:\ProgramData\SEAL Systems\log\seal-dpf-wusendback.log
- Linux:
/opt/seal/log/seal-dpf-wusendback.log
- Windows:
-
Ports: refer to Ports
seal-dpf-wusystemcall¶
seal-dpf-wusystemcall
service starts and manages all working units of the type WUSystemCall
but the application converter.
-
Consul path:
/dc/home/env/service/dpf-wusystemcall
-
Log file:
- Windows:
C:\ProgramData\SEAL Systems\log\seal-dpf-wusystemcall.log
- Linux:
/opt/seal/log/seal-dpf-wusystemcall.log
- Windows:
-
Ports: refer to Ports
seal-dpf-wuwait¶
seal-dpf-wusystemcall
service starts and manages all working units of the type WUWait
.
-
Consul path:
/dc/home/env/service/dpf-wuwait
-
Log file:
- Windows:
C:\ProgramData\SEAL Systems\log\seal-dpf-wuwait.log
- Linux:
/opt/seal/log/seal-dpf-wuwait.log
- Windows:
-
Ports: refer to Ports