Is your feature request related to a problem? Please describe.
The newly-added validation script for DSpace 7.1 test-rest.ts is designed to test a production environment. This script fails to test a development environment with a fresh installation of DSpace.
Describe the solution you'd like
An additional configuration is needed to test the Angular-->API connection in a development environment. This new script invocation should be added to package.json, similar to this one:
https://github.com/DSpace/dspace-angular/blob/main/package.json#L11
But it should use config:dev.
Describe alternatives or workarounds you've considered
I have attempted to try setting the environment via the command line invocation of config:check:rest, however, this doesn't seem to work. A new invocation will work.
Additional context
I have tested this proposal in my local Lando-based dev environment, and it works. I will provide a pull request later today.
Is your feature request related to a problem? Please describe.
The newly-added validation script for DSpace 7.1 test-rest.ts is designed to test a production environment. This script fails to test a development environment with a fresh installation of DSpace.
Describe the solution you'd like
An additional configuration is needed to test the Angular-->API connection in a development environment. This new script invocation should be added to package.json, similar to this one:
https://github.com/DSpace/dspace-angular/blob/main/package.json#L11
But it should use config:dev.
Describe alternatives or workarounds you've considered
I have attempted to try setting the environment via the command line invocation of config:check:rest, however, this doesn't seem to work. A new invocation will work.
Additional context
I have tested this proposal in my local Lando-based dev environment, and it works. I will provide a pull request later today.