Skip to content

Commit

Permalink
dcms3 install fixes and enable restrict #4949
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-a-dunlap committed Dec 13, 2018
1 parent 5537175 commit bf31f9e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion conf/docker-aio/c7.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM centos:7
RUN yum install -y https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/pgdg-centos96-9.6-3.noarch.rpm
#RUN yum install -y java-1.8.0-openjdk-headless postgresql-server sudo epel-release unzip perl curl httpd
RUN yum install -y java-1.8.0-openjdk-devel postgresql96-server sudo epel-release unzip perl curl httpd
RUN yum install -y jq lsof
RUN yum install -y jq lsof awscli

# copy and unpack dependencies (solr, glassfish)
COPY dv /tmp/dv
Expand Down
2 changes: 1 addition & 1 deletion conf/docker-dcm/0prep.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh

wget https://github.com/sbgrid/data-capture-module/releases/download/0.3/dcm-0.5-0.noarch.rpm
wget https://github.com/sbgrid/data-capture-module/releases/download/0.5/dcm-0.5-0.noarch.rpm
2 changes: 1 addition & 1 deletion doc/sphinx-guides/source/developers/big-data-support.rst
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ Optional steps for setting up the S3 Docker DCM Variant
- ``aws_access_key_id =``
- ``aws_secret_access_key =``

- ALSO: ``nano ~/.aws/config`` to create a region file. Add these contents:
- Also: ``nano ~/.aws/config`` to create a region file. Add these contents:

- ``[default]``
- ``region = us-east-1``
Expand Down
5 changes: 3 additions & 2 deletions src/main/webapp/filesFragment.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,9 @@
<h:outputText value="#{bundle['file.metadata']}"/>
</p:commandLink>
</li>
<ui:fragment rendered="#{!settingsWrapper.publicInstall and !DatasetPage.workingVersion.hasPackageFile }">
<li class="#{DatasetPage.lockedFromEdits ? 'disabled' : ''}">
<!--no restrict on non-s3 package file -->
<ui:fragment rendered="#{!settingsWrapper.publicInstall and (!DatasetPage.workingVersion.hasPackageFile or DatasetPage.workingVersion.getDataset().getStorageIdentifier().startsWith('s3://')) }">
<li class="#{DatasetPage.lockedFromEdits ? 'disabled' : ''}">
<p:commandLink oncomplete="toggle_dropdown();"
onclick="testFilesSelectedForRestriction()">
<h:outputText value="#{bundle['file.restrict']}"/>
Expand Down

0 comments on commit bf31f9e

Please sign in to comment.