[FOLIO-3236] Create system user for edge-dematic module Created: 14/Jul/21  Updated: 16/Jul/21  Resolved: 16/Jul/21

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

Type: Task Priority: TBD
Reporter: Aliaksei Harbuz Assignee: Drif Abdenour
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Attachments: Text File edge-dematic.log     PNG File system_user_does_not_exist.PNG    
Issue links:
Requires
is required by EDGDEMATIC-26 Improvement: Making system user confi... Closed
Sprint: DevOps Sprint 118
Development Team: FOLIO DevOps

 Description   

The back-end edge module edge-dematic was added to the folio-testing
and folio-snapshot reference environments.

Currently the module produces errors while starting :

Caused by: org.folio.ed.error.AuthorizationException: Cannot get system connection properties for: diku at org.folio.ed.service.SecurityManagerService.enrichConnectionSystemParametersWithOkapiToken(SecurityManagerService.java:102) ~[classes!/:1.3.0-SNAPSHOT] at org.folio.ed.service.SecurityManagerService.getStagingDirectorConnectionParameters(SecurityManagerService.java:79) ~[classes!/:1.3.0-SNAPSHOT] at org.folio.ed.service.SecurityManagerService$$FastClassBySpringCGLIB$$a5ce8fc1.invoke(<generated>) ~[classes!/:1.3.0-SNAPSHOT] at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.2.9.RELEASE.jar!/:5.2.9.RELEASE] at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:771) ~[spring-aop-5.2.9.RELEASE.jar!/:5.2.9.RELEASE]

It was found that at folio-testing and folio-snapshot there is no any system user for edge-dematic.

Please, create the folio system user for edge-dematic module. By
defaut the value of expected username is stagingDirector. It could be changed through staging_director_client parameter of starting module.

The created user should have remote-storage.all permissions.

Ephemeral.properties should be updated with system user credentials.



 Comments   
Comment by Aliaksei Harbuz [ 16/Jul/21 ]

Hi Drif Abdenour , edge dematic module works as expected for testing and snapshot environments with created system user.  

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