[FOLIO-3880] Add edge-fqm to snapshot hosted environments Created: 25/Aug/23  Updated: 16/Oct/23  Resolved: 16/Oct/23

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

Type: Task Priority: P2
Reporter: Matt Weaver 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 RANCHER-970 Include FQM modules to rancher pipelines Closed
Cloners
clones FOLIO-3879 Add mod-fqm-manager to snapshot hoste... Closed
Relates
relates to EDGFQM-2 Remove the provides section from the ... Closed
Sprint: DevOps Sprint 160
Development Team: FOLIO DevOps
RCA Group: TBD

 Description   

Hi DevOps, we'd like a new module (edge-fqm - https://github.com/folio-org/edge-fqm) added to the hosted environments for testing and demo purposes.



 Comments   
Comment by David Crossley [ 28/Sep/23 ]

I did a quick investigation regarding the readiness of this module.

To configure it, i think that i have most information. But missing a couple of pieces:

Path to access the module via NGINX: ??

Permissions for institutional users: ??

For example see edge-rtac README.

Comment by Matt Weaver [ 04/Oct/23 ]

I'm not sure I understand the nginx path question, but if you mean the paths we need to forward to via nginx, edge-fqm's API matches the mod-fqm-manager API nearly 100%, so it exposes endpoints for the /query and /entity-types APIs (along with resources under those, so if we have to break it out with patterns, we'll need /query, /query/*, /entity-types, and /entity-types/*)

Permissions:

  • fqm.entityTypes.item.get
  • fqm.entityTypes.collection.get
  • fqm.entityTypes.item.columnValues.get
  • fqm.query.sync.get
  • fqm.query.async.results.get
  • fqm.query.async.post
  • fqm.query.async.delete

Or just use fqm.query.all, which provides all of those

Comment by David Crossley [ 07/Oct/23 ]

Thanks Matt. I used these parts which are similar to the other edge modules:

...
    edge_module_path:
      - "/query"
      - "/entity-types"
...
    inst_user_perms:
      - fqm.query.all
...

Today i did a test build via Jenkins folio-snapshot-test. All seems good in its module docker logs regarding the module startup.

The configuration is now merged, so it will be in today's "folio-snapshot-2".

When you get a chance to verify (see some wiki notes), then i will close this ticket.

Comment by David Crossley [ 13/Oct/23 ]

Does the recent release of edge-fqm mean that i can close this ticket?

Comment by Matt Weaver [ 16/Oct/23 ]

Sorry, I meant to comment earlier but got sidetracked with all the release stuff... It looks like it's working perfectly in folio-snapshot. Thanks, David Crossley!

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