{"action":"closed","issue":{"url":"https://api.github.com/repos/cmsdaq/daqview-react/issues/7","repository_url":"https://api.github.com/repos/cmsdaq/daqview-react","labels_url":"https://api.github.com/repos/cmsdaq/daqview-react/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/cmsdaq/daqview-react/issues/7/comments","events_url":"https://api.github.com/repos/cmsdaq/daqview-react/issues/7/events","html_url":"https://github.com/cmsdaq/daqview-react/issues/7","id":195211406,"number":7,"title":"Generating dynamic URLs to displays","user":{"login":"mvougiou","id":13272055,"avatar_url":"https://avatars3.githubusercontent.com/u/13272055?v=3","gravatar_id":"","url":"https://api.github.com/users/mvougiou","html_url":"https://github.com/mvougiou","followers_url":"https://api.github.com/users/mvougiou/followers","following_url":"https://api.github.com/users/mvougiou/following{/other_user}","gists_url":"https://api.github.com/users/mvougiou/gists{/gist_id}","starred_url":"https://api.github.com/users/mvougiou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvougiou/subscriptions","organizations_url":"https://api.github.com/users/mvougiou/orgs","repos_url":"https://api.github.com/users/mvougiou/repos","events_url":"https://api.github.com/users/mvougiou/events{/privacy}","received_events_url":"https://api.github.com/users/mvougiou/received_events","type":"User","site_admin":false},"labels":[{"id":405044266,"url":"https://api.github.com/repos/cmsdaq/daqview-react/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-13T10:11:51Z","updated_at":"2017-03-28T13:19:21Z","closed_at":"2017-03-28T13:19:21Z","body":"To serve the request of providing dynamic URLs to displays (that is, given a URL-with-params string, one may directly go to a specific DAQView display, under the constraints set by the parameters), there should be a lightweight DAQView server application, in order to serve requests with parameters.\r\n\r\nAt DAQView-React.js, there is a single data entry point, which is currently only one file, the index.html. In there, both the data source and the parameters are specified (currently only the time, due to DAQAggregator's limited indexing by time only). In case the static DAQView display is implemented using a second .html file, this would also be a data entry point specifying which snapshot to render for a static display.\r\n\r\nIt is, in principle, enough to dynamically generate and serve index.html using the URL input parameters. For this, a lightweight servlet is needed, to read and validate parameters and inject their values into the dynamic index.html, which will subsequently be served.\r\n\r\nFrom a DAQView's point of view, the DAQ configuration should also be nothing more than a parameter. This parameter will be translated either to a different location of snapshots, or be passed on the snapshot service API as a parameter, depending on how the API will be extended in the future."}}
{"actor":{"display_login":"mvougiou"}}