Skip to content

Commit d71baca

Browse files
committed
Merge branch 'develop' into i489-hide-double-nested-properties
2 parents 6b6f4eb + 78d104d commit d71baca

File tree

177 files changed

+8622
-1511
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

177 files changed

+8622
-1511
lines changed

.circleci/config.yml

+10-9
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,33 @@
11
version: 2.1
22
orbs:
3-
ruby: circleci/ruby@0.1.2
3+
ruby: circleci/ruby@1.8.0
44

55
jobs:
66
build:
77
docker:
8-
- image: circleci/ruby:2.7.4-buster-node
9-
- image: circleci/postgres:12-alpine
8+
- image: cimg/ruby:2.7.4-browsers
9+
- image: cimg/postgres:12.11
1010
environment:
1111
POSTGRES_USER: postgres
1212
POSTGRES_DB: hyrax_test
13-
- image: circleci/redis:6.2
13+
- image: cimg/redis:6.2
14+
- image: clamav/clamav:stable
1415
steps:
1516
- checkout
1617
- restore_cache:
1718
keys:
1819
- rails-demo-{{ checksum "hyrax/Gemfile.lock" }}
1920
- rails-demo-
21+
- run:
22+
name: apt install
23+
command: |
24+
sudo apt update
25+
sudo apt install -y openjdk-11-jre-headless libmediainfo-dev libxslt1-dev libsqlite3-dev
2026
- run:
2127
name: bundle install
2228
command: |
2329
cd hyrax
2430
bundle install --jobs 4 --retry 3
25-
- run:
26-
name: apt install
27-
command: |
28-
sudo apt update
29-
sudo apt install -y openjdk-11-jre-headless libmediainfo-dev
3031
- run:
3132
name: download fits
3233
command: |

.env.template

+8-16
Original file line numberDiff line numberDiff line change
@@ -100,26 +100,13 @@ SMTP_PORT=
100100
# Host used for generating URLs
101101
MDR_HOST=
102102

103-
CAS_BASE_URL=https://cas.nims.go.jp/
104-
105-
# For local docker-based setup for development, use:
106-
# CAS_BASE_URL=https://cas.mdr.nims.test:8443/cas/
107-
# and add the following two localhost pointers to your system's /etc/hosts file:
108-
# 127.0.0.1 mdr.nims.test # <-- MDR website
109-
# 127.0.0.1 cas.mdr.nims.test # <-- CAS server
110-
# and also trust the SSL certificate for cas.mdr.nims.test
111-
112-
# CAS_VALIDATE_URL may need to be set depending on how MDR is configured
113-
# CAS_VALIDATE_URL=https://cas:8443/cas/serviceValidate
114-
# CAS_DESTINATION_URL=https://portal.nims.test/
115-
116103
# OAI config used in config/initializers/oai_config.rb
117104
OAI_REPOSTIORY_NAME='NIMS MDR'
118105
OAI_REPOSITORY_URL=http://localhost:3000/catalog/oai
119106
OAI_RECORD_PREFIX=nims_mdr
120107
OAI_ADMIN_EMAIL=***REMOVED***
121108

122-
# User Authorisation LDAP (runs after database / LDAP / CAS authentication)
109+
# User Authorisation LDAP (runs after database / LDAP authentication)
123110
USER_AUTHORISATION_LDAP_HOST=
124111
USER_AUTHORISATION_LDAP_PORT=389
125112
USER_AUTHORISATION_LDAP_ATTRIBUTE=uid
@@ -128,5 +115,10 @@ USER_AUTHORISATION_LDAP_BASE=
128115
WIKIBASE_BASE_URL=https://wikibase.example.jp
129116
WIKIBASE_SPARQL_QUERY_SYNONYM=/query/example?query=some_sparql_query
130117

131-
FLUENTD_HOST=
132-
FLUENTD_URL=http://fluentd:24224/hyrax?messages_type=string
118+
AZURE_APP_ID=
119+
AZURE_APP_SECRET=
120+
AZURE_SCOPES=openid offline_access
121+
AZURE_OAUTH_SITE_URL=
122+
AZURE_OAUTH_AUTHORIZE_ENDPOINT=
123+
AZURE_OAUTH_TOKEN_ENDPOINT=
124+
AZURE_OAUTH_JWKS_URL=

.env.template.development

+8-14
Original file line numberDiff line numberDiff line change
@@ -101,30 +101,24 @@ SMTP_PORT=
101101

102102
MDR_HOST=
103103

104-
CAS_BASE_URL=https://cas.nims.go.jp/
105-
106-
# For local docker-based setup for development, use:
107-
# CAS_BASE_URL=https://cas.mdr.nims.test:8443/cas/
108-
# and add the following two localhost pointers to your system's /etc/hosts file:
109-
# 127.0.0.1 mdr.nims.test # <-- MDR website
110-
# 127.0.0.1 cas.mdr.nims.test # <-- CAS server
111-
# and also trust the SSL certificate for cas.mdr.nims.test
112-
113-
# CAS_VALIDATE_URL may need to be set depending on how MDR is configured
114-
# CAS_VALIDATE_URL=https://cas:8443/cas/serviceValidate
115-
# CAS_DESTINATION_URL=https://portal.nims.test/
116-
117104
# OAI config used in config/initializers/oai_config.rb
118105
OAI_REPOSTIORY_NAME='NIMS MDR'
119106
OAI_REPOSITORY_URL=http://localhost:3000/catalog/oai
120107
OAI_RECORD_PREFIX=nims_mdr
121108
OAI_ADMIN_EMAIL=***REMOVED***
122109

123-
# User Authorisation LDAP (runs after database / LDAP / CAS authentication)
110+
# User Authorisation LDAP (runs after database / LDAP authentication)
124111
USER_AUTHORISATION_LDAP_HOST=
125112
USER_AUTHORISATION_LDAP_PORT=389
126113
USER_AUTHORISATION_LDAP_ATTRIBUTE=uid
127114
USER_AUTHORISATION_LDAP_BASE=
128115

129116
WIKIBASE_BASE_URL=https://wikibase.example.jp
130117
WIKIBASE_SPARQL_QUERY_SYNONYM=/query/example?query=some_sparql_query
118+
119+
AZURE_APP_ID=
120+
AZURE_APP_SECRET=
121+
AZURE_SCOPES='openid profile email offline_access user.read mailboxsettings.read calendars.readwrite'
122+
AZURE_OAUTH_SITE_URL=
123+
AZURE_OAUTH_AUTHORIZE_ENDPOINT=
124+
AZURE_OAUTH_TOKEN_ENDPOINT=

.gitignore

+1-2
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,6 @@ $RECYCLE.BIN/
351351
.env
352352
/hyrax/.fedora-test.pid
353353
/hyrax/.solr-test.pid
354-
cas/.mvn/jvm.config
355354

356355
# Default HOST_APP_DATA_PATH in .env.template.development
357-
/data/
356+
/data/

cas/.mvn/.keep

Whitespace-only changes.

cas/Dockerfile

-15
This file was deleted.

cas/etc/cas/config/cas.properties

-22
This file was deleted.

cas/etc/cas/config/log4j2.xml

-117
This file was deleted.

cas/etc/cas/services/casmdrnimstest-1.json

-8
This file was deleted.

cas/etc/cas/users.json

-14
This file was deleted.

0 commit comments

Comments
 (0)