{"action":"created","issue":{"url":"https://api.github.com/repos/franca/franca/issues/158","labels_url":"https://api.github.com/repos/franca/franca/issues/158/labels{/name}","comments_url":"https://api.github.com/repos/franca/franca/issues/158/comments","events_url":"https://api.github.com/repos/franca/franca/issues/158/events","html_url":"https://github.com/franca/franca/issues/158","id":101467973,"number":158,"title":"No negative values for integer deployment definition values possible","user":{"login":"redcatbear","id":584162,"avatar_url":"https://avatars.githubusercontent.com/u/584162?v=3","gravatar_id":"","url":"https://api.github.com/users/redcatbear","html_url":"https://github.com/redcatbear","followers_url":"https://api.github.com/users/redcatbear/followers","following_url":"https://api.github.com/users/redcatbear/following{/other_user}","gists_url":"https://api.github.com/users/redcatbear/gists{/gist_id}","starred_url":"https://api.github.com/users/redcatbear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redcatbear/subscriptions","organizations_url":"https://api.github.com/users/redcatbear/orgs","repos_url":"https://api.github.com/users/redcatbear/repos","events_url":"https://api.github.com/users/redcatbear/events{/privacy}","received_events_url":"https://api.github.com/users/redcatbear/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/franca/franca/milestones/2","html_url":"https://github.com/franca/franca/milestones/v0.10.1","labels_url":"https://api.github.com/repos/franca/franca/milestones/2/labels","id":1364633,"number":2,"title":"v0.10.1","description":"","creator":{"login":"kbirken","id":1193045,"avatar_url":"https://avatars.githubusercontent.com/u/1193045?v=3","gravatar_id":"","url":"https://api.github.com/users/kbirken","html_url":"https://github.com/kbirken","followers_url":"https://api.github.com/users/kbirken/followers","following_url":"https://api.github.com/users/kbirken/following{/other_user}","gists_url":"https://api.github.com/users/kbirken/gists{/gist_id}","starred_url":"https://api.github.com/users/kbirken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbirken/subscriptions","organizations_url":"https://api.github.com/users/kbirken/orgs","repos_url":"https://api.github.com/users/kbirken/repos","events_url":"https://api.github.com/users/kbirken/events{/privacy}","received_events_url":"https://api.github.com/users/kbirken/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":3,"state":"open","created_at":"2015-10-19T19:11:45Z","updated_at":"2015-10-26T16:53:52Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-08-17T17:18:04Z","updated_at":"2015-10-27T12:06:21Z","closed_at":null,"body":"# Situation\r\nWhen trying to define a negative value for a deployment attribute that is defined as \"Integer\", negative values are rejected. The type \"Integer\" suggest that negative values should be allowed otherwise \"UnsignedInteger\" would be more clear.\r\n\r\n# Expected behavior\r\nPositive and negative integer values are accepted\r\n\r\n# Actual behavior\r\nOnly positive values and zero are accepted\r\n\r\n# Environment:\r\nFranca Runtime 010.0.201507291433\r\nFranca UI 010.0.201507291433\r\nEclipse JEE 4.5.0.20150621-1200\r\nUbuntu Linux 15.04, 64 bit\r\n\r\n# Steps to reproduce\r\n1. FIDL: define a \"typedef Foobar\"\r\n2. FDEPL: in \"specification\" define \"for typedefs { Code : Integer }\"\r\n3. FDEPL: \"typedef Foobar { Code = -1 }\""},"comment":{"url":"https://api.github.com/repos/franca/franca/issues/comments/151470191","html_url":"https://github.com/franca/franca/issues/158#issuecomment-151470191","issue_url":"https://api.github.com/repos/franca/franca/issues/158","id":151470191,"user":{"login":"kbirken","id":1193045,"avatar_url":"https://avatars.githubusercontent.com/u/1193045?v=3","gravatar_id":"","url":"https://api.github.com/users/kbirken","html_url":"https://github.com/kbirken","followers_url":"https://api.github.com/users/kbirken/followers","following_url":"https://api.github.com/users/kbirken/following{/other_user}","gists_url":"https://api.github.com/users/kbirken/gists{/gist_id}","starred_url":"https://api.github.com/users/kbirken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbirken/subscriptions","organizations_url":"https://api.github.com/users/kbirken/orgs","repos_url":"https://api.github.com/users/kbirken/repos","events_url":"https://api.github.com/users/kbirken/events{/privacy}","received_events_url":"https://api.github.com/users/kbirken/received_events","type":"User","site_admin":false},"created_at":"2015-10-27T12:06:21Z","updated_at":"2015-10-27T12:06:21Z","body":"Commit b3dfe55 on branch develop now allows Integer properties in deployment models to have negative values. Closing ticket.\r\n\r\nRemark: It might be required in future to introduce an \"Unsigned\" type or to allow the possibility to specify ranges for the Integer type in deployment (analog to the ranged Integer type in fidl models)."}}