{"action":"closed","issue":{"url":"https://api.github.com/repos/apigee/apigee-deploy-maven-plugin/issues/58","repository_url":"https://api.github.com/repos/apigee/apigee-deploy-maven-plugin","labels_url":"https://api.github.com/repos/apigee/apigee-deploy-maven-plugin/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/apigee/apigee-deploy-maven-plugin/issues/58/comments","events_url":"https://api.github.com/repos/apigee/apigee-deploy-maven-plugin/issues/58/events","html_url":"https://github.com/apigee/apigee-deploy-maven-plugin/issues/58","id":185116293,"number":58,"title":"http.nonProxyHosts is getting overridden by default with blank","user":{"login":"meghdeep-basu","id":15376056,"avatar_url":"https://avatars.githubusercontent.com/u/15376056?v=3","gravatar_id":"","url":"https://api.github.com/users/meghdeep-basu","html_url":"https://github.com/meghdeep-basu","followers_url":"https://api.github.com/users/meghdeep-basu/followers","following_url":"https://api.github.com/users/meghdeep-basu/following{/other_user}","gists_url":"https://api.github.com/users/meghdeep-basu/gists{/gist_id}","starred_url":"https://api.github.com/users/meghdeep-basu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meghdeep-basu/subscriptions","organizations_url":"https://api.github.com/users/meghdeep-basu/orgs","repos_url":"https://api.github.com/users/meghdeep-basu/repos","events_url":"https://api.github.com/users/meghdeep-basu/events{/privacy}","received_events_url":"https://api.github.com/users/meghdeep-basu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-25T13:23:18Z","updated_at":"2016-11-03T05:54:21Z","closed_at":"2016-11-03T05:54:21Z","body":"In plugin apigee-deploy-maven-plugin, system property http.nonProxyHosts is getting overridden by default with blank, which need to be fixed. We need this property to be functioning as expected according to java proxy standards here (https://docs.oracle.com/javase/8/docs/technotes/guides/net/proxies.html)]\n# \n\n have done some debugging, and can see the GatewayAbstractMojo.fixOSXNonProxyHosts() method is getting called from every Mojo execute method, fixOSXNonProxyHosts method is overriding always the system variable http.nonProxyHosts. If this method should behave as mentioned in the code comment, it should at least check the OS type to override this value. \n---\n\nprotected void fixOSXNonProxyHosts() {\n\n```\n    // This is required to work around a Mac OS X bug.  Probably would be better to be more selective about this.  Only override if we're\n    // actually on OS X.  Or look at the value and only unset if it contains the problematic wildcard value.\n    try {\n           System.setProperty(\"http.nonProxyHosts\", \"\");\n    }\n    catch (RuntimeException e) {\n           // just try to continue\n           getLog().error(e);\n    }\n```\n## }\n\n[INFO] --- apigee-config-maven-plugin:1.1-SNAPSHOT:caches (create-config-cache) @ Dummy ---\n[INFO] ************************************************************************\n[INFO] Apigee Cache\n[INFO] ************************************************************************\n[DEBUG] Build option update\n[DEBUG] Base dir xxxx\n[DEBUG] Retrieving config from edge.json\n[INFO] Retrieving existing environment caches - xxx\n[DEBUG] Request\nGET  xxxxx\naccept: application/json\naccept-encoding: gzip\nauthorization: Basic [Not shown in log]\n[ERROR] 503 Service Unavailable\n<HTML><HEAD>\n<TITLE>Network Error</TITLE>\n</HEAD>\n<BODY>\n<FONT face=\"Helvetica\">\n"}}
{"actor":{"display_login":"msadasivam"}}