{"action":"created","comment":{"url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/pulls/comments/88122109","pull_request_review_id":8692117,"id":88122109,"diff_hunk":"@@ -0,0 +1,215 @@\n+#!/usr/bin/env python\n+# ===================================\n+# Copyright (c) Microsoft Corporation. All rights reserved.\n+# See license.txt for license information.\n+# ===================================\n+\n+import socket\n+import os\n+import sys\n+import imp\n+import hashlib\n+import codecs\n+import base64\n+protocol = imp.load_source('protocol', '../protocol.py')\n+nxDSCLog = imp.load_source('nxDSCLog', '../nxDSCLog.py')\n+LG = nxDSCLog.DSCLog\n+\n+global show_mof\n+show_mof = False\n+CONFIG_PATH = '/etc/opt/microsoft/omsagent/conf/'\n+SERVER_ADDRESS = '/var/opt/microsoft/omsagent/run/npmdagent.sock'\n+DEST_FILE_NAME = 'npmd_agent_config'\n+\n+#   [key] string ConfigType;\n+#   [write] string ConfigID;\n+#   [write] string Contents;\n+#   [write,ValueMap{\"Present\", \"Absent\"},Values{\"Present\", \"Absent\"}] string Ensure;\n+#   [write] string ContentChecksum;\n+\n+def init_vars(ConfigType, ConfigID, Contents, Ensure, ContentChecksum):\n+    if ConfigType is not None and ConfigType != '':\n+        ConfigType = ConfigType.encode('ascii', 'ignore')\n+    else:\n+        ConfigType = 'UpdateNPMAgentConfig'\n+    if ConfigID is not None:\n+        ConfigID = ConfigID.encode('ascii', 'ignore')\n+    else:\n+        ConfigID = ''\n+    if Contents is not None:\n+        Contents = base64.b64decode(Contents)#Contents.encode('ascii', 'ignore')\n+    else:\n+        Contents = ''\n+    if Ensure is not None and Ensure != '':\n+        Ensure = Ensure.encode('ascii', 'ignore')\n+    else:\n+        Ensure = 'Present'\n+    if ContentChecksum is not None:\n+        ContentChecksum = ContentChecksum.encode('ascii', 'ignore')\n+    else:\n+        ContentChecksum = ''\n+    return ConfigType, ConfigID, Contents, Ensure, ContentChecksum\n+\n+\n+def Set_Marshall(ConfigType, ConfigID, Contents, Ensure, ContentChecksum):\n+    recvdContentChecksum = hashlib.md5(Contents).hexdigest()\n+    if recvdContentChecksum != ContentChecksum:\n+        # data is corrupt do not proceed further\n+        LG().Log('ERROR', 'Content received did not match checksum, exiting Set')\n+        return [-1]\n+    (ConfigType, ConfigID, Contents, Ensure, ContentChecksum) = init_vars(ConfigType, ConfigID, Contents, Ensure, ContentChecksum)\n+    retval = Set(ConfigType, ConfigID, Contents, Ensure, ContentChecksum)\n+    return retval\n+\n+\n+def Test_Marshall(ConfigType, ConfigID, Contents, Ensure, ContentChecksum):\n+    recvdContentChecksum = hashlib.md5(Contents).hexdigest()\n+    if recvdContentChecksum != ContentChecksum:\n+        # data is corrupt do not proceed further\n+        LG().Log('ERROR', 'Content received did not match checksum, exiting Test')\n+        return [0]\n+    (ConfigType, ConfigID, Contents, Ensure, ContentChecksum) = init_vars(ConfigType, ConfigID, Contents, Ensure, ContentChecksum)\n+    retval = Test(ConfigType, ConfigID, Contents, Ensure, ContentChecksum)\n+    return retval\n+\n+\n+def Get_Marshall(ConfigType, ConfigID, Contents, Ensure, ContentChecksum):\n+    arg_names = list(locals().keys())\n+    (ConfigType, ConfigID, Contents, Ensure, ContentChecksum) = init_vars(ConfigType, ConfigID, Contents, Ensure, ContentChecksum)\n+    retval = 0\n+    retval = Get(ConfigType, ConfigID, Contents, Ensure, ContentChecksum)\n+    ConfigType = protocol.MI_String(ConfigType)\n+    ConfigID = protocol.MI_String(ConfigID)\n+    Ensure = protocol.MI_String(Ensure)\n+    Contents = protocol.MI_String(Contents)\n+    ContentChecksum = protocol.MI_String(ContentChecksum)\n+\n+    retd = {}\n+    ld = locals()\n+    for k in arg_names:\n+        retd[k] = ld[k]\n+    return retval, retd\n+\n+\n+############################################################\n+# Begin user defined DSC functions\n+############################################################\n+\n+def SetShowMof(a):\n+    global show_mof\n+    show_mof = a\n+\n+\n+def ShowMof(op, ConfigType, ConfigID, Contents, Ensure, ContentChecksum):\n+    if not show_mof:\n+        return\n+    mof = ''\n+    mof += op + ' nxOMSAgentNPMConfig MyNPMConfig \\n'\n+    mof += '{\\n'\n+    mof += '    ConfigType = \"' + ConfigType + '\"\\n'\n+    mof += '    ConfigID = \"' + ConfigID + '\"\\n'\n+    mof += '    Contents = \"' + Contents + '\"\\n'\n+    mof += '    Ensure = \"' + Ensure + '\"\\n'\n+    mof += '    ContentChecksum = \"' + ContentChecksum + '\"\\n'\n+    mof += '}\\n'\n+    f = open('./test_mofs.log', 'a')\n+    Print(mof, file=f)\n+    LG().Log('INFO', mof)\n+    f.close()\n+\n+\n+def Set(ConfigType, ConfigID, Contents, Ensure, ContentChecksum):\n+    ShowMof('SET', ConfigType, ConfigID, Contents, Ensure, ContentChecksum)\n+    retval = 0\n+    destFileFullPath = CONFIG_PATH.__add__(DEST_FILE_NAME)\n+    if ConfigType != 'UpdateNPMAgentConfig':\n+        LG().Log('ERROR', 'Config type did not match, exiting set')\n+        return [retval]\n+    if Ensure != 'Present':\n+        LG().Log('INFO', 'Ensure is not present, exiting set')\n+        return [retval]\n+\n+    # create directory \n+    if not os.path.exists(CONFIG_PATH):\n+        LG().Log('ERROR', 'Path does not exist creating directory')\n+        #TODO: mkdir to be done via sudo shellscript\n+        os.mkdir(CONFIG_PATH)\n+    retval = WriteFile(destFileFullPath, Contents)\n+    if retval == 0:\n+        LG().Log('INFO', 'Updated the file, going to notify server')\n+        retval = NotifyServer()\n+    return [retval]\n+\n+\n+def Test(ConfigType, ConfigID, Contents, Ensure, ContentChecksum):\n+    ShowMof('TEST', ConfigType, ConfigID, Contents, Ensure, ContentChecksum)\n+    retval = 0\n+    destFileFullPath = CONFIG_PATH.__add__(DEST_FILE_NAME)\n+    if ConfigType != 'UpdateNPMAgentConfig':\n+        LG().Log('ERROR', 'Config type did not match, exiting test')\n+        return [retval]\n+    if Ensure != 'Present':\n+        LG().Log('INFO', 'Ensure is not present, exiting test')\n+        return [retval]\n+\n+    if not os.path.exists(destFileFullPath):","path":"Providers/Scripts/2.6x-2.7x/Scripts/nxOMSAgentNPMConfig.py","position":155,"original_position":155,"commit_id":"629e77598796a5389de43b693466fb7e15cc36ce","original_commit_id":"629e77598796a5389de43b693466fb7e15cc36ce","user":{"login":"robbiezhang","id":9003737,"avatar_url":"https://avatars.githubusercontent.com/u/9003737?v=3","gravatar_id":"","url":"https://api.github.com/users/robbiezhang","html_url":"https://github.com/robbiezhang","followers_url":"https://api.github.com/users/robbiezhang/followers","following_url":"https://api.github.com/users/robbiezhang/following{/other_user}","gists_url":"https://api.github.com/users/robbiezhang/gists{/gist_id}","starred_url":"https://api.github.com/users/robbiezhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robbiezhang/subscriptions","organizations_url":"https://api.github.com/users/robbiezhang/orgs","repos_url":"https://api.github.com/users/robbiezhang/repos","events_url":"https://api.github.com/users/robbiezhang/events{/privacy}","received_events_url":"https://api.github.com/users/robbiezhang/received_events","type":"User","site_admin":false},"body":"I think you need to return [0] when the CONFIG_PATH doesn't exist, which means the OMS agent is not configured properly.","created_at":"2016-11-15T21:52:12Z","updated_at":"2016-11-15T21:53:15Z","html_url":"https://github.com/Microsoft/PowerShell-DSC-for-Linux/pull/173#discussion_r88122109","pull_request_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/pulls/173","_links":{"self":{"href":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/pulls/comments/88122109"},"html":{"href":"https://github.com/Microsoft/PowerShell-DSC-for-Linux/pull/173#discussion_r88122109"},"pull_request":{"href":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/pulls/173"}}},"pull_request":{"url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/pulls/173","id":93190231,"html_url":"https://github.com/Microsoft/PowerShell-DSC-for-Linux/pull/173","diff_url":"https://github.com/Microsoft/PowerShell-DSC-for-Linux/pull/173.diff","patch_url":"https://github.com/Microsoft/PowerShell-DSC-for-Linux/pull/173.patch","issue_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/issues/173","number":173,"state":"open","locked":false,"title":"NPM Configuration handling DSC resource","user":{"login":"dineshkarora","id":22631051,"avatar_url":"https://avatars.githubusercontent.com/u/22631051?v=3","gravatar_id":"","url":"https://api.github.com/users/dineshkarora","html_url":"https://github.com/dineshkarora","followers_url":"https://api.github.com/users/dineshkarora/followers","following_url":"https://api.github.com/users/dineshkarora/following{/other_user}","gists_url":"https://api.github.com/users/dineshkarora/gists{/gist_id}","starred_url":"https://api.github.com/users/dineshkarora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dineshkarora/subscriptions","organizations_url":"https://api.github.com/users/dineshkarora/orgs","repos_url":"https://api.github.com/users/dineshkarora/repos","events_url":"https://api.github.com/users/dineshkarora/events{/privacy}","received_events_url":"https://api.github.com/users/dineshkarora/received_events","type":"User","site_admin":false},"body":"Added new DSC resource to handle Network Performance Monitoring configurations. A new schema mof and respective providers are added.\r\n\r\nFew more changes needs to be done related to addition of unit tests and handling of new module version. These pending changes will be added early next week.","created_at":"2016-11-10T17:01:04Z","updated_at":"2016-11-15T21:53:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"64ba4ac84939ffe443e778f374540a05f7600e08","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/pulls/173/commits","review_comments_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/pulls/173/comments","review_comment_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/issues/173/comments","statuses_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/statuses/629e77598796a5389de43b693466fb7e15cc36ce","head":{"label":"Microsoft:varastog_npm_dsc","ref":"varastog_npm_dsc","sha":"629e77598796a5389de43b693466fb7e15cc36ce","user":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":19926695,"name":"PowerShell-DSC-for-Linux","full_name":"Microsoft/PowerShell-DSC-for-Linux","owner":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/PowerShell-DSC-for-Linux","description":"PowerShell Desired State Configuration - for Linux","fork":false,"url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux","forks_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/forks","keys_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/teams","hooks_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/events","assignees_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/tags","blobs_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/languages","stargazers_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/subscription","commits_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/merges","archive_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/downloads","issues_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/releases{/id}","deployments_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/deployments","created_at":"2014-05-19T02:18:59Z","updated_at":"2016-11-02T06:40:51Z","pushed_at":"2016-11-15T21:03:14Z","git_url":"git://github.com/Microsoft/PowerShell-DSC-for-Linux.git","ssh_url":"git@github.com:Microsoft/PowerShell-DSC-for-Linux.git","clone_url":"https://github.com/Microsoft/PowerShell-DSC-for-Linux.git","svn_url":"https://github.com/Microsoft/PowerShell-DSC-for-Linux","homepage":"","size":187250,"stargazers_count":170,"watchers_count":170,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":37,"mirror_url":null,"open_issues_count":21,"forks":37,"open_issues":21,"watchers":170,"default_branch":"master"}},"base":{"label":"Microsoft:master","ref":"master","sha":"3c6f8150f1c5204c5d72eac84ea71f1c73ca243a","user":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":19926695,"name":"PowerShell-DSC-for-Linux","full_name":"Microsoft/PowerShell-DSC-for-Linux","owner":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/PowerShell-DSC-for-Linux","description":"PowerShell Desired State Configuration - for Linux","fork":false,"url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux","forks_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/forks","keys_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/teams","hooks_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/events","assignees_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/tags","blobs_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/languages","stargazers_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/subscription","commits_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/merges","archive_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/downloads","issues_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/releases{/id}","deployments_url":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/deployments","created_at":"2014-05-19T02:18:59Z","updated_at":"2016-11-02T06:40:51Z","pushed_at":"2016-11-15T21:03:14Z","git_url":"git://github.com/Microsoft/PowerShell-DSC-for-Linux.git","ssh_url":"git@github.com:Microsoft/PowerShell-DSC-for-Linux.git","clone_url":"https://github.com/Microsoft/PowerShell-DSC-for-Linux.git","svn_url":"https://github.com/Microsoft/PowerShell-DSC-for-Linux","homepage":"","size":187250,"stargazers_count":170,"watchers_count":170,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":37,"mirror_url":null,"open_issues_count":21,"forks":37,"open_issues":21,"watchers":170,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/pulls/173"},"html":{"href":"https://github.com/Microsoft/PowerShell-DSC-for-Linux/pull/173"},"issue":{"href":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/issues/173"},"comments":{"href":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/issues/173/comments"},"review_comments":{"href":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/pulls/173/comments"},"review_comment":{"href":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/pulls/173/commits"},"statuses":{"href":"https://api.github.com/repos/Microsoft/PowerShell-DSC-for-Linux/statuses/629e77598796a5389de43b693466fb7e15cc36ce"}}}}
{"actor":{"display_login":"robbiezhang"}}