{"action":"created","issue":{"url":"https://api.github.com/repos/ligaDATA/Kamanja/issues/897","labels_url":"https://api.github.com/repos/ligaDATA/Kamanja/issues/897/labels{/name}","comments_url":"https://api.github.com/repos/ligaDATA/Kamanja/issues/897/comments","events_url":"https://api.github.com/repos/ligaDATA/Kamanja/issues/897/events","html_url":"https://github.com/ligaDATA/Kamanja/issues/897","id":125667385,"number":897,"title":"Updated Model Dependency Jars are not uploading to datastore when Java/Scala model got updated","user":{"login":"ligadata-pokuri","id":8701908,"avatar_url":"https://avatars.githubusercontent.com/u/8701908?v=3","gravatar_id":"","url":"https://api.github.com/users/ligadata-pokuri","html_url":"https://github.com/ligadata-pokuri","followers_url":"https://api.github.com/users/ligadata-pokuri/followers","following_url":"https://api.github.com/users/ligadata-pokuri/following{/other_user}","gists_url":"https://api.github.com/users/ligadata-pokuri/gists{/gist_id}","starred_url":"https://api.github.com/users/ligadata-pokuri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ligadata-pokuri/subscriptions","organizations_url":"https://api.github.com/users/ligadata-pokuri/orgs","repos_url":"https://api.github.com/users/ligadata-pokuri/repos","events_url":"https://api.github.com/users/ligadata-pokuri/events{/privacy}","received_events_url":"https://api.github.com/users/ligadata-pokuri/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ligaDATA/Kamanja/labels/Bug","name":"Bug","color":"fc2929"},{"url":"https://api.github.com/repos/ligaDATA/Kamanja/labels/P2","name":"P2","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"ligadata-ahmad","id":8803454,"avatar_url":"https://avatars.githubusercontent.com/u/8803454?v=3","gravatar_id":"","url":"https://api.github.com/users/ligadata-ahmad","html_url":"https://github.com/ligadata-ahmad","followers_url":"https://api.github.com/users/ligadata-ahmad/followers","following_url":"https://api.github.com/users/ligadata-ahmad/following{/other_user}","gists_url":"https://api.github.com/users/ligadata-ahmad/gists{/gist_id}","starred_url":"https://api.github.com/users/ligadata-ahmad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ligadata-ahmad/subscriptions","organizations_url":"https://api.github.com/users/ligadata-ahmad/orgs","repos_url":"https://api.github.com/users/ligadata-ahmad/repos","events_url":"https://api.github.com/users/ligadata-ahmad/events{/privacy}","received_events_url":"https://api.github.com/users/ligadata-ahmad/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-01-08T18:35:38Z","updated_at":"2016-01-12T21:46:01Z","closed_at":null,"body":"Steps to repro\r\n\r\n1. Add Java/Scala model with dependency jar\r\n2. Modify Dependency jar\r\n3. Update Java/Scala model with the updated dependency jar in configuration file\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ligaDATA/Kamanja/issues/comments/171068173","html_url":"https://github.com/ligaDATA/Kamanja/issues/897#issuecomment-171068173","issue_url":"https://api.github.com/repos/ligaDATA/Kamanja/issues/897","id":171068173,"user":{"login":"ligadata-ahmad","id":8803454,"avatar_url":"https://avatars.githubusercontent.com/u/8803454?v=3","gravatar_id":"","url":"https://api.github.com/users/ligadata-ahmad","html_url":"https://github.com/ligadata-ahmad","followers_url":"https://api.github.com/users/ligadata-ahmad/followers","following_url":"https://api.github.com/users/ligadata-ahmad/following{/other_user}","gists_url":"https://api.github.com/users/ligadata-ahmad/gists{/gist_id}","starred_url":"https://api.github.com/users/ligadata-ahmad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ligadata-ahmad/subscriptions","organizations_url":"https://api.github.com/users/ligadata-ahmad/orgs","repos_url":"https://api.github.com/users/ligadata-ahmad/repos","events_url":"https://api.github.com/users/ligadata-ahmad/events{/privacy}","received_events_url":"https://api.github.com/users/ligadata-ahmad/received_events","type":"User","site_admin":false},"created_at":"2016-01-12T21:46:01Z","updated_at":"2016-01-12T21:46:01Z","body":"The reason of the issue is that each time we start  MetadataAPI we check if the jar doesn't not exist in /lib/application or if there is a difference in size between what we have in  /lib/application  and what we have in DB  then we download the jar from db.\r\n\r\nThen when updating the model we check again if we need to upload new jar to db or not , at this moment the result is  no need to upload because it is the same jar."}}