Appendix A - Guideline and Code Table Updates
docker cp or kubectl cp commands are limited to the running container or pod. For any reason if the container or pod restarts, the changes are lost. For Guideline updates:
-
Decompress the package.
-
If the guidelines folder is mounted outside of the Kubernetes pod, copy the Database folder and static folder to the mounted guidelines folder.
Or, if the guidelines folder is not mounted, compress the guideline files under the Database folder to a zip file, then upload the zip file using PUT
http://IP_ADDRESS:Port/ForesightREST/guidelines?multiple=y&overwrite=y. Perform the same steps for the guidelines under the static folder. -
Copy the files under the bin folder to Docker or Kubernetes containers with the following commands:
For the Docker:
docker cp bin/. Container_ID:/usr/share/tomcat/tibco/instream/fseng/bin/
For the Kubernetes:
kubectl cp bin/. namespace_name/pod_name:/usr/share/tomcat/tibco/instream/fseng/bin/
For Code table updates:
-
Decompress the package.
-
Copy the
bin/fs_hipaa.datto Docker or Kubernetes containers with the following commands:
For the Docker:
docker cp bin/fs_hipaa.dat Container_ID:/usr/share/tomcat/tibco/instream/fseng/bin/fs_hipaa.dat
For the Kubernetes:
kubectl cp bin/fs_hipaa.dat namespace_name/pod_name:/usr/share/tomcat/tibco/instream/fseng/bin/fs_hipaa.dat