Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide individual LDIF files for update of device and ae specific configuration #2865

Closed
gunterze opened this issue Nov 11, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@gunterze
Copy link
Member

Split update-data-5.X.Y.ldif in

File Specifies
update-dev-5.X.Y.ldif configuration changes related to Archive Device: ${ARCHIVE_DEVICE_NAME:dcm4chee-arc}, excluding changes related to Archive AEs and Web Applications
update-DCM4CHEE-5.X.Y.ldif configuration changes related to Archive AE and Web Application ${AE_TITLE:DCM4CHEE}
update-IOCM_REGULAR_USE-5.X.Y.ldif configuration changes related to Archive AE and Web Application ${AE_TITLE_IOCM_REGULAR_USE:IOCM_REGULAR_USE}
update-IOCM_QUALITY-5.X.Y.ldif configuration changes related to Archive AE and Web Application ${AE_TITLE_IOCM_QUALITY:IOCM_QUALITY}
update-IOCM_PAT_SAFETY-5.X.Y.ldif configuration changes related to Archive AE and Web Application ${AE_TITLE_IOCM_PAT_SAFETY:IOCM_PAT_SAFETY}
update-IOCM_WRONG_MWL-5.X.Y.ldif configuration changes related to Archive AE and Web Application ${AE_TITLE_IOCM_WRONG_MWL:IOCM_WRONG_MWL}
update-IOCM_EXPIRED-5.X.Y.ldif configuration changes related to Archive AE and Web Application ${AE_TITLE_IOCM_EXPIRED:IOCM_EXPIRED}
update-storescp-5.X.Y.ldif configuration changes related to device storescp

Provide scripts in LDAP docker images:

/usr/bin/update-data:
#!/bin/sh
. update-dev $@
. update-aes $@
. update-comp storescp $@
/usr/bin/update-dev:
#!/bin/sh
. merge-vendor-data.sh
. update-comp dev $@
/usr/bin/update-aes:
#!/bin/sh
. 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 $@
/usr/bin/update-comp:
#!/bin/sh
COMP=$1; shift
VERSION=$1; shift
FILE=update-${COMP}-${VERSION}.ldif

if [ -f /etc/openldap/data/${FILE} ]; then
  . /setenv.sh
  . sed+ldap modify $FILE $@
fi

`

@gunterze gunterze added the enhancement New feature or request label Nov 11, 2020
@gunterze gunterze added this to the 5.23.0 milestone Nov 11, 2020
@gunterze gunterze self-assigned this Nov 11, 2020
@gunterze gunterze changed the title provide individual LDIF files for update of device and ae specific configuration Provide individual LDIF files for update of device and ae specific configuration Nov 11, 2020
gunterze added a commit to dcm4che-dockerfiles/slapd-dcm4chee that referenced this issue Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant