{"action":"created","issue":{"url":"https://api.github.com/repos/aerogear/ups-test-suite/issues/19","repository_url":"https://api.github.com/repos/aerogear/ups-test-suite","labels_url":"https://api.github.com/repos/aerogear/ups-test-suite/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/aerogear/ups-test-suite/issues/19/comments","events_url":"https://api.github.com/repos/aerogear/ups-test-suite/issues/19/events","html_url":"https://github.com/aerogear/ups-test-suite/pull/19","id":207554690,"number":19,"title":"Extends dynamic-test-driver functionality | Adds new UPS Sender Endpoint","user":{"login":"josemigallas","id":11672286,"avatar_url":"https://avatars.githubusercontent.com/u/11672286?v=3","gravatar_id":"","url":"https://api.github.com/users/josemigallas","html_url":"https://github.com/josemigallas","followers_url":"https://api.github.com/users/josemigallas/followers","following_url":"https://api.github.com/users/josemigallas/following{/other_user}","gists_url":"https://api.github.com/users/josemigallas/gists{/gist_id}","starred_url":"https://api.github.com/users/josemigallas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josemigallas/subscriptions","organizations_url":"https://api.github.com/users/josemigallas/orgs","repos_url":"https://api.github.com/users/josemigallas/repos","events_url":"https://api.github.com/users/josemigallas/events{/privacy}","received_events_url":"https://api.github.com/users/josemigallas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-02-14T15:52:39Z","updated_at":"2017-02-16T19:58:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/aerogear/ups-test-suite/pulls/19","html_url":"https://github.com/aerogear/ups-test-suite/pull/19","diff_url":"https://github.com/aerogear/ups-test-suite/pull/19.diff","patch_url":"https://github.com/aerogear/ups-test-suite/pull/19.patch"},"body":"### Dynamic-Test-Driver\r\nImplements the functionality to read a CSV file with device tokens and send 1 push notification to each. Also to specify the delay between requests and to instantiate many test runners simultaneously.\r\n\r\nAll similar to the already implemented [rhmap-test-driver](https://github.com/aerogear/ups-test-suite/tree/master/rhmap-test-driver).\r\n\r\nIn order to verify it:\r\n1. Start UPS up.\r\n2. Create mocks with [mock-data-loader](https://github.com/aerogear/ups-test-suite/tree/master/mock-data-loader), saving them into a devices.csv file.\r\n3. Run `node app/index.js -a <app id> -m <app master secret> -c ./devices.csv -d 10000 -i 5`\r\n4. Verify that every 10 seconds there are 5 new notifications.\r\n\r\n### RHMAP-Test-Driver\r\nThe Cloud App now has [a new route](https://github.com/josemigallas/rhmap-test-cloud-app/commit/4b046ae6ad5841fc76d221dca976fc60e3de2071) to invoke the UPS Sender API directly, without using `fh.push()`. The rhmap-test-driver has been upgraded to use this new route by adding the flag `-D`. It is also needed to specify the `pushApplicationID` and the `masterSecret` of the mobile application, that can be found under *push -> Sender API* in Studio.\r\n\r\n### Logs\r\nLogs have been improved in general. An ERROR should be an exception triggered by either the CloudApp or the TestDriver. Any other result will be considered a RESPONSE, regardless of it was successful or not."},"comment":{"url":"https://api.github.com/repos/aerogear/ups-test-suite/issues/comments/280441382","html_url":"https://github.com/aerogear/ups-test-suite/pull/19#issuecomment-280441382","issue_url":"https://api.github.com/repos/aerogear/ups-test-suite/issues/19","id":280441382,"user":{"login":"matzew","id":157646,"avatar_url":"https://avatars.githubusercontent.com/u/157646?v=3","gravatar_id":"","url":"https://api.github.com/users/matzew","html_url":"https://github.com/matzew","followers_url":"https://api.github.com/users/matzew/followers","following_url":"https://api.github.com/users/matzew/following{/other_user}","gists_url":"https://api.github.com/users/matzew/gists{/gist_id}","starred_url":"https://api.github.com/users/matzew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matzew/subscriptions","organizations_url":"https://api.github.com/users/matzew/orgs","repos_url":"https://api.github.com/users/matzew/repos","events_url":"https://api.github.com/users/matzew/events{/privacy}","received_events_url":"https://api.github.com/users/matzew/received_events","type":"User","site_admin":false},"created_at":"2017-02-16T19:58:58Z","updated_at":"2017-02-16T19:58:58Z","body":"Regarding the dynamic test driver, can we have the BASE_URL of the push server configured? \r\ne.g. to run against an instance, on openshift, or even RHMAP \r\n\r\n"}}
{"actor":{"display_login":"matzew"}}