68 Commits

Author SHA1 Message Date
Chintan Parikh
84c3da1ac7 Merge pull request #21 from kemorrisnf/master
Add nodejs tests to verify new v2.2 functionality
2018-10-29 10:33:05 -07:00
mdaftari
3e6d3981ac Introduce a command line option to pass sleep password.
And fix return code for "launching" system app.
2018-10-26 15:22:08 -07:00
Kevin Morris
ea691d1c4b Check that 403 is returned when DIAL launch of the System app is attempted. 2018-10-25 08:50:00 -07:00
Kevin Morris
b541041ea1 Adding tests for v2.2 DIAL spec. 2018-10-24 17:07:46 -07:00
mdaftari
231dd4e462 Introduce system app
Implementation as per spec

Update DIAL version
2018-10-17 12:05:51 -07:00
Chintan Parikh
9265692ad0 Fix mac address is corrupted on OSX. 2017-12-26 21:26:45 -08:00
Chintan Parikh
46a92967a5 Fix for "sendto: Can't assign requested address" error on OSx.
Bind to INADDR_ANY for UDP multicast message, only for OSX.
2017-12-26 21:20:54 -08:00
Chintan Parikh
ac3e488924 Compile DIAL client and server for macOS.
Changes:
* Added method to get mac and ip address for OSX. Current Linux method
of query via SIOCGIFCONF doesn't work. Added code to read via getifaddrs() API.
* Put non OSX specific code under #ifdef flags.
* Removed few linker libraries which are not required (lcares and lrt).
* Fixed many warnings.

Tested on: OSX 10.12
2017-12-26 21:16:24 -08:00
Chintan Parikh
fc267fac62 Fix memory leak in dial data. Thanks @vignyzheng for pointing this. 2017-12-23 16:05:33 -08:00
Chintan Parikh
7ba715a54e Adding code tags in README 2017-10-04 06:50:41 -07:00
Chintan Parikh
c1ed839cfb Updated README with additional documentation for dial website and
added markdown tags.
2017-10-04 06:47:48 -07:00
Chintan Parikh
eb89f3cbd3 Fix more memory leak issues in dial_server.c 2017-10-02 21:23:15 -07:00
Chintan Parikh
e902089402 Replace unsafe strcpy with strncpy.
Valgrind is happy now.
2017-10-02 16:28:39 -07:00
Chintan Parikh
4b8f7637b1 Fix memory leak in dial_data. 2017-10-02 15:25:03 -07:00
Jianchuan (J.C.) Li
50f7a5085d Merge pull request #13 from Netflix/cparikh/fixbuild
Fix build errors on Ubuntu Xenial 64 bit.
2017-10-02 12:51:22 -07:00
Chintan Parikh
dcb66b3641 Fix build errors on Ubuntu Xenial 64 bit.
Add -fPIC flag for building the lib, also add -Wl,--allow-shlib-undefined
in the client LDFLAGS.
2017-10-02 10:47:15 -07:00
Shruti Ranganathan Jothi
e5663f3941 adding manual mode test and stress test 2017-03-09 10:44:01 -08:00
Shruti Ranganathan Jothi
1f5c5454f2 adding logging for js tests 2017-03-08 19:30:02 -08:00
Shruti Ranganathan Jothi
b0061b88ad ability to write logs of test run to a file for nodejs tests 2017-03-08 16:28:28 -08:00
Shruti Ranganathan Jothi
11e4eaf2ac rectify error in sending clientDialVer in application status query 2017-03-08 12:57:50 -08:00
Shruti Ranganathan Jothi
6a0edc87dc Removed some test workarounds and updated README 2017-03-08 10:56:39 -08:00
Shruti Ranganathan Jothi
8e322de983 use yargs to get commandline params for nodejs tests 2017-03-08 10:33:36 -08:00
Shruti Ranganathan Jothi
ac26da16e2 use sprintf-js to format console logs 2017-03-08 09:58:27 -08:00
jcli
44f1acb300 jira SDK-5322: DIAL client that supports 2.1 and higher SHOULD include a clientDialVer query parameter while querying application status 2017-03-05 13:26:16 -08:00
jcli
f686fd9a19 jira SDK-5325: Server returns 404 when client requests to hide Netflix when it is already in hidden state 2017-03-05 11:26:42 -08:00
jcli
692a9c2ce8 jira SDK-5324: DIAL server not considering http request headers in case-insensitive manner 2017-03-05 11:10:31 -08:00
jcli
c7a3afa8a4 Jira SDK-5323, change MIME type from application/xml to text/xml 2017-03-05 10:57:07 -08:00
Shruti Ranganathan Jothi
0d6e141c2b include DIAL version that tests are compatible with 2017-03-01 10:32:05 -08:00
Shruti Ranganathan Jothi
0105397247 update input arg for node.js test in README example 2017-03-01 10:25:56 -08:00
Shruti Ranganathan Jothi
0ab52bdd75 adding test file name in README example 2017-03-01 10:17:38 -08:00
Shruti Ranganathan Jothi
2771af310a update README 2017-03-01 10:05:07 -08:00
Shruti Ranganathan Jothi
fd58106e7f ability to run tests standalone 2017-02-28 17:29:57 -08:00
Shruti Ranganathan Jothi
3966c316ac make tests application agnostic 2017-02-28 17:21:35 -08:00
Shruti Ranganathan Jothi
f6c369ca3c update package.json and .gitignore 2017-02-28 11:54:30 -08:00
Shruti Ranganathan Jothi
7ecd7c2ad0 committing node js tests for netflix app with DIAL 2.1 2017-02-28 11:24:36 -08:00
Shruti Ranganathan Jothi
53687736d9 new directory for nodejs tests 2017-02-28 11:17:08 -08:00
jcli
9436d21eef compile the debug target 2017-02-22 17:58:27 -08:00
jcli
1cad97031b added dial client debug 2017-02-22 17:54:25 -08:00
Jianchuan (J.C.) Li
46f5e57eeb Merge pull request #7 from StevenEWright/master
Don't assume a 32-bit build for the DIAL client.
2017-01-19 18:59:44 -08:00
Jianchuan (J.C.) Li
bd54de2201 Merge pull request #9 from maxvonhippel/master
Fix double ds_unlock call per reported issue.
2017-01-05 09:53:34 -08:00
Jianchuan (J.C.) Li
c3cad5a7bd Merge pull request #8 from StevenEWright/format-specifier
Fixes incorrect format specifier.
2017-01-05 09:51:07 -08:00
Max von Hippel
8383f8e871 Fix double ds_unlock call per reported issue.
Got rid of double ds_unlock call.
2016-12-19 21:21:12 -07:00
jcli
e9317b7a7c updated the ChangeLog 2016-12-15 14:13:04 -08:00
Steven E Wright
c23156fb02 Fixes incorrect format specifier. 2016-12-06 10:50:53 -08:00
Steven E Wright
4a3cd27df2 Fixes incorrect format specifier. 2016-12-06 10:48:48 -08:00
Steven E Wright
cc9a6aa8e7 Don't assume a 32-bit build for the DIAL client. 2016-12-06 10:45:23 -08:00
jcli
b953048cf2 fixed variable name 2016-10-19 13:59:55 -07:00
jcli
4dd3e87a50 format 2016-10-13 14:20:04 -07:00
jcli
aa0840af20 added call to curl_slist_free_all() 2016-10-13 14:18:57 -07:00
jcli
5a6ffa5da7 turned netflix callbacks into shared library 2016-09-24 11:06:34 -07:00