In my latest attempt, I edited the installation script and added https:// to line 29 and line 32 of mosip-infra/install.sh at master · mosip/mosip-infra · GitHub
helm -n $NS install pms-partner mosip/pms-partner --set istio.corsPolicy.allowOrigins[0].prefix=https://$PMP_HOST --version $CHART_VERSION
helm -n $NS install pms-policy mosip/pms-policy --set istio.corsPolicy.allowOrigins[0].prefix=https://$PMP_HOST --version $CHART_VERSION
In doing so, partner management portal works and I did not encounter the errors in my earlier post.
However, the issue of the device partner still not added/reflected in the PMP-UI even though I can self-register, login the newly self-registered partner, and upload the certificates created using CA_CERT_UTILITY in the PMP UI using the Partner_admin user.
What else do I have to do to make this work? This is issue is stopping me from running regclient with Mock-MDS because I could not finish creating the device partner.
Also, the pms module install.sh needs to be reviewed/edited - the last line (41) echo “Admin portal URL: https://$PMP_HOST/pmp-ui/”
I think Admin should be changed to PMP and the URL: https://$PMP_HOST/pmp-ui/" leads to 404, /pmp-ui/ should be edited out.
Here are excerpts of the log files with errors in the line:
pms-policy
…
10:35:46,747 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@2:86 - no applicable action for [springProperty], current ElementPath is [[configuration][springProperty]]
…
{“@timestamp”:“2023-04-13T10:36:45.647Z”,“@version”:“1”,“message”:“Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.error(javax.servlet.http.HttpServletRequest)”,“logger_name”:“org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping”,“thread_name”:“main”,“level”:“INFO”,“level_value”:20000,“appName”:“partner-management”}
{“@timestamp”:“2023-04-13T10:36:45.647Z”,“@version”:“1”,“message”:“Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)”,“logger_name”:“org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping”,“thread_name”:“main”,“level”:“INFO”,“level_value”:20000,“appName”:“partner-management”}
…
pms-partner
…
10:35:43,212 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@2:86 - no applicable action for [springProperty], current ElementPath is [[configuration][springProperty]]
…
{“@timestamp”:“2023-04-13T10:36:29.695Z”,“@version”:“1”,“message”:“Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.error(javax.servlet.http.HttpServletRequest)”,“logger_name”:“org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping”,“thread_name”:“main”,“level”:“INFO”,“level_value”:20000,“appName”:“partner-management”}
{“@timestamp”:“2023-04-13T10:36:29.695Z”,“@version”:“1”,“message”:“Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)”,“logger_name”:“org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping”,“thread_name”:“main”,“level”:“INFO”,“level_value”:20000,“appName”:“partner-management”}
…
pmp-ui doesn’t show any error in the log file