New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As an administrator, I want to deploy the ui from a release and be able to change the back-end API urls #63
Comments
@jordanpadams @eddiesarevalo The ticket does not need to be urgently processed since the deployment procedure will work by using git clone before this ticket is solved |
Note @eddiesarevalo that would also help to have a single string to update in the configuration, since now Config.js is: which is a lot a redundant string. Coud you also update that as part of this ticket ? Thanks, Thomas |
@eddiesarevalo think we can squeeze this into the work you are already doing? |
-Added a config file that can be changed by an administrator post build and deployment. -The config file will be packaged with the build files. This can be changed with a normal text editor to point to a different API at any point post deployment.
These two are different. I'm not sure if they will change in the future: |
Hi @eddiesarevalo , I don't think we should have different configuration. The difference is getDoiByIdentifier is followed by but the base url should be the same. Does that work ? |
-Added a config file that can be changed by an administrator post build and deployment. -The config file will be packaged with the build files. This can be changed with a normal text editor to point to a different API at any point post deployment.
Motivation
...so that I can actually use the release package
Additional Details
The js files are minified and it is not easily editable.
Acceptance Criteria
Given a release package, e.g. https://github.com/NASA-PDS/pds-doi-ui/releases/tag/v0.3.0
When I perform the deployment procedure, see https://github.com/NASA-PDS/pds-doi-ui/releases/tag/v0.3.0
Then I expect to be able to edit a configuration file where I can set the back-end API url in a single string
Engineering Details
The text was updated successfully, but these errors were encountered: