-
Notifications
You must be signed in to change notification settings - Fork 63
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
GPII-4273iii LFM gets repository revision and computes URL to solutions registry therein #840
base: master
Are you sure you want to change the base?
Conversation
CI job failed: https://ci.gpii.net/job/universal-tests/2093/ |
Includes changes from master, GPII-4306, and GPII-4273ii.
CI job failed: https://ci.gpii.net/job/universal-tests/2105/ |
Also, rationalized capitalization of "URL"
CI job passed: https://ci.gpii.net/job/universal-tests/2113/ |
@cindyli @amb26 Ready for review, although I'm still looking into how to parameterize the name of the solutions registry file, or if that is even necessary. |
Thanks, @klown, this work is very nearly ready. The solution to your parameterisation problem - the implementation should not hard-code the required filename since this will be platform-dependent. Instead, this fetch should be implemented as an identical workalike to the already existing solutionsRegistryDataSource at https://github.com/GPII/universal/blob/master/gpii/node_modules/flowManager/src/FlowManager.js#L45 and https://github.com/GPII/universal/blob/master/gpii/node_modules/flowManager/src/SolutionsRegistryDataSource.js#L73 - the client supplies the output of the platformReporter as the directModel if necessary, and the impl sorts out which file to dispense. |
Thanks @amb26. Re: the detective work: I had started, and noticed that the I'm also reminded of something I did in 2017, making the |
CI job passed: https://ci.gpii.net/job/universal-tests/2115/ |
Thanks @klown - but how does it actually pull in all the platform solutions? All I found was a single require statement... |
@amb26, Someone very clever put an I wonder if there is some way to use node's package manager to get the solutions out of the repository -- treat the solutions registry as a module. |
@klown - well spotted! I feel sure that such a piece of deviousness could only possibly have been the evil work of KASPARNET @kaspermarkus |
CI job passed: https://ci.gpii.net/job/universal-tests/2122/ |
The repositorySolutionsLoader fetches the solutions registry from the source code repository and saves it to a local file. NOTE: code still rough.
CI job passed: https://ci.gpii.net/job/universal-tests/2127/ |
CI job passed: https://ci.gpii.net/job/universal-tests/2289/ |
CI job failed: https://ci.gpii.net/job/universal-tests/2290/ |
ok to test |
CI job failed: https://ci.gpii.net/job/universal-tests/2291/ |
ok to test |
CI job passed: https://ci.gpii.net/job/universal-tests/2292/ |
CI job passed: https://ci.gpii.net/job/universal-tests/2301/ |
CI job passed: https://ci.gpii.net/job/universal-tests/2310/ |
CI job passed: https://ci.gpii.net/job/universal-tests/2316/ |
CI job passed: https://ci.gpii.net/job/universal-tests/2319/ |
CI job passed: https://ci.gpii.net/job/universal-tests/2325/ |
CI job passed: https://ci.gpii.net/job/universal-tests/2333/ |
CI job passed: https://ci.gpii.net/job/universal-tests/2347/ |
CI job passed: https://ci.gpii.net/job/universal-tests/2352/ |
CI job passed: https://ci.gpii.net/job/universal-tests/2374/ |
CI job passed: https://ci.gpii.net/job/universal-tests/2385/ |
CI job passed: https://ci.gpii.net/job/universal-tests/2388/ |
Implementing part (iii) of GPII-4273 where the LFM calls the
/revision
endpoint of the CBFM and uses the result to compose the full URL to the solutions registry in universal's github repository.@cindyli @amb26 I'm doing this pull to see how the changes fare against CI, and I may change things further. Certainly, something needs to be done in terms of specifying the actual file name
win32.json5
, currently hard-coded in thegpii.flowManager.config.local.base.json5
configuration file. It should come from somewhere in thewindows
implementation. That said, feel free to look it over and make comments if you like.NOTE: This includes code changes from PR #837 (part ii of GPII-4273) and PR #836 (part i).
JIRA: https://issues.gpii.net/browse/GPII-4273