Skip to content

Commit

Permalink
Merge pull request #761 from folio-org/release_6.1.2
Browse files Browse the repository at this point in the history
chore: Release 6.1.2
  • Loading branch information
Jack-Golding authored May 1, 2024
2 parents f057d35 + 2740fbd commit c27d759
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 7 deletions.
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 6.1.2 2024-05-01
* ERM-3138 Grails 5.3.6 fixing databinding DoS (CVE-2023-46131)

## 6.1.1 2024-04-01
* ERM-3177 Check on `noSICount` in WorkSourceIdentifierTIRSImpl is not correct
* ERM-3139 Propose additional info.log messages for jobs/processes
Expand Down
6 changes: 3 additions & 3 deletions service/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
grailsVersion=5.3.2
grailsGradlePluginVersion=5.3.0
grailsVersion=5.3.6
grailsGradlePluginVersion=5.3.1
groovyVersion=3.0.11
gorm.version=7.3.3

# Application
appName=mod-agreements
appVersion=6.1.1
appVersion=6.1.2
dockerTagSuffix=
dockerRepo=folioci

Expand Down
35 changes: 35 additions & 0 deletions service/grails-app/conf/application-dc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
##
# This config file connects to the postgres install from a rancher desktop instance.
# Use the flag '-Dgrails.env=rancher-desktop-db' when running
##

dataSource:
dbCreate: none
url: "jdbc:postgresql://${db.host:localhost}:${db.port:5432}/${db.database:okapi_modules_test}" # Port 5432 forwarded so as not to clash.
username: postgres
password: pa55w0rd
driverClassName: org.postgresql.Driver
dialect: com.k_int.hibernate.dialects.postgres.KIPostgres94Dialect
schemaHandler: com.k_int.okapi.OkapiSchemaHandler
logSql: false
properties:
jmxEnabled: false
maximumPoolSize: ${db.maxpoolsize:10}
transactionIsolation: TRANSACTION_READ_COMMITTED

hibernate:
enable_lazy_load_no_trans: true

okapi:
service:
host: localhost
port: 30100
logging:
config: classpath:logback-development.xml



# register: true
# deploy: true


8 changes: 4 additions & 4 deletions tools/testing/init.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ select 1;

CREATE USER folio_admin WITH PASSWORD 'folio_admin';
CREATE USER folio WITH PASSWORD 'folio';
DROP DATABASE if exists okapi_modules;
DROP DATABASE if exists okapi_modules_test;
DROP DATABASE if exists olfdev;
DROP DATABASE if exists olftest;
CREATE DATABASE olftest;
CREATE DATABASE okapi_modules;
CREATE DATABASE okapi_modules_test;
CREATE DATABASE olfdev;
GRANT ALL PRIVILEGES ON DATABASE okapi_modules to folio_admin;
GRANT ALL PRIVILEGES ON DATABASE okapi_modules_test to folio_admin;
GRANT ALL PRIVILEGES ON DATABASE olfdev to folio;
GRANT ALL PRIVILEGES ON DATABASE olftest to folio;

Expand All @@ -18,4 +18,4 @@ ALTER USER folio WITH SUPERUSER;
ALTER USER folio_admin CREATEDB;
ALTER USER folio_admin CREATEROLE;
ALTER USER folio_admin WITH SUPERUSER;
CREATE EXTENSION IF NOT EXISTS pg_trgm;
CREATE EXTENSION IF NOT EXISTS pg_trgm;

0 comments on commit c27d759

Please sign in to comment.