Uploaded image for project: 'GPII - Global Public Inclusive Infrastructure'
  1. GPII - Global Public Inclusive Infrastructure
  2. GPII-75

Add support for live updates of the system settings

    XMLWordPrintable

    Details

      Description

      In addition to user login and logout, the Flow Manager should also support the following workflow:

      1. A user logs in. His/her settings are applied and a preferences editor (e.g. PCP) is launched.
      2. The user changes some settings in the preferences editor. These settings are applied to the system but not stored on the Preferences Server.
      3. The user logs out. The original system settings are applied.

      Suggested implementation:

      1. Upon user login, the Flow Manager fires an event. The preference editor can be launched as a result of that event, but user login and preference editor launching should be loosely coupled (no direct calls!)
      2. When the user changes some settings in a preferences editor (e.g. PCP), the editor makes a request (e.g. POST <flow-manager-url>/update {Key-Value pairs of settings}

        ) to the FlowManager specifying the settings changed. The FlowManager then fires an event (e.g. preferencesChanged) which causes the changed settings to be merged to the user preferences and applied to the system. The behavior is similar to the user being logged out and then logged in again.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kasper Kasper Markus
              Reporter:
              tsakov Evgeni Tsakov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 week, 2 days, 4 hours
                  1w 2d 4h
                  Remaining:
                  Remaining Estimate - 1 week, 2 days, 4 hours
                  1w 2d 4h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified