[FOLIO-3930] Add new mod-marc-migrations to reference environment Created: 29/Nov/23  Updated: 12/Dec/23  Resolved: 12/Dec/23

Status: Closed
Project: FOLIO
Components: None
Affects versions: None
Fix versions: None

Type: Task Priority: TBD
Reporter: Pavlo Smahin Assignee: David Crossley
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Issue links:
Blocks
blocks MODMARCMIG-4 Create module repository Closed
Relates
relates to RANCHER-1122 Add new module to rancher environments Closed
Sprint: DevOps Sprint 160
Development Team: FOLIO DevOps
RCA Group: TBD

 Description   
  1. https://github.com/folio-org/mod-marc-migrations module should be added to reference environments builds
  2. Specify SYSTEM_USER_PASSWORD env variable that will be used for creating system user credentials.
  3. Add CLA check to the repository and check that all required restrictions are in place.


 Comments   
Comment by David Crossley [ 01/Dec/23 ]

The ModuleDescriptor does not declare any "provides" interfaces (apart from "_tenant"). Is that correct?

Comment by David Crossley [ 01/Dec/23 ]

https://dev.folio.org/guides/install-backend-module/#ensure-module-health-endpoint

In Jenkinsfile that is "false".

Comment by Pavlo Smahin [ 01/Dec/23 ]

There is no provided interfaces now, we will add them in future development.
Health check endpoint should work properly and is tested in integration test. It is false due to application necessitates a database to return positive health check.

Comment by David Crossley [ 04/Dec/23 ]

I tried to commence this today, but the reference environments are currently broken due to something ERM-related. See #hosted-reference-envs Slack.

Will re-investigate when that is fixed.

Comment by David Crossley [ 07/Dec/23 ]

Adding this module to platform-complete snapshot caused the subsequent hourly platform build to fail.
See build-platform-complete-snapshot/23019

fatal: [10.36.1.54]: FAILED! => {"changed": false, "connection": "close", "content": "POST request for mod-marc-migrations-1.0.0-SNAPSHOT.7 /_/tenant failed with 400: Liquibase error: liquibase.exception.ChangeLogParseException: liquibase.parser.core.xml.XSDLookUpException: Unable to resolve xml entity http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.24.xsd. liquibase.secureParsing is set to 'true' which does not allow remote lookups. Check for spelling or capitalization errors and missing extensions such as liquibase-commercial in your XSD definition. Or, set it to 'false' to allow remote lookups of xsd files.", "content_length": "541", "content_type": "text/plain", "elapsed": 75, "msg": "Status code was 400 and not [200]: HTTP Error 400: Bad Request", "redirected": false, "status": 400, "url": "http://10.36.1.54:9130/_/proxy/tenants/diku/
install?deploy=true&tenantParameters=loadSample%3Dtrue%2CloadReference%3Dtrue%2CrunReindex%3Dtrue"}

I have removed it from snapshot branch.

Comment by Pavlo Smahin [ 11/Dec/23 ]

David Crossley, it is fixed now.

Comment by David Crossley [ 12/Dec/23 ]

The mod-marc-migrations has been added to platform-complete snapshot branch, and the subsequent platform-hourly-build was successful.

It will be included in the folio-snapshot-2 build today.

Generated at Thu Feb 08 23:31:49 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.