{"action":"created","issue":{"url":"https://api.github.com/repos/apigee/apigeetool-node/issues/70","repository_url":"https://api.github.com/repos/apigee/apigeetool-node","labels_url":"https://api.github.com/repos/apigee/apigeetool-node/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/apigee/apigeetool-node/issues/70/comments","events_url":"https://api.github.com/repos/apigee/apigeetool-node/issues/70/events","html_url":"https://github.com/apigee/apigeetool-node/issues/70","id":224299318,"number":70,"title":"Deployment fails when a keystore or target server is added in the service callout policy","user":{"login":"anshul07","id":4136729,"avatar_url":"https://avatars1.githubusercontent.com/u/4136729?v=4","gravatar_id":"","url":"https://api.github.com/users/anshul07","html_url":"https://github.com/anshul07","followers_url":"https://api.github.com/users/anshul07/followers","following_url":"https://api.github.com/users/anshul07/following{/other_user}","gists_url":"https://api.github.com/users/anshul07/gists{/gist_id}","starred_url":"https://api.github.com/users/anshul07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anshul07/subscriptions","organizations_url":"https://api.github.com/users/anshul07/orgs","repos_url":"https://api.github.com/users/anshul07/repos","events_url":"https://api.github.com/users/anshul07/events{/privacy}","received_events_url":"https://api.github.com/users/anshul07/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-25T23:18:02Z","updated_at":"2017-11-07T19:55:23Z","closed_at":null,"author_association":"NONE","body":"Deployment through the node tool fails during the validation of the policy schema when a keystore or target server is added to the service callout policy. When I create a zip of the same proxy bundle and upload it to management UI then it deploys fine. \r\n\r\nPlease find my keystore configuration in Service callout policy:\r\n\r\n    <HTTPTargetConnection>\r\n      <URL>https://myURL.com</URL>\r\n      <SSLInfo>\r\n          <Enabled>true</Enabled>\r\n          <ClientAuthEnabled>true</ClientAuthEnabled>\r\n          <KeyStore>openiam_tls_keystore</KeyStore>\r\n          <KeyAlias>openiam_tls_client_cert</KeyAlias>\r\n      </SSLInfo>\r\n    </HTTPTargetConnection>\r\n\r\nI tried to debug the issue and following is my understanding-\r\n\r\nApigee nodetool makes a post call to https://api.enterprise.apigee.com/v1/o/<org-name>/apis/<proxy-name>/revisions/<revision-no>/policies with policy content in body and in response Apigee is throwing back the error:\r\n\r\n```\r\n\"{\\n  \\\"code\\\" : \\\"beans.OtherValidationError\\\",\\n  \\\"message\\\" : \\\"Unexpected Validation Error null\\\",\\n  \\\"contexts\\\" : [ ]\\n}\"\r\n ```\r\n"},"comment":{"url":"https://api.github.com/repos/apigee/apigeetool-node/issues/comments/342602497","html_url":"https://github.com/apigee/apigeetool-node/issues/70#issuecomment-342602497","issue_url":"https://api.github.com/repos/apigee/apigeetool-node/issues/70","id":342602497,"user":{"login":"ssvaidyanathan","id":16812354,"avatar_url":"https://avatars0.githubusercontent.com/u/16812354?v=4","gravatar_id":"","url":"https://api.github.com/users/ssvaidyanathan","html_url":"https://github.com/ssvaidyanathan","followers_url":"https://api.github.com/users/ssvaidyanathan/followers","following_url":"https://api.github.com/users/ssvaidyanathan/following{/other_user}","gists_url":"https://api.github.com/users/ssvaidyanathan/gists{/gist_id}","starred_url":"https://api.github.com/users/ssvaidyanathan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssvaidyanathan/subscriptions","organizations_url":"https://api.github.com/users/ssvaidyanathan/orgs","repos_url":"https://api.github.com/users/ssvaidyanathan/repos","events_url":"https://api.github.com/users/ssvaidyanathan/events{/privacy}","received_events_url":"https://api.github.com/users/ssvaidyanathan/received_events","type":"User","site_admin":false},"created_at":"2017-11-07T19:55:23Z","updated_at":"2017-11-07T19:55:23Z","author_association":"NONE","body":"https://community.apigee.com/questions/49215/apigeetool-error-uploading-service-callout-policy.html"}}
{"actor":{"display_login":"ssvaidyanathan"}}