{"action":"created","issue":{"url":"https://api.github.com/repos/unicesi/amelia/issues/36","repository_url":"https://api.github.com/repos/unicesi/amelia","labels_url":"https://api.github.com/repos/unicesi/amelia/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/unicesi/amelia/issues/36/comments","events_url":"https://api.github.com/repos/unicesi/amelia/issues/36/events","html_url":"https://github.com/unicesi/amelia/issues/36","id":171732553,"number":36,"title":"Problem with deployment of multiple instances of a single subsystem","user":{"login":"lfrivera","id":20957015,"avatar_url":"https://avatars.githubusercontent.com/u/20957015?v=3","gravatar_id":"","url":"https://api.github.com/users/lfrivera","html_url":"https://github.com/lfrivera","followers_url":"https://api.github.com/users/lfrivera/followers","following_url":"https://api.github.com/users/lfrivera/following{/other_user}","gists_url":"https://api.github.com/users/lfrivera/gists{/gist_id}","starred_url":"https://api.github.com/users/lfrivera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lfrivera/subscriptions","organizations_url":"https://api.github.com/users/lfrivera/orgs","repos_url":"https://api.github.com/users/lfrivera/repos","events_url":"https://api.github.com/users/lfrivera/events{/privacy}","received_events_url":"https://api.github.com/users/lfrivera/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/unicesi/amelia/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/unicesi/amelia/labels/scope:language","name":"scope:language","color":"c2e0c6"}],"state":"closed","locked":false,"assignee":{"login":"jachinte","id":1284036,"avatar_url":"https://avatars.githubusercontent.com/u/1284036?v=3","gravatar_id":"","url":"https://api.github.com/users/jachinte","html_url":"https://github.com/jachinte","followers_url":"https://api.github.com/users/jachinte/followers","following_url":"https://api.github.com/users/jachinte/following{/other_user}","gists_url":"https://api.github.com/users/jachinte/gists{/gist_id}","starred_url":"https://api.github.com/users/jachinte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jachinte/subscriptions","organizations_url":"https://api.github.com/users/jachinte/orgs","repos_url":"https://api.github.com/users/jachinte/repos","events_url":"https://api.github.com/users/jachinte/events{/privacy}","received_events_url":"https://api.github.com/users/jachinte/received_events","type":"User","site_admin":false},"assignees":[{"login":"jachinte","id":1284036,"avatar_url":"https://avatars.githubusercontent.com/u/1284036?v=3","gravatar_id":"","url":"https://api.github.com/users/jachinte","html_url":"https://github.com/jachinte","followers_url":"https://api.github.com/users/jachinte/followers","following_url":"https://api.github.com/users/jachinte/following{/other_user}","gists_url":"https://api.github.com/users/jachinte/gists{/gist_id}","starred_url":"https://api.github.com/users/jachinte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jachinte/subscriptions","organizations_url":"https://api.github.com/users/jachinte/orgs","repos_url":"https://api.github.com/users/jachinte/repos","events_url":"https://api.github.com/users/jachinte/events{/privacy}","received_events_url":"https://api.github.com/users/jachinte/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-08-17T18:51:54Z","updated_at":"2016-09-04T19:56:30Z","closed_at":"2016-09-04T19:54:40Z","body":"Hi,\r\n\r\nI am having a problem when my deployment specification requires many instances of a single subsystem. Apparently, the dependencies between subsystems are not being fulfilled at runtime. The following example describes the situation mentioned previously:\r\n\r\nI have a subsystem called \"Monitors\", which implementation is shown below:\r\n\r\n`depends on Run_Bridge_Intermediate_Server\r\n\r\nsubsystem Monitors\r\n{\r\n\tparam Host host\r\n\tparam String name  \r\n\t\r\n\ton host\r\n\t{\r\n\t\tdirectory:\r\n\t\t\tcd \"/home/carvajal/Documents/carvajal/\"\r\n\t\t\t\r\n\t\texecute:directory;\r\n\r\n\t\t\trun \"memory-monitor\" -libpath #[\r\n\t\t\t\t\t\"jars/monitoring.jar\",\r\n\t\t\t\t\t\"lib/org.pascani.dsl.lib-0.0.1-SNAPSHOT-dependencies.jar\",\r\n\t\t\t\t\t\"lib/new-personalized-events-with-carvajal.jar\",\r\n\t\t\t\t\t\"lib/slf4j-api-1.7.10.jar\",\r\n\t\t\t\t\t\"lib/sigar.jar\"\r\n\t\t\t\t] -s \"startMemoryMonitor\" -m \"startMemoryMonitoring\" -p name\r\n\t}\r\n\t\r\n}`\r\n\r\nI also have a subsystem called \"JMeter_Restore\" that depends on the execution of all monitors, and in my deployment specification, I instantiate each \"monitor\" as following:\r\n\r\n`for(i: 1..1)\r\n\t{\r\n\t\tdeployHelper.deploy([\r\n\t\t\t\r\n\t\t\tadd(new Monitors(consumHost1,\"consum1\"))\r\n\t\t\tadd(new Monitors(consumHost2,\"consum2\"))\r\n\t\t\tadd(new Monitors(consumHost3,\"consum3\"))\r\n\t\t\tadd(new Monitors(consumHost4,\"consum4\"))\r\n                        \r\n\t\t\tadd(new JMeter_Restore(hostJmeter, \"XML-REST-1MB.jmx\",hostBD))\r\n\t\t\tstart(true) \r\n\t\t\t\r\n\t\t],3)\r\n\t}`\r\n\r\nNevertheless, only the first monitor is being deployed and the subsystem \"JMeter_Restore\" is deployed even when not all monitors were deployed.\r\n\r\nI really appreciate your help on this issue,\r\n\r\nWarm regards,\r\n\r\nFelipe Rivera"},"comment":{"url":"https://api.github.com/repos/unicesi/amelia/issues/comments/244625121","html_url":"https://github.com/unicesi/amelia/issues/36#issuecomment-244625121","issue_url":"https://api.github.com/repos/unicesi/amelia/issues/36","id":244625121,"user":{"login":"jachinte","id":1284036,"avatar_url":"https://avatars.githubusercontent.com/u/1284036?v=3","gravatar_id":"","url":"https://api.github.com/users/jachinte","html_url":"https://github.com/jachinte","followers_url":"https://api.github.com/users/jachinte/followers","following_url":"https://api.github.com/users/jachinte/following{/other_user}","gists_url":"https://api.github.com/users/jachinte/gists{/gist_id}","starred_url":"https://api.github.com/users/jachinte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jachinte/subscriptions","organizations_url":"https://api.github.com/users/jachinte/orgs","repos_url":"https://api.github.com/users/jachinte/repos","events_url":"https://api.github.com/users/jachinte/events{/privacy}","received_events_url":"https://api.github.com/users/jachinte/received_events","type":"User","site_admin":false},"created_at":"2016-09-04T19:56:30Z","updated_at":"2016-09-04T19:56:30Z","body":"Hi @lfrivera,\r\nCould you please try again? "}}
{"actor":{"display_login":"jachinte"}}