{"action":"created","comment":{"url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/pulls/comments/219243786","pull_request_review_id":157373723,"id":219243786,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxOTI0Mzc4Ng==","diff_hunk":"@@ -0,0 +1,119 @@\n+package uk.gov.ons.fwmt.job_service_v2.converter.impl;\n+\n+import com.consiliumtechnologies.schemas.mobile._2009._03.visitstypes.AdditionalPropertyCollectionType;\n+import com.consiliumtechnologies.schemas.mobile._2015._05.optimisemessages.CreateJobRequest;\n+import com.consiliumtechnologies.schemas.mobile._2015._05.optimisetypes.AddressDetailType;\n+import com.consiliumtechnologies.schemas.mobile._2015._05.optimisetypes.ContactInfoType;\n+import com.consiliumtechnologies.schemas.mobile._2015._05.optimisetypes.JobIdentityType;\n+import com.consiliumtechnologies.schemas.mobile._2015._05.optimisetypes.JobType;\n+import com.consiliumtechnologies.schemas.mobile._2015._05.optimisetypes.LocationType;\n+import com.consiliumtechnologies.schemas.mobile._2015._05.optimisetypes.ResourceIdentityType;\n+import com.consiliumtechnologies.schemas.mobile._2015._05.optimisetypes.SkillCollectionType;\n+import com.consiliumtechnologies.schemas.mobile._2015._05.optimisetypes.WorldIdentityType;\n+import org.apache.commons.lang3.StringUtils;\n+import org.springframework.stereotype.Component;\n+import uk.gov.ons.fwmt.fwmtgatewaycommon.data.FWMTCreateJobRequest;\n+import uk.gov.ons.fwmt.job_service_v2.converter.TMConverter;\n+\n+import javax.xml.bind.JAXBElement;\n+import javax.xml.datatype.DatatypeConfigurationException;\n+import javax.xml.datatype.DatatypeFactory;\n+import java.time.ZoneId;\n+import java.util.GregorianCalendar;\n+import java.util.HashMap;","path":"src/main/java/uk/gov/ons/fwmt/job_service_v2/converter/impl/LMSConverter.java","position":23,"original_position":23,"commit_id":"648bc29ce82539810190829fcf9d164c4c09db84","original_commit_id":"648bc29ce82539810190829fcf9d164c4c09db84","user":{"login":"codacy-bot","id":19940114,"node_id":"MDQ6VXNlcjE5OTQwMTE0","avatar_url":"https://avatars1.githubusercontent.com/u/19940114?v=4","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://app.codacy.com/assets/images/favicon.png) Issue found: [Avoid unused imports such as 'java.util.HashMap'](https://app.codacy.com/app/kieran.wardle/fwmt-job-service-v2/pullRequest?prid=2225248)","created_at":"2018-09-20T17:03:34Z","updated_at":"2018-09-20T17:03:34Z","html_url":"https://github.com/ONSdigital/fwmt-job-service-v2/pull/15#discussion_r219243786","pull_request_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/pulls/15","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/pulls/comments/219243786"},"html":{"href":"https://github.com/ONSdigital/fwmt-job-service-v2/pull/15#discussion_r219243786"},"pull_request":{"href":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/pulls/15","id":217014187,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE3MDE0MTg3","html_url":"https://github.com/ONSdigital/fwmt-job-service-v2/pull/15","diff_url":"https://github.com/ONSdigital/fwmt-job-service-v2/pull/15.diff","patch_url":"https://github.com/ONSdigital/fwmt-job-service-v2/pull/15.patch","issue_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/issues/15","number":15,"state":"open","locked":false,"title":"Fwmt 535 lms jobs","user":{"login":"KieranWardle","id":23309814,"node_id":"MDQ6VXNlcjIzMzA5ODE0","avatar_url":"https://avatars0.githubusercontent.com/u/23309814?v=4","gravatar_id":"","url":"https://api.github.com/users/KieranWardle","html_url":"https://github.com/KieranWardle","followers_url":"https://api.github.com/users/KieranWardle/followers","following_url":"https://api.github.com/users/KieranWardle/following{/other_user}","gists_url":"https://api.github.com/users/KieranWardle/gists{/gist_id}","starred_url":"https://api.github.com/users/KieranWardle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KieranWardle/subscriptions","organizations_url":"https://api.github.com/users/KieranWardle/orgs","repos_url":"https://api.github.com/users/KieranWardle/repos","events_url":"https://api.github.com/users/KieranWardle/events{/privacy}","received_events_url":"https://api.github.com/users/KieranWardle/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-09-20T15:26:16Z","updated_at":"2018-09-20T17:03:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4732db096305413121298dda1b375944e46611e1","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/pulls/15/commits","review_comments_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/pulls/15/comments","review_comment_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/issues/15/comments","statuses_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/statuses/648bc29ce82539810190829fcf9d164c4c09db84","head":{"label":"ONSdigital:FWMT-535_LMS-Jobs","ref":"FWMT-535_LMS-Jobs","sha":"648bc29ce82539810190829fcf9d164c4c09db84","user":{"login":"ONSdigital","id":6865137,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NjUxMzc=","avatar_url":"https://avatars0.githubusercontent.com/u/6865137?v=4","gravatar_id":"","url":"https://api.github.com/users/ONSdigital","html_url":"https://github.com/ONSdigital","followers_url":"https://api.github.com/users/ONSdigital/followers","following_url":"https://api.github.com/users/ONSdigital/following{/other_user}","gists_url":"https://api.github.com/users/ONSdigital/gists{/gist_id}","starred_url":"https://api.github.com/users/ONSdigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ONSdigital/subscriptions","organizations_url":"https://api.github.com/users/ONSdigital/orgs","repos_url":"https://api.github.com/users/ONSdigital/repos","events_url":"https://api.github.com/users/ONSdigital/events{/privacy}","received_events_url":"https://api.github.com/users/ONSdigital/received_events","type":"Organization","site_admin":false},"repo":{"id":143417354,"node_id":"MDEwOlJlcG9zaXRvcnkxNDM0MTczNTQ=","name":"fwmt-job-service-v2","full_name":"ONSdigital/fwmt-job-service-v2","private":false,"owner":{"login":"ONSdigital","id":6865137,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NjUxMzc=","avatar_url":"https://avatars0.githubusercontent.com/u/6865137?v=4","gravatar_id":"","url":"https://api.github.com/users/ONSdigital","html_url":"https://github.com/ONSdigital","followers_url":"https://api.github.com/users/ONSdigital/followers","following_url":"https://api.github.com/users/ONSdigital/following{/other_user}","gists_url":"https://api.github.com/users/ONSdigital/gists{/gist_id}","starred_url":"https://api.github.com/users/ONSdigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ONSdigital/subscriptions","organizations_url":"https://api.github.com/users/ONSdigital/orgs","repos_url":"https://api.github.com/users/ONSdigital/repos","events_url":"https://api.github.com/users/ONSdigital/events{/privacy}","received_events_url":"https://api.github.com/users/ONSdigital/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ONSdigital/fwmt-job-service-v2","description":null,"fork":false,"url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2","forks_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/forks","keys_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/teams","hooks_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/hooks","issue_events_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/issues/events{/number}","events_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/events","assignees_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/assignees{/user}","branches_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/branches{/branch}","tags_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/tags","blobs_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/git/refs{/sha}","trees_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/statuses/{sha}","languages_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/languages","stargazers_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/stargazers","contributors_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/contributors","subscribers_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/subscribers","subscription_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/subscription","commits_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/commits{/sha}","git_commits_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/git/commits{/sha}","comments_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/comments{/number}","issue_comment_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/issues/comments{/number}","contents_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/contents/{+path}","compare_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/merges","archive_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/downloads","issues_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/issues{/number}","pulls_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/pulls{/number}","milestones_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/milestones{/number}","notifications_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/labels{/name}","releases_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/releases{/id}","deployments_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/deployments","created_at":"2018-08-03T11:09:30Z","updated_at":"2018-09-18T17:02:08Z","pushed_at":"2018-09-20T15:31:23Z","git_url":"git://github.com/ONSdigital/fwmt-job-service-v2.git","ssh_url":"git@github.com:ONSdigital/fwmt-job-service-v2.git","clone_url":"https://github.com/ONSdigital/fwmt-job-service-v2.git","svn_url":"https://github.com/ONSdigital/fwmt-job-service-v2","homepage":null,"size":420,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"ONSdigital:master","ref":"master","sha":"6b115c663a44ce0324b647d87ec9b3893e925a36","user":{"login":"ONSdigital","id":6865137,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NjUxMzc=","avatar_url":"https://avatars0.githubusercontent.com/u/6865137?v=4","gravatar_id":"","url":"https://api.github.com/users/ONSdigital","html_url":"https://github.com/ONSdigital","followers_url":"https://api.github.com/users/ONSdigital/followers","following_url":"https://api.github.com/users/ONSdigital/following{/other_user}","gists_url":"https://api.github.com/users/ONSdigital/gists{/gist_id}","starred_url":"https://api.github.com/users/ONSdigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ONSdigital/subscriptions","organizations_url":"https://api.github.com/users/ONSdigital/orgs","repos_url":"https://api.github.com/users/ONSdigital/repos","events_url":"https://api.github.com/users/ONSdigital/events{/privacy}","received_events_url":"https://api.github.com/users/ONSdigital/received_events","type":"Organization","site_admin":false},"repo":{"id":143417354,"node_id":"MDEwOlJlcG9zaXRvcnkxNDM0MTczNTQ=","name":"fwmt-job-service-v2","full_name":"ONSdigital/fwmt-job-service-v2","private":false,"owner":{"login":"ONSdigital","id":6865137,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NjUxMzc=","avatar_url":"https://avatars0.githubusercontent.com/u/6865137?v=4","gravatar_id":"","url":"https://api.github.com/users/ONSdigital","html_url":"https://github.com/ONSdigital","followers_url":"https://api.github.com/users/ONSdigital/followers","following_url":"https://api.github.com/users/ONSdigital/following{/other_user}","gists_url":"https://api.github.com/users/ONSdigital/gists{/gist_id}","starred_url":"https://api.github.com/users/ONSdigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ONSdigital/subscriptions","organizations_url":"https://api.github.com/users/ONSdigital/orgs","repos_url":"https://api.github.com/users/ONSdigital/repos","events_url":"https://api.github.com/users/ONSdigital/events{/privacy}","received_events_url":"https://api.github.com/users/ONSdigital/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ONSdigital/fwmt-job-service-v2","description":null,"fork":false,"url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2","forks_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/forks","keys_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/teams","hooks_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/hooks","issue_events_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/issues/events{/number}","events_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/events","assignees_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/assignees{/user}","branches_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/branches{/branch}","tags_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/tags","blobs_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/git/refs{/sha}","trees_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/statuses/{sha}","languages_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/languages","stargazers_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/stargazers","contributors_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/contributors","subscribers_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/subscribers","subscription_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/subscription","commits_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/commits{/sha}","git_commits_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/git/commits{/sha}","comments_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/comments{/number}","issue_comment_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/issues/comments{/number}","contents_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/contents/{+path}","compare_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/merges","archive_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/downloads","issues_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/issues{/number}","pulls_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/pulls{/number}","milestones_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/milestones{/number}","notifications_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/labels{/name}","releases_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/releases{/id}","deployments_url":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/deployments","created_at":"2018-08-03T11:09:30Z","updated_at":"2018-09-18T17:02:08Z","pushed_at":"2018-09-20T15:31:23Z","git_url":"git://github.com/ONSdigital/fwmt-job-service-v2.git","ssh_url":"git@github.com:ONSdigital/fwmt-job-service-v2.git","clone_url":"https://github.com/ONSdigital/fwmt-job-service-v2.git","svn_url":"https://github.com/ONSdigital/fwmt-job-service-v2","homepage":null,"size":420,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/pulls/15"},"html":{"href":"https://github.com/ONSdigital/fwmt-job-service-v2/pull/15"},"issue":{"href":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/issues/15"},"comments":{"href":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/ONSdigital/fwmt-job-service-v2/statuses/648bc29ce82539810190829fcf9d164c4c09db84"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"codacy-bot"}}