{"action":"created","issue":{"url":"https://api.github.com/repos/apache/cloudstack/issues/1341","labels_url":"https://api.github.com/repos/apache/cloudstack/issues/1341/labels{/name}","comments_url":"https://api.github.com/repos/apache/cloudstack/issues/1341/comments","events_url":"https://api.github.com/repos/apache/cloudstack/issues/1341/events","html_url":"https://github.com/apache/cloudstack/pull/1341","id":126664545,"number":1341,"title":"CLOUDSTACK-9238: Increase URL fields to 2048 charachters from 255","user":{"login":"wido","id":326786,"avatar_url":"https://avatars.githubusercontent.com/u/326786?v=3","gravatar_id":"","url":"https://api.github.com/users/wido","html_url":"https://github.com/wido","followers_url":"https://api.github.com/users/wido/followers","following_url":"https://api.github.com/users/wido/following{/other_user}","gists_url":"https://api.github.com/users/wido/gists{/gist_id}","starred_url":"https://api.github.com/users/wido/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wido/subscriptions","organizations_url":"https://api.github.com/users/wido/orgs","repos_url":"https://api.github.com/users/wido/repos","events_url":"https://api.github.com/users/wido/events{/privacy}","received_events_url":"https://api.github.com/users/wido/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-01-14T14:27:32Z","updated_at":"2016-01-16T21:27:23Z","closed_at":"2016-01-16T18:37:37Z","pull_request":{"url":"https://api.github.com/repos/apache/cloudstack/pulls/1341","html_url":"https://github.com/apache/cloudstack/pull/1341","diff_url":"https://github.com/apache/cloudstack/pull/1341.diff","patch_url":"https://github.com/apache/cloudstack/pull/1341.patch"},"body":"255 characters is to small for various URLs like S3 pre-signed URLs.\r\n\r\nThis causes one or more characters to be chopped of the end of the URL\r\nand this renders them useless.\r\n\r\nInternally in the code all URLs are passed as Strings and they are not\r\nsized limited. This was purely in the database.\r\n\r\nOther URL fields in the database were already 2048 characters.\r\n\r\nThis limit was introduced in the 4.1 to 4.2 upgrade when Object storage\r\nlike S3 and Swift was introduced in CloudStack for Secondary Storage."},"comment":{"url":"https://api.github.com/repos/apache/cloudstack/issues/comments/172259203","html_url":"https://github.com/apache/cloudstack/pull/1341#issuecomment-172259203","issue_url":"https://api.github.com/repos/apache/cloudstack/issues/1341","id":172259203,"user":{"login":"wido","id":326786,"avatar_url":"https://avatars.githubusercontent.com/u/326786?v=3","gravatar_id":"","url":"https://api.github.com/users/wido","html_url":"https://github.com/wido","followers_url":"https://api.github.com/users/wido/followers","following_url":"https://api.github.com/users/wido/following{/other_user}","gists_url":"https://api.github.com/users/wido/gists{/gist_id}","starred_url":"https://api.github.com/users/wido/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wido/subscriptions","organizations_url":"https://api.github.com/users/wido/orgs","repos_url":"https://api.github.com/users/wido/repos","events_url":"https://api.github.com/users/wido/events{/privacy}","received_events_url":"https://api.github.com/users/wido/received_events","type":"User","site_admin":false},"created_at":"2016-01-16T21:27:23Z","updated_at":"2016-01-16T21:27:23Z","body":"Thanks @remibergsma !\r\n\r\nThat is the same reasoning as @kevindierkx and me had while looking into this. We went for 2k for now as it seems to match almost 100% of the use cases."}}