Skip to content
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-1224: Implement the "Hybrid Flow Manager" #389

Merged
merged 50 commits into from
Oct 28, 2015
Merged

GPII-1224: Implement the "Hybrid Flow Manager" #389

merged 50 commits into from
Oct 28, 2015

Conversation

simonbates
Copy link
Contributor

https://issues.gpii.net/browse/GPII-1224

Please note that the code is not yet ready for merging into the main project repository.

This pull request has been created for the purpose of early review.

And update the Untrusted Flow Manager to retrive the settings from the
Cloud Based Flow Manager.
Add nonPrivacyFilteredMatchMakingRequest and
privacyFilteredMatchMakingRequest.

// TODO: Restore the ability of the ontology manager to straightforwardly form single transforms and remove this hard-coded path

gpii.request.flowManager.privacy.privacyToSettingsTransformRules = fluid.require("${universal}/testData/ontologies/privacy-flat.json");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did we run into a problem based on this line with respect to running the web-based tests for the lifecycleManager?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't encountered any issues with regards to the lifecycleManager web-based tests.

@amb26
Copy link
Member

amb26 commented Sep 14, 2015

Hi @simonbates - I gave the branch a look over and it is looking very good. I think the main work needed to get it merged in is just to improve the factoring with respect to the existing code - that is the material duplicated from the userLogin request and the base FlowManager. Thanks for all the work on this so far!

Conflicts:
	gpii/node_modules/flowManager/src/UserLogin.js
Use functions in UserLogonStateChange.js
- Assign the combined config template to a global name
- Register a listener to remove the generated config file after the
  tests are done
- Add UntrustedDevelopmentTests.js to all-tests.js
- An anonymous token is a GPII token with no associated user
- A request for an anonymous token is not subject to privacy filtering
@simonbates
Copy link
Contributor Author

I've updated the branch to implement the new logonChange API and I've added support for anonymous tokens.

As part of the logonChange work, I was able to remove the duplication in the userLogin handler.

{
"type": "http://registry.gpii.net/conditions/inRange",
"min": 400,
"inputPath": "http://registry\\.gpii\\.net/common/environment/visual\\.luminance"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All instances of this term in trunk should have been changed to "illuminance" rather than "visual.luminance" - I think there are a couple of solutions in testData which are still lagging - we should fix these test fixtures so they aren't a source of the old term

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've created a JIRA issue for updating the "visual.luminance" condition in test data: https://issues.gpii.net/browse/GPII-1326

@amb26 amb26 merged commit 77aa06c into GPII:master Oct 28, 2015
@colinbdclark
Copy link
Member

🎉 Congratulations on this really huge and helpful contribution, @simonbates! 👍

@kaspermarkus
Copy link
Member

Yay!!! Thanks @simonbates and @amb26 for the work that went into this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants