KIM Care is a toolset to transfer files via the KIM component of the German Telematik-Infrastruktur using Apache NiFi.
The Apache NiFI processors were tested with KoPS 3.1.
Prerequisites:
- A local/remote NiFI service of a certain version is assummed.
- Maven should be installed locally to compile the processors.
Compile the processors with the following steps:
- Change both NiFi version entries in
nifi-kim-*/pom.xmlfrom1.18.0to your NiFi version. - Run the following commands:
# Transceiver
cd uaux-kim-tx
mvn clean package
cd ..
# Receiver
cd uaux-kim-rx
mvn clean package
cd ..- Retrieve the
.narprocessor files fromuaux-kim-*/nifi-kim-*-nar/target/nifi-kim-*-nar-*.narand place them into the lib folder of the NiFi instance. - Restart the NiFi instance to load the processors.
Note: If you are using the KoPS simulator, make sure to virtually insert a valid crypto card to be able to successfully authenticate with SMTP/POP3.
Transmission: The KIMTX processor sends an incoming flow file to a KIM address as mail with attachment. Change the flow file filename attribute to define the file name of the attachment.
An example is given here:

The configuration can be as follows:

Receive: The KIMRX processor emits a flow file with the content of a received mail attachment.
An example is given here:

