{"action":"created","issue":{"url":"https://api.github.com/repos/DAVFoundation/dav-js/issues/30","repository_url":"https://api.github.com/repos/DAVFoundation/dav-js","labels_url":"https://api.github.com/repos/DAVFoundation/dav-js/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/DAVFoundation/dav-js/issues/30/comments","events_url":"https://api.github.com/repos/DAVFoundation/dav-js/issues/30/events","html_url":"https://github.com/DAVFoundation/dav-js/issues/30","id":357113932,"node_id":"MDU6SXNzdWUzNTcxMTM5MzI=","number":30,"title":"Create tests for `vessel-charging/messages/VesselStatusMessageParams` using jest.","user":{"login":"haialaluf","id":9885019,"node_id":"MDQ6VXNlcjk4ODUwMTk=","avatar_url":"https://avatars2.githubusercontent.com/u/9885019?v=4","gravatar_id":"","url":"https://api.github.com/users/haialaluf","html_url":"https://github.com/haialaluf","followers_url":"https://api.github.com/users/haialaluf/followers","following_url":"https://api.github.com/users/haialaluf/following{/other_user}","gists_url":"https://api.github.com/users/haialaluf/gists{/gist_id}","starred_url":"https://api.github.com/users/haialaluf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haialaluf/subscriptions","organizations_url":"https://api.github.com/users/haialaluf/orgs","repos_url":"https://api.github.com/users/haialaluf/repos","events_url":"https://api.github.com/users/haialaluf/events{/privacy}","received_events_url":"https://api.github.com/users/haialaluf/received_events","type":"User","site_admin":false},"labels":[{"id":741905022,"node_id":"MDU6TGFiZWw3NDE5MDUwMjI=","url":"https://api.github.com/repos/DAVFoundation/dav-js/labels/beginner","name":"beginner","color":"5319e7","default":false},{"id":673954642,"node_id":"MDU6TGFiZWw2NzM5NTQ2NDI=","url":"https://api.github.com/repos/DAVFoundation/dav-js/labels/claimed","name":"claimed","color":"b60205","default":false},{"id":673954769,"node_id":"MDU6TGFiZWw2NzM5NTQ3Njk=","url":"https://api.github.com/repos/DAVFoundation/dav-js/labels/first-timers-only","name":"first-timers-only","color":"5319e7","default":false},{"id":741905227,"node_id":"MDU6TGFiZWw3NDE5MDUyMjc=","url":"https://api.github.com/repos/DAVFoundation/dav-js/labels/good%20first%20issue","name":"good first issue","color":"5319e7","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2018-09-05T08:13:03Z","updated_at":"2018-10-09T14:05:28Z","closed_at":null,"author_association":"MEMBER","body":"## first-timers-only\r\n\r\nThis issue is tagged :octocat: **first-timers-only**. It is only for people who have never contributed to open source before, and are looking for an easy way take their first steps.\r\n\r\nConsider this your chance to dip your toe into the world of open-source, and get some bragging rights for writing code that makes drones fly, lets cars find charging stations, helps people and goods get from place to place, and more.\r\n\r\nFind more **first-timers-only** issues from DAV Foundation [here](https://github.com/search?q=org%3ADAVFoundation+is%3Aissue+is%3Aopen+label%3Afirst-timers-only).\r\n\r\nThank you for your help :heart:\r\n\r\n## What is this project? \r\n\r\nDAV (Decentralized Autonomous Vehicles) is a new foundation working to build an open-source infrastructure for autonomous vehicles (cars, drones, trucks, robots, and all the service providers around them) to communicate and transact with each other over blockchain.\r\n\r\nAs an organization that believes in building a large community of open-source contributors, we often create issues like this one to help people take their first few steps into the world of open source.\r\n\r\n### dav-js\r\n\r\nThis SDK enabled integrating any client side JS and NodeJS code with the DAV Network.\r\n\r\n## How you can help\r\n\r\n### The Issue\r\n\r\nCreate tests for `vessel-charging/messages/VesselStatusMessageParams` using jest.\r\n\r\nYou need to create tests to check that the `serialize` and `deserialize` methods work as expected.\r\n\r\nPlease use the [test file for class `NeedParams`](../blob/master/src/vessel-charging/NeedParams.test.ts) as a basis for your new code.\r\n\r\n* Function `serialize` in class `MessageParams` must return a JSON object that contains all properties defined in the `MessageParams` instance.\r\n\r\n* Function `deserialize` in class `MessageParams` receives a JSON string and must initialize all the properties of the `MessageParams` instance with the values in the JSON string.\r\n\r\n```messageParams1.desrialize(messageParams2.serialize()) == messageParams2``` must therefore always be true.\r\n\r\n**NOTE: Some names are changed between protocol string representation of instance properties:**\r\n* `location` is internally represented as `{ lat , lon }` but serialized as `{ latitude , longitude }`\r\n* Private properties are internally prefixed with `_` but serialized without the prefix. i.e. `_protocol` becomes `protocol`\r\n\r\n### Contributing to dav-js\r\n\r\n- [ ] Make sure this issue is labeled `up-for-grabs` and not labeled `claimed`, to verify no one else is working on it.\r\n- [ ] Comment in this issue that you would like to do it.\r\n- [ ] Open [dav-js GitHub page](https://github.com/DAVFoundation/dav-js) and click the ★ Star and then ⑂ Fork buttons.\r\n- [ ] Clone a copy to your local machine with `$ git clone git@github.com:YOUR-GITHUB-USER-NAME/dav-js.git`\r\n- [ ] **Code Code Code**\r\n- [ ] Once you've made sure all your changes work correctly and committed all your changes, push your local changes back to github with `$ git push -u origin master`\r\n- [ ] Visit your fork on GitHub.com ([https://github.com/YOUR-USER-NAME/dav-js](https://github.com/YOUR-USER-NAME/dav-js)) and create a pull request for your changes.\r\n- [ ] Make sure your pull request describes exactly what you changed and references this issue (include the issue number in the title like this: `#7`)\r\n- [ ] Please do not fix more than one issue at a time. Your pull request should only fix what is described in this issue.\r\n\r\n### Asking for help\r\n\r\nWe appreciate your effort in taking the time to work on this issue and help out the open source community and the foundation. If you need any help, feel free to ask below or in our [gitter channel](https://gitter.im/DAVFoundation/DAV-Contributors). We are always happy to help 😄"},"comment":{"url":"https://api.github.com/repos/DAVFoundation/dav-js/issues/comments/428205243","html_url":"https://github.com/DAVFoundation/dav-js/issues/30#issuecomment-428205243","issue_url":"https://api.github.com/repos/DAVFoundation/dav-js/issues/30","id":428205243,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODIwNTI0Mw==","user":{"login":"sark01","id":17831726,"node_id":"MDQ6VXNlcjE3ODMxNzI2","avatar_url":"https://avatars2.githubusercontent.com/u/17831726?v=4","gravatar_id":"","url":"https://api.github.com/users/sark01","html_url":"https://github.com/sark01","followers_url":"https://api.github.com/users/sark01/followers","following_url":"https://api.github.com/users/sark01/following{/other_user}","gists_url":"https://api.github.com/users/sark01/gists{/gist_id}","starred_url":"https://api.github.com/users/sark01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sark01/subscriptions","organizations_url":"https://api.github.com/users/sark01/orgs","repos_url":"https://api.github.com/users/sark01/repos","events_url":"https://api.github.com/users/sark01/events{/privacy}","received_events_url":"https://api.github.com/users/sark01/received_events","type":"User","site_admin":false},"created_at":"2018-10-09T14:05:28Z","updated_at":"2018-10-09T14:05:28Z","author_association":"CONTRIBUTOR","body":"@TalAter, thanks, I'm stuck up in a critical issue at work so I'll start working on it in a day or two if that's not an issue."}}
{"actor":{"display_login":"sark01"}}