{"action":"created","issue":{"url":"https://api.github.com/repos/syndesisio/syndesis/issues/3174","repository_url":"https://api.github.com/repos/syndesisio/syndesis","labels_url":"https://api.github.com/repos/syndesisio/syndesis/issues/3174/labels{/name}","comments_url":"https://api.github.com/repos/syndesisio/syndesis/issues/3174/comments","events_url":"https://api.github.com/repos/syndesisio/syndesis/issues/3174/events","html_url":"https://github.com/syndesisio/syndesis/issues/3174","id":344180753,"node_id":"MDU6SXNzdWUzNDQxODA3NTM=","number":3174,"title":"Apicurio Editor: URL-fetched specification not supported","user":{"login":"kahboom","id":3844502,"node_id":"MDQ6VXNlcjM4NDQ1MDI=","avatar_url":"https://avatars3.githubusercontent.com/u/3844502?v=4","gravatar_id":"","url":"https://api.github.com/users/kahboom","html_url":"https://github.com/kahboom","followers_url":"https://api.github.com/users/kahboom/followers","following_url":"https://api.github.com/users/kahboom/following{/other_user}","gists_url":"https://api.github.com/users/kahboom/gists{/gist_id}","starred_url":"https://api.github.com/users/kahboom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kahboom/subscriptions","organizations_url":"https://api.github.com/users/kahboom/orgs","repos_url":"https://api.github.com/users/kahboom/repos","events_url":"https://api.github.com/users/kahboom/events{/privacy}","received_events_url":"https://api.github.com/users/kahboom/received_events","type":"User","site_admin":false},"labels":[{"id":751428603,"node_id":"MDU6TGFiZWw3NTE0Mjg2MDM=","url":"https://api.github.com/repos/syndesisio/syndesis/labels/cat/bug","name":"cat/bug","color":"e08891","default":false},{"id":751428754,"node_id":"MDU6TGFiZWw3NTE0Mjg3NTQ=","url":"https://api.github.com/repos/syndesisio/syndesis/labels/group/ui","name":"group/ui","color":"dce6f0","default":false},{"id":751428831,"node_id":"MDU6TGFiZWw3NTE0Mjg4MzE=","url":"https://api.github.com/repos/syndesisio/syndesis/labels/prio/p0","name":"prio/p0","color":"f85963","default":false}],"state":"open","locked":false,"assignee":{"login":"elvisisking","id":557336,"node_id":"MDQ6VXNlcjU1NzMzNg==","avatar_url":"https://avatars2.githubusercontent.com/u/557336?v=4","gravatar_id":"","url":"https://api.github.com/users/elvisisking","html_url":"https://github.com/elvisisking","followers_url":"https://api.github.com/users/elvisisking/followers","following_url":"https://api.github.com/users/elvisisking/following{/other_user}","gists_url":"https://api.github.com/users/elvisisking/gists{/gist_id}","starred_url":"https://api.github.com/users/elvisisking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elvisisking/subscriptions","organizations_url":"https://api.github.com/users/elvisisking/orgs","repos_url":"https://api.github.com/users/elvisisking/repos","events_url":"https://api.github.com/users/elvisisking/events{/privacy}","received_events_url":"https://api.github.com/users/elvisisking/received_events","type":"User","site_admin":false},"assignees":[{"login":"elvisisking","id":557336,"node_id":"MDQ6VXNlcjU1NzMzNg==","avatar_url":"https://avatars2.githubusercontent.com/u/557336?v=4","gravatar_id":"","url":"https://api.github.com/users/elvisisking","html_url":"https://github.com/elvisisking","followers_url":"https://api.github.com/users/elvisisking/followers","following_url":"https://api.github.com/users/elvisisking/following{/other_user}","gists_url":"https://api.github.com/users/elvisisking/gists{/gist_id}","starred_url":"https://api.github.com/users/elvisisking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elvisisking/subscriptions","organizations_url":"https://api.github.com/users/elvisisking/orgs","repos_url":"https://api.github.com/users/elvisisking/repos","events_url":"https://api.github.com/users/elvisisking/events{/privacy}","received_events_url":"https://api.github.com/users/elvisisking/received_events","type":"User","site_admin":false},{"login":"kahboom","id":3844502,"node_id":"MDQ6VXNlcjM4NDQ1MDI=","avatar_url":"https://avatars3.githubusercontent.com/u/3844502?v=4","gravatar_id":"","url":"https://api.github.com/users/kahboom","html_url":"https://github.com/kahboom","followers_url":"https://api.github.com/users/kahboom/followers","following_url":"https://api.github.com/users/kahboom/following{/other_user}","gists_url":"https://api.github.com/users/kahboom/gists{/gist_id}","starred_url":"https://api.github.com/users/kahboom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kahboom/subscriptions","organizations_url":"https://api.github.com/users/kahboom/orgs","repos_url":"https://api.github.com/users/kahboom/repos","events_url":"https://api.github.com/users/kahboom/events{/privacy}","received_events_url":"https://api.github.com/users/kahboom/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/syndesisio/syndesis/milestones/17","html_url":"https://github.com/syndesisio/syndesis/milestone/17","labels_url":"https://api.github.com/repos/syndesisio/syndesis/milestones/17/labels","id":3381372,"node_id":"MDk6TWlsZXN0b25lMzM4MTM3Mg==","number":17,"title":"Sprint 32 (4/5)","description":"","creator":{"login":"paoloantinori","id":1520602,"node_id":"MDQ6VXNlcjE1MjA2MDI=","avatar_url":"https://avatars3.githubusercontent.com/u/1520602?v=4","gravatar_id":"","url":"https://api.github.com/users/paoloantinori","html_url":"https://github.com/paoloantinori","followers_url":"https://api.github.com/users/paoloantinori/followers","following_url":"https://api.github.com/users/paoloantinori/following{/other_user}","gists_url":"https://api.github.com/users/paoloantinori/gists{/gist_id}","starred_url":"https://api.github.com/users/paoloantinori/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paoloantinori/subscriptions","organizations_url":"https://api.github.com/users/paoloantinori/orgs","repos_url":"https://api.github.com/users/paoloantinori/repos","events_url":"https://api.github.com/users/paoloantinori/events{/privacy}","received_events_url":"https://api.github.com/users/paoloantinori/received_events","type":"User","site_admin":false},"open_issues":32,"closed_issues":66,"state":"open","created_at":"2018-05-28T15:23:18Z","updated_at":"2018-08-01T22:06:24Z","due_on":"2018-08-05T07:00:00Z","closed_at":null},"comments":5,"created_at":"2018-07-24T19:55:33Z","updated_at":"2018-08-02T07:04:55Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"## This is a...\r\n<!-- Check ONLY one of the following options with \"x\" -->\r\n<pre><code>\r\n[ ] Feature request\r\n[ ] Regression (a behavior that used to work and stopped working in a new release)\r\n[ x ] Bug report  <!-- Please search GitHub for a similar issue or PR before submitting -->\r\n[ ] Documentation issue or request\r\n</code></pre>\r\n\r\n\r\n## The problem\r\nSpecifications should be treated differently based on how they are obtained (e.g. URL fetch or file upload), due to the data structure. See [here](https://gist.github.com/kahboom/9f9e606df271b49973bf7337de3ed0d1) for reference. This is related to #3096.\r\n\r\nWhen a URL is specified, the user can then proceed to Review/Edit from the Review Actions step (2), but the editor is blank, as if a blank specification had been provided.\r\n\r\n\r\n\r\n## Expected behavior\r\nUser should be able to either upload a file or specify a URL for the Swagger/OpenAPI spec and see the details of it in the Review/Edit Apicurio editor.\r\n\r\n## Screenshot\r\n<img width=\"1680\" alt=\"screenshot 2018-08-01 12 38 31\" src=\"https://user-images.githubusercontent.com/3844502/43535535-49e0c8f0-9588-11e8-905f-d8057605e591.png\">\r\n\r\n\r\n\r\n## Request and Response Data\r\nSee [here](https://gist.github.com/kahboom/9f9e606df271b49973bf7337de3ed0d1) for reference.\r\n\r\n\r\n## Tasks involved / Steps to Reproduce\r\n1. Navigate to Customizations.\r\n2. Proceed as if you were creating a custom API connector, except select the URL option.\r\n3. Test with any valid Swagger/OpenAPI URL.\r\n4. You should see an error.\r\n"},"comment":{"url":"https://api.github.com/repos/syndesisio/syndesis/issues/comments/409827805","html_url":"https://github.com/syndesisio/syndesis/issues/3174#issuecomment-409827805","issue_url":"https://api.github.com/repos/syndesisio/syndesis/issues/3174","id":409827805,"node_id":"MDEyOklzc3VlQ29tbWVudDQwOTgyNzgwNQ==","user":{"login":"zregvart","id":1306050,"node_id":"MDQ6VXNlcjEzMDYwNTA=","avatar_url":"https://avatars0.githubusercontent.com/u/1306050?v=4","gravatar_id":"","url":"https://api.github.com/users/zregvart","html_url":"https://github.com/zregvart","followers_url":"https://api.github.com/users/zregvart/followers","following_url":"https://api.github.com/users/zregvart/following{/other_user}","gists_url":"https://api.github.com/users/zregvart/gists{/gist_id}","starred_url":"https://api.github.com/users/zregvart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zregvart/subscriptions","organizations_url":"https://api.github.com/users/zregvart/orgs","repos_url":"https://api.github.com/users/zregvart/repos","events_url":"https://api.github.com/users/zregvart/events{/privacy}","received_events_url":"https://api.github.com/users/zregvart/received_events","type":"User","site_admin":false},"created_at":"2018-08-02T07:04:55Z","updated_at":"2018-08-02T07:04:55Z","author_association":"COLLABORATOR","body":"> I'm having a hard time tracking this down @zregvart. I think when the UI validates a URL spec, it seems like we get back an ApiConnectorData object, which I think is created from the ConnectorSummary server-side object. The result includes the actions but not the spec. But maybe I'm not tracking this down right. Any ideas?\r\n\r\nIt's a feature™. The backend will not resolve the URL in `specification` until the final step of the wizard. If we need to pass the JSON/YAML content of the OpenAPI specification pointed by the user provided URL to Apicurio -- the UI will need to load it.\r\n\r\nThere is a bit of documentation about this in the [design proposal](https://github.com/syndesisio/syndesis/blob/master/project/proposals/119-custom-connectors.md)."}}
{"actor":{"display_login":"zregvart"}}