Skip to content

Commit

Permalink
Provide individual LDIF files for update of device and ae specific co…
Browse files Browse the repository at this point in the history
…nfiguration #2865
  • Loading branch information
gunterze committed Dec 10, 2020
1 parent 502682e commit 8d2d518
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
8 changes: 8 additions & 0 deletions dcm4chee-arc-assembly/src/main/resources/ldap/update-comp
@@ -0,0 +1,8 @@
#!/bin/sh
COMP=$1; shift
VERSION=$1; shift
FILE=update-${COMP}-${VERSION}.ldif

if [ -f /etc/openldap/data/${FILE} ]; then
ldapmodify -f $FILE $@
fi
10 changes: 10 additions & 0 deletions dcm4chee-arc-assembly/src/main/resources/ldap/update-data
@@ -0,0 +1,10 @@
#!/bin/sh
. update-comp dev $@
. update-comp DCM4CHEE $@
. update-comp AS_RECEIVED $@
. update-comp IOCM_REGULAR_USE $@
. update-comp IOCM_QUALITY $@
. update-comp IOCM_PAT_SAFETY $@
. update-comp IOCM_WRONG_MWL $@
. update-comp IOCM_EXPIRED $@
. update-comp storescp $@

0 comments on commit 8d2d518

Please sign in to comment.