├── core ├── roboconf-core │ ├── src │ │ ├── test │ │ │ └── resources │ │ │ │ ├── configurations │ │ │ │ ├── valid │ │ │ │ │ ├── only-component-1.graph │ │ │ │ │ ├── only-facet-1.graph │ │ │ │ │ ├── only-import-1.graph │ │ │ │ │ ├── only-component-2.graph │ │ │ │ │ ├── only-import-2.graph │ │ │ │ │ ├── commented-facet-1.graph │ │ │ │ │ ├── simple-installer.graph │ │ │ │ │ ├── commented-import-1.graph │ │ │ │ │ ├── commented-component-1.graph │ │ │ │ │ ├── only-facet-2.graph │ │ │ │ │ ├── instance-single-n-simple.instances │ │ │ │ │ ├── only-import-3.graph │ │ │ │ │ ├── component-optional-imports.graph │ │ │ │ │ ├── commented-import-2.graph │ │ │ │ │ ├── component-external-imports.graph │ │ │ │ │ ├── instance-with-extra-data.instances │ │ │ │ │ ├── instance-imbricated-1.instances │ │ │ │ │ ├── commented-facet-2.graph │ │ │ │ │ ├── commented-component-2.graph │ │ │ │ │ ├── facet-as-child.graph │ │ │ │ │ ├── component-with-complex-variables-values.graph │ │ │ │ │ ├── special-names.graph │ │ │ │ │ ├── instance-with-space-after.instances │ │ │ │ │ ├── single-runtime-instance.instances │ │ │ │ │ ├── only-component-3.graph │ │ │ │ │ ├── component-with-random-ports.graph │ │ │ │ │ ├── instance-single.instances │ │ │ │ │ ├── commented-import-3.graph │ │ │ │ │ ├── only-facet-3.graph │ │ │ │ │ ├── extending-component-with-imported-variables.graph │ │ │ │ │ ├── instance-imbricated-2.instances │ │ │ │ │ ├── component-with-complex-variables-values2.graph │ │ │ │ │ ├── complex-hierarchy.graph │ │ │ │ │ ├── instance-overridden-exports.instances │ │ │ │ │ ├── real-lamp-facets.graph │ │ │ │ │ ├── instance-with-complex-quoted-values.instances │ │ │ │ │ ├── only-component-4.graph │ │ │ │ │ ├── commented-component-3.graph │ │ │ │ │ ├── commented-facet-3.graph │ │ │ │ │ ├── n-medium-instances.instances │ │ │ │ │ ├── instance-imbricated-3.instances │ │ │ │ │ ├── complex-instances.instances │ │ │ │ │ ├── n-instances.instances │ │ │ │ │ ├── instance-multiple.instances │ │ │ │ │ ├── graph-with-wildcards.graph │ │ │ │ │ ├── real-lamp-components.graph │ │ │ │ │ ├── app-template-descriptor.properties │ │ │ │ │ ├── real-lamp-all-in-one.graph │ │ │ │ │ └── real-lamp-all-in-one-flex.graph │ │ │ │ ├── flexibles │ │ │ │ │ ├── one-component-no-property.graph │ │ │ │ │ ├── one-partial-component-no-property.graph │ │ │ │ │ ├── two-components-no-property.graph │ │ │ │ │ └── many-components-no-property.graph │ │ │ │ └── invalid │ │ │ │ │ ├── facet-missing-closing-cb.graph │ │ │ │ │ ├── facet-missing-opening-cb.graph │ │ │ │ │ ├── component-invalid-property.graph │ │ │ │ │ ├── facet-invalid-property.graph │ │ │ │ │ ├── component-missing-closing-cb.graph │ │ │ │ │ ├── component-missing-opening-cb.graph │ │ │ │ │ ├── instanceof-missing-closing-cb.instances │ │ │ │ │ ├── instanceof-missing-opening-cb.instances │ │ │ │ │ ├── component-extra-char.graph │ │ │ │ │ ├── component-invalid-end.graph │ │ │ │ │ ├── facet-line-number.graph │ │ │ │ │ ├── inexisting-child-in-facet.graph │ │ │ │ │ ├── instanceof-invalid-property.instances │ │ │ │ │ ├── component-extends-inexisting-component.graph │ │ │ │ │ ├── facet-extra-char.graph │ │ │ │ │ ├── component-line-number.graph │ │ │ │ │ ├── facet-invalid-end.graph │ │ │ │ │ ├── instanceof-extra-char.instances │ │ │ │ │ ├── instanceof-line-number.instances │ │ │ │ │ ├── unresolved-facet.graph │ │ │ │ │ ├── component-duplicate-property.graph │ │ │ │ │ ├── inexisting-child-in-component.graph │ │ │ │ │ ├── instanceof-invalid-end.instances │ │ │ │ │ ├── unresolved-extended-facet.graph │ │ │ │ │ ├── graph-with-invalid-import.graph │ │ │ │ │ ├── component-self-imports.graph │ │ │ │ │ ├── instanceof-invalid-property-2.instances │ │ │ │ │ ├── instances-with-inexisting-import.instances │ │ │ │ │ ├── instanceof-imbricated-missing-closing-cb.instances │ │ │ │ │ ├── instanceof-imbricated-missing-opening-cb.instances │ │ │ │ │ ├── component-with-invalid-random-port-value.graph │ │ │ │ │ ├── conflicting-names.graph │ │ │ │ │ ├── instanceof-imbricated-invalid-property.instances │ │ │ │ │ ├── component-inexisting-children.graph │ │ │ │ │ ├── component-with-invalid-random-port.graph │ │ │ │ │ ├── instanceof-imbricated-extra-char.instances │ │ │ │ │ ├── external-is-keyword-for-imports.graph │ │ │ │ │ ├── unresolvable-facet.graph │ │ │ │ │ ├── mix.txt │ │ │ │ │ ├── instanceof-imbricated-invalid-end.instances │ │ │ │ │ ├── instanceof-very-imbricated-invalid-property.instances │ │ │ │ │ ├── instanceof-very-imbricated-missing-closing-cb.instances │ │ │ │ │ ├── duplicate-component.graph │ │ │ │ │ ├── instanceof-very-imbricated-missing-opening-cb.instances │ │ │ │ │ ├── instanceof-very-imbricated-extra-char.instances │ │ │ │ │ ├── instanceof-very-imbricated-invalid-end.instances │ │ │ │ │ ├── duplicate-instance.instances │ │ │ │ │ ├── inexisting-component.instances │ │ │ │ │ ├── facet-without-component.graph │ │ │ │ │ ├── graph-with-invalid-case-imports.graph │ │ │ │ │ ├── component-with-quoted-values.graph │ │ │ │ │ ├── component-inexisting-child-facet.graph │ │ │ │ │ ├── duplicate-facet.graph │ │ │ │ │ ├── cycle-in-facet.graph │ │ │ │ │ ├── graph-with-wildcards-and-errors.graph │ │ │ │ │ ├── broken-graph-1.graph │ │ │ │ │ ├── broken-graph-2.graph │ │ │ │ │ └── instanceof-name-conflict-with-count.instances │ │ │ │ ├── reusable.recipe │ │ │ │ └── graph │ │ │ │ │ ├── Apache-mjk-latest │ │ │ │ │ └── readme │ │ │ │ │ └── main.graph │ │ │ │ ├── rules.autonomic │ │ │ │ ├── invalid-rule.drl │ │ │ │ ├── incomplete-rule.drl │ │ │ │ ├── simple-rule.drl │ │ │ │ ├── rule-with-time-constraints.drl │ │ │ │ ├── rule-with-comments.drl │ │ │ │ └── rule-with-comments-2.drl │ │ │ │ ├── reusable.recipe.with.errors.1 │ │ │ │ └── graph │ │ │ │ │ ├── Apache-mjk-latest │ │ │ │ │ └── readme │ │ │ │ │ └── main.graph │ │ │ │ ├── applications │ │ │ │ ├── lamp │ │ │ │ │ ├── rules.autonomic │ │ │ │ │ │ └── sample.drl │ │ │ │ │ ├── commands │ │ │ │ │ │ └── scale.commands │ │ │ │ │ ├── descriptor │ │ │ │ │ │ └── application.properties │ │ │ │ │ ├── instances │ │ │ │ │ │ └── initial-deployment.instances │ │ │ │ │ └── graph │ │ │ │ │ │ └── lamp.graph │ │ │ │ ├── root-exporting-variables │ │ │ │ │ ├── graph │ │ │ │ │ │ ├── VM │ │ │ │ │ │ │ └── target.properties │ │ │ │ │ │ └── example.graph │ │ │ │ │ ├── instances │ │ │ │ │ │ └── example.instances │ │ │ │ │ └── descriptor │ │ │ │ │ │ └── application.properties │ │ │ │ ├── lamp-legacy-with-facets-and-so-on │ │ │ │ │ ├── graph │ │ │ │ │ │ ├── VM │ │ │ │ │ │ │ └── target.properties │ │ │ │ │ │ ├── reusables │ │ │ │ │ │ │ └── commons.graph │ │ │ │ │ │ ├── aggregator.graph │ │ │ │ │ │ ├── facets.graph │ │ │ │ │ │ └── lamp.graph │ │ │ │ │ ├── descriptor │ │ │ │ │ │ └── application.properties │ │ │ │ │ └── instances │ │ │ │ │ │ ├── others.instances │ │ │ │ │ │ └── initial.instances │ │ │ │ ├── simple │ │ │ │ │ ├── graph │ │ │ │ │ │ ├── VM │ │ │ │ │ │ │ └── target.properties │ │ │ │ │ │ └── simple.graph │ │ │ │ │ ├── instances │ │ │ │ │ │ └── initial.instances │ │ │ │ │ └── descriptor │ │ │ │ │ │ └── application.properties │ │ │ │ ├── app-with-random-ports │ │ │ │ │ ├── instances │ │ │ │ │ │ └── initial.instances │ │ │ │ │ ├── descriptor │ │ │ │ │ │ └── application.properties │ │ │ │ │ └── graph │ │ │ │ │ │ └── main.graph │ │ │ │ ├── app-for-templates │ │ │ │ │ ├── descriptor │ │ │ │ │ │ └── application.properties │ │ │ │ │ ├── instances │ │ │ │ │ │ └── example.instances │ │ │ │ │ └── graph │ │ │ │ │ │ └── example.graph │ │ │ │ ├── component-extensions │ │ │ │ │ ├── descriptor │ │ │ │ │ │ └── application.properties │ │ │ │ │ ├── graph │ │ │ │ │ │ └── main.graph │ │ │ │ │ └── instances │ │ │ │ │ │ └── init.instances │ │ │ │ ├── mongo │ │ │ │ │ ├── descriptor │ │ │ │ │ │ └── application.properties │ │ │ │ │ └── graph │ │ │ │ │ │ └── mongo.graph │ │ │ │ ├── karaf-joram-jndi │ │ │ │ │ ├── descriptor │ │ │ │ │ │ └── application.properties │ │ │ │ │ ├── instances │ │ │ │ │ │ └── init.instances │ │ │ │ │ └── graph │ │ │ │ │ │ └── main.graph │ │ │ │ ├── lamp-legacy-with-only-components │ │ │ │ │ ├── descriptor │ │ │ │ │ │ └── application.properties │ │ │ │ │ ├── instances │ │ │ │ │ │ └── initial.instances │ │ │ │ │ └── graph │ │ │ │ │ │ └── lamp.graph │ │ │ │ └── app-with-external-dependencies │ │ │ │ │ ├── graph │ │ │ │ │ └── example.graph │ │ │ │ │ └── descriptor │ │ │ │ │ └── application.properties │ │ │ │ ├── commands │ │ │ │ ├── single-line-commands.txt │ │ │ │ ├── email-command-with-line-breaks.txt │ │ │ │ ├── multi-line-commands.txt │ │ │ │ ├── commands-in-error.txt │ │ │ │ ├── commands-with-query-indexes.txt │ │ │ │ └── all-commands.txt │ │ │ │ ├── reusable.recipe.with.errors.2 │ │ │ │ └── graph │ │ │ │ │ └── main.graph │ │ │ │ ├── properties │ │ │ │ ├── after.properties │ │ │ │ └── before.properties │ │ │ │ ├── dockerfiles │ │ │ │ └── dockerfile2 │ │ │ │ └── recipes │ │ │ │ ├── invalid-update.pp │ │ │ │ ├── update.pp │ │ │ │ ├── invalid-syntax.pp │ │ │ │ └── missing-running-state.pp │ │ └── main │ │ │ └── resources │ │ │ └── OSGI-INF │ │ │ └── bundle.info │ └── .gitignore ├── roboconf-plugin-script │ ├── src │ │ ├── test │ │ │ └── resources │ │ │ │ ├── BashScriptError │ │ │ │ └── scripts │ │ │ │ │ ├── deploy.sh │ │ │ │ │ ├── start.sh │ │ │ │ │ ├── stop.sh │ │ │ │ │ ├── update.sh │ │ │ │ │ └── undeploy.sh │ │ │ │ ├── BashScript │ │ │ │ ├── files │ │ │ │ │ └── BashScriptFile.txt │ │ │ │ └── scripts │ │ │ │ │ ├── stop │ │ │ │ │ ├── deploy.sh │ │ │ │ │ ├── start.bash │ │ │ │ │ ├── update.sh │ │ │ │ │ └── undeploy.whatever │ │ │ │ ├── BashTemplate │ │ │ │ ├── files │ │ │ │ │ └── BashTemplateFile.txt │ │ │ │ └── roboconf-templates │ │ │ │ │ ├── stop.template │ │ │ │ │ ├── deploy.template │ │ │ │ │ ├── start.template │ │ │ │ │ ├── update.template │ │ │ │ │ └── undeploy.template │ │ │ │ ├── importTemplate.mustache │ │ │ │ ├── BashTemplateInvalid │ │ │ │ └── roboconf-templates │ │ │ │ │ └── deploy.template │ │ │ │ └── instanceTemplate.mustache │ │ └── main │ │ │ └── resources │ │ │ └── OSGI-INF │ │ │ └── bundle.info │ └── .gitignore ├── roboconf-dm-templating │ ├── src │ │ ├── test │ │ │ └── resources │ │ │ │ ├── templates │ │ │ │ ├── all.txt.tpl │ │ │ │ ├── all-by-mistake.txt.tpl │ │ │ │ ├── all-with-wildcards.txt.tpl │ │ │ │ ├── select-by-path.txt.tpl │ │ │ │ ├── select-by-exact-path.txt.tpl │ │ │ │ ├── select-by-installer.txt.tpl │ │ │ │ ├── select-by-path-with-mixed-wildcard.txt.tpl │ │ │ │ ├── select-by-installer-and-component.txt.tpl │ │ │ │ ├── get-data.txt.tpl │ │ │ │ ├── get-exports.txt.tpl │ │ │ │ ├── get-specific-properties-with-if.txt.tpl │ │ │ │ ├── select-alternatives.txt.tpl │ │ │ │ ├── basic.txt.tpl │ │ │ │ ├── basic-with-quotes.txt.tpl │ │ │ │ ├── get-imports.txt.tpl │ │ │ │ ├── basic-with-custom-output.txt.tpl │ │ │ │ └── nested-loops.txt.tpl │ │ │ │ ├── output │ │ │ │ ├── select-by-exact-path.txt │ │ │ │ ├── select-by-installer-and-component.txt │ │ │ │ ├── select-by-path-with-mixed-wildcard.txt │ │ │ │ ├── select-by-installer.txt │ │ │ │ ├── get-exports.txt │ │ │ │ ├── select-by-path.txt │ │ │ │ ├── get-specific-properties-with-if.txt │ │ │ │ ├── select-alternatives.txt │ │ │ │ ├── all.txt │ │ │ │ ├── all-by-mistake.txt │ │ │ │ ├── all-with-wildcards.txt │ │ │ │ ├── nested-loops.txt │ │ │ │ ├── get-data.txt │ │ │ │ ├── get-imports.txt │ │ │ │ ├── basic.txt │ │ │ │ ├── basic-with-quotes.txt │ │ │ │ └── basic-with-custom-output.txt │ │ │ │ └── invalid-templates │ │ │ │ ├── invalid-path.txt.tpl │ │ │ │ ├── instance-path.txt.tpl │ │ │ │ ├── invalid-component-path.txt.tpl │ │ │ │ ├── wrong-installer.txt.tpl │ │ │ │ └── invalid-specific-properties-with-if.txt.tpl │ │ └── main │ │ │ └── resources │ │ │ └── OSGI-INF │ │ │ └── bundle.info │ └── .gitignore ├── roboconf-target-docker │ ├── src │ │ ├── test │ │ │ └── resources │ │ │ │ └── image │ │ │ │ ├── roboconf │ │ │ │ └── Dockerfile │ │ │ │ └── alpine │ │ │ │ └── Dockerfile │ │ └── main │ │ │ └── resources │ │ │ └── OSGI-INF │ │ │ └── bundle.info │ └── .gitignore ├── roboconf-agent-monitoring │ ├── src │ │ ├── test │ │ │ └── resources │ │ │ │ ├── unknown-events.conf │ │ │ │ ├── mixed-events-templating.properties │ │ │ │ ├── rest-events.conf │ │ │ │ ├── mixed-events.conf │ │ │ │ ├── file-events.conf │ │ │ │ ├── mixed-events-templating.conf │ │ │ │ └── nagios-events.conf │ │ └── main │ │ │ └── resources │ │ │ └── OSGI-INF │ │ │ └── bundle.info │ └── .gitignore ├── roboconf-plugin-file │ ├── src │ │ ├── test │ │ │ └── resources │ │ │ │ ├── resource.txt │ │ │ │ └── instructions.properties │ │ └── main │ │ │ └── resources │ │ │ └── OSGI-INF │ │ │ └── bundle.info │ └── .gitignore ├── roboconf-plugin-puppet │ ├── src │ │ ├── test │ │ │ └── resources │ │ │ │ ├── with-init │ │ │ │ └── roboconf_withinit_module │ │ │ │ │ ├── files │ │ │ │ │ └── WithInitFile.txt │ │ │ │ │ ├── templates │ │ │ │ │ └── WithInitTemplate.erb │ │ │ │ │ └── manifests │ │ │ │ │ └── init.pp │ │ │ │ ├── with-operations │ │ │ │ └── roboconf_withoperations_module │ │ │ │ │ ├── files │ │ │ │ │ └── WithOperationsFile.txt │ │ │ │ │ ├── templates │ │ │ │ │ └── WithOperationsTemplate.erb │ │ │ │ │ └── manifests │ │ │ │ │ ├── stop.pp │ │ │ │ │ ├── deploy.pp │ │ │ │ │ ├── start.pp │ │ │ │ │ ├── undeploy.pp │ │ │ │ │ └── update.pp │ │ │ │ ├── with-init-invalid │ │ │ │ └── roboconf_withinit_module │ │ │ │ │ └── manifests │ │ │ │ │ └── init.pp │ │ │ │ ├── with-init-exit-1 │ │ │ │ └── roboconf_withinit_module │ │ │ │ │ └── manifests │ │ │ │ │ └── init.pp │ │ │ │ ├── with-version │ │ │ │ └── modules.properties │ │ │ │ ├── without-version │ │ │ │ └── modules.properties │ │ │ │ ├── with-invalid-module │ │ │ │ └── modules.properties │ │ │ │ └── with-init-changes-and-errors │ │ │ │ └── roboconf_withinit_module │ │ │ │ └── manifests │ │ │ │ └── init.pp │ │ └── main │ │ │ └── resources │ │ │ └── OSGI-INF │ │ │ └── bundle.info │ └── .gitignore ├── roboconf-agent-default │ ├── src │ │ └── main │ │ │ └── resources │ │ │ ├── readme.txt │ │ │ └── OSGI-INF │ │ │ └── bundle.info │ └── .gitignore ├── roboconf-dm │ ├── src │ │ ├── test │ │ │ └── resources │ │ │ │ ├── autonomic │ │ │ │ ├── rules-with-custom-child-name.cfg │ │ │ │ ├── invalid.rules │ │ │ │ ├── rules.cfg │ │ │ │ ├── rules-with-delays.cfg │ │ │ │ └── my-app.rules │ │ │ │ └── commands │ │ │ │ ├── email-commands.txt │ │ │ │ └── create-and-delete.commands │ │ └── main │ │ │ └── resources │ │ │ └── OSGI-INF │ │ │ └── bundle.info │ └── .gitignore ├── roboconf-dm-web-administration │ ├── src │ │ └── main │ │ │ ├── webapp │ │ │ ├── roboconf--mirrored.jpg │ │ │ └── error.html │ │ │ └── resources │ │ │ └── OSGI-INF │ │ │ └── bundle.info │ └── .gitignore ├── roboconf-target-iaas-vmware │ ├── src │ │ └── main │ │ │ └── resources │ │ │ └── OSGI-INF │ │ │ └── bundle.info │ └── .gitignore ├── roboconf-target-iaas-azure │ ├── src │ │ └── main │ │ │ └── resources │ │ │ └── OSGI-INF │ │ │ └── bundle.info │ └── .gitignore ├── roboconf-target-iaas-ec2 │ ├── src │ │ └── main │ │ │ └── resources │ │ │ └── OSGI-INF │ │ │ └── bundle.info │ └── .gitignore ├── roboconf-target-iaas-openstack │ ├── src │ │ └── main │ │ │ └── resources │ │ │ └── OSGI-INF │ │ │ └── bundle.info │ └── .gitignore ├── roboconf-target-iaas-occi │ ├── src │ │ └── main │ │ │ └── resources │ │ │ └── OSGI-INF │ │ │ └── bundle.info │ └── .gitignore ├── roboconf-dm-scheduler │ ├── src │ │ └── main │ │ │ └── resources │ │ │ └── OSGI-INF │ │ │ └── bundle.info │ └── .gitignore ├── roboconf-messaging-http │ ├── src │ │ └── main │ │ │ └── resources │ │ │ └── OSGI-INF │ │ │ └── bundle.info │ └── .gitignore ├── roboconf-messaging-rabbitmq │ ├── src │ │ └── main │ │ │ └── resources │ │ │ └── OSGI-INF │ │ │ └── bundle.info │ └── .gitignore ├── roboconf-dm-rest-services │ ├── src │ │ └── main │ │ │ └── resources │ │ │ └── OSGI-INF │ │ │ └── bundle.info │ └── .gitignore ├── roboconf-plugin-logger │ ├── src │ │ └── main │ │ │ └── resources │ │ │ └── OSGI-INF │ │ │ └── bundle.info │ └── .gitignore ├── roboconf-agent-monitoring-docker │ ├── src │ │ └── main │ │ │ └── resources │ │ │ └── OSGI-INF │ │ │ └── bundle.info │ └── .gitignore ├── roboconf-target-jclouds │ ├── src │ │ └── main │ │ │ └── resources │ │ │ └── OSGI-INF │ │ │ └── bundle.info │ └── .gitignore ├── roboconf-messaging-api │ ├── src │ │ └── main │ │ │ └── resources │ │ │ └── OSGI-INF │ │ │ └── bundle.info │ └── .gitignore ├── roboconf-plugin-api │ ├── src │ │ └── main │ │ │ └── resources │ │ │ └── OSGI-INF │ │ │ └── bundle.info │ └── .gitignore ├── roboconf-agent │ ├── .gitignore │ └── src │ │ └── main │ │ └── resources │ │ └── OSGI-INF │ │ └── bundle.info ├── roboconf-target-api │ ├── .gitignore │ └── src │ │ └── main │ │ └── resources │ │ └── OSGI-INF │ │ └── bundle.info ├── roboconf-target-in-memory │ ├── src │ │ └── main │ │ │ └── resources │ │ │ └── OSGI-INF │ │ │ └── bundle.info │ └── .gitignore ├── roboconf-dm-rest-commons │ ├── .gitignore │ └── src │ │ └── main │ │ └── resources │ │ └── OSGI-INF │ │ └── bundle.info ├── roboconf-target-embedded │ ├── .gitignore │ └── src │ │ └── main │ │ └── resources │ │ └── OSGI-INF │ │ └── bundle.info └── roboconf-agent-monitoring-api │ ├── .gitignore │ └── src │ └── main │ └── resources │ └── OSGI-INF │ └── bundle.info ├── miscellaneous ├── roboconf-tooling-core │ ├── src │ │ ├── test │ │ │ └── resources │ │ │ │ ├── completion │ │ │ │ ├── app3 │ │ │ │ │ ├── graph │ │ │ │ │ │ ├── imports │ │ │ │ │ │ │ ├── imp1.graph │ │ │ │ │ │ │ └── subimports │ │ │ │ │ │ │ │ ├── imp2.graph │ │ │ │ │ │ │ │ └── imp3.graph │ │ │ │ │ │ └── edited3.graph │ │ │ │ │ ├── descriptor │ │ │ │ │ │ └── application.properties │ │ │ │ │ └── instances │ │ │ │ │ │ └── initial.instances │ │ │ │ ├── app4 │ │ │ │ │ └── instances │ │ │ │ │ │ ├── imports │ │ │ │ │ │ ├── imp1.instances │ │ │ │ │ │ └── subimports │ │ │ │ │ │ │ ├── imp2.instances │ │ │ │ │ │ │ └── imp3.instances │ │ │ │ │ │ └── initial.instances │ │ │ │ ├── app1 │ │ │ │ │ ├── graph │ │ │ │ │ │ └── edited1.graph │ │ │ │ │ └── instances │ │ │ │ │ │ └── initial.instances │ │ │ │ ├── app2 │ │ │ │ │ └── graph │ │ │ │ │ │ └── edited2.graph │ │ │ │ ├── app5 │ │ │ │ │ └── graph │ │ │ │ │ │ └── edited5.graph │ │ │ │ └── app6 │ │ │ │ │ └── graph │ │ │ │ │ └── edited6.graph │ │ │ │ ├── textactions │ │ │ │ ├── commented1.txt │ │ │ │ ├── commented2.txt │ │ │ │ ├── non-commented.txt │ │ │ │ ├── indentation-correct.txt │ │ │ │ └── indentation-incorrect.txt │ │ │ │ ├── expected-pom.xml │ │ │ │ └── test-pom-skeleton.xml │ │ └── main │ │ │ └── resources │ │ │ ├── application-skeleton.props │ │ │ ├── instances-skeleton.instances │ │ │ ├── OSGI-INF │ │ │ └── bundle.info │ │ │ ├── graph-skeleton.graph │ │ │ └── pom-skeleton.xml │ └── .gitignore ├── roboconf-doc-generator │ ├── src │ │ ├── test │ │ │ └── resources │ │ │ │ ├── recipe2 │ │ │ │ ├── graph │ │ │ │ │ ├── Tomcat │ │ │ │ │ │ └── readme.txt │ │ │ │ │ └── main.graph │ │ │ │ ├── doc │ │ │ │ │ └── VM_fr_FR.facet.txt │ │ │ │ └── descriptor │ │ │ │ │ └── application.properties │ │ │ │ ├── lamp │ │ │ │ ├── doc │ │ │ │ │ ├── Apache.summary.txt │ │ │ │ │ ├── Apache.extra.txt │ │ │ │ │ ├── Apache_fr_FR.extra.txt │ │ │ │ │ └── app.desc_fr_FR.txt │ │ │ │ ├── descriptor │ │ │ │ │ └── application.properties │ │ │ │ └── instances │ │ │ │ │ └── initial-deployment.instances │ │ │ │ └── recipe │ │ │ │ └── graph │ │ │ │ ├── MySQL │ │ │ │ └── readme.md │ │ │ │ └── lamp.graph │ │ └── main │ │ │ └── resources │ │ │ ├── roboconf.jpg │ │ │ ├── net │ │ │ └── roboconf │ │ │ │ └── doc │ │ │ │ └── generator │ │ │ │ └── internal │ │ │ │ └── nls │ │ │ │ └── messages_fr_FR.properties │ │ │ ├── html.tpl │ │ │ └── fop.tpl │ └── .gitignore ├── roboconf-maven-plugin │ ├── src │ │ ├── test │ │ │ └── projects │ │ │ │ ├── target-ok-with-scripts │ │ │ │ └── src │ │ │ │ │ └── main │ │ │ │ │ └── resources │ │ │ │ │ ├── test │ │ │ │ │ └── config.x │ │ │ │ │ └── test.properties │ │ │ │ ├── target-ko-missing-handler │ │ │ │ └── src │ │ │ │ │ └── main │ │ │ │ │ └── resources │ │ │ │ │ └── test.properties │ │ │ │ ├── target-ko-missing-id │ │ │ │ └── src │ │ │ │ │ └── main │ │ │ │ │ └── resources │ │ │ │ │ └── test.properties │ │ │ │ ├── target-ok-multi │ │ │ │ └── src │ │ │ │ │ └── main │ │ │ │ │ └── resources │ │ │ │ │ ├── test1.properties │ │ │ │ │ └── test2.properties │ │ │ │ ├── target-ko-conflicting-ids │ │ │ │ └── src │ │ │ │ │ └── main │ │ │ │ │ └── resources │ │ │ │ │ ├── test1.properties │ │ │ │ │ └── test2.properties │ │ │ │ ├── recipe │ │ │ │ └── src │ │ │ │ │ └── main │ │ │ │ │ └── model │ │ │ │ │ ├── graph │ │ │ │ │ ├── MySQL │ │ │ │ │ │ └── readme.md │ │ │ │ │ └── lamp.graph │ │ │ │ │ └── descriptor │ │ │ │ │ └── application.properties │ │ │ │ ├── target-ok-single │ │ │ │ └── src │ │ │ │ │ └── main │ │ │ │ │ └── resources │ │ │ │ │ └── test.properties │ │ │ │ ├── project--valid │ │ │ │ └── src │ │ │ │ │ └── main │ │ │ │ │ └── model │ │ │ │ │ ├── graph │ │ │ │ │ ├── Apache │ │ │ │ │ │ └── readme.md │ │ │ │ │ ├── MySQL │ │ │ │ │ │ └── readme.md │ │ │ │ │ ├── VM │ │ │ │ │ │ └── target.properties │ │ │ │ │ ├── Tomcat │ │ │ │ │ │ └── readme.md │ │ │ │ │ └── lamp.graph │ │ │ │ │ ├── descriptor │ │ │ │ │ └── application.properties │ │ │ │ │ └── instances │ │ │ │ │ └── initial.instances │ │ │ │ ├── recipe-with-instances │ │ │ │ └── src │ │ │ │ │ └── main │ │ │ │ │ └── model │ │ │ │ │ ├── graph │ │ │ │ │ ├── MySQL │ │ │ │ │ │ └── readme.md │ │ │ │ │ └── lamp.graph │ │ │ │ │ ├── instances │ │ │ │ │ └── initial.instances │ │ │ │ │ └── descriptor │ │ │ │ │ └── application.properties │ │ │ │ ├── project--invalid-app │ │ │ │ └── src │ │ │ │ │ └── main │ │ │ │ │ └── model │ │ │ │ │ └── readme.md │ │ │ │ └── project--valid-with-warnings │ │ │ │ └── src │ │ │ │ └── main │ │ │ │ └── model │ │ │ │ ├── descriptor │ │ │ │ └── application.properties │ │ │ │ ├── instances │ │ │ │ └── initial.instances │ │ │ │ └── graph │ │ │ │ └── lamp.graph │ │ └── it │ │ │ ├── single-valid-module │ │ │ ├── src │ │ │ │ └── main │ │ │ │ │ └── model │ │ │ │ │ ├── graph │ │ │ │ │ ├── main.graph │ │ │ │ │ └── VM │ │ │ │ │ │ └── target.properties │ │ │ │ │ └── descriptor │ │ │ │ │ └── application.properties │ │ │ └── verify.bsh │ │ │ ├── valid-multi-modules │ │ │ ├── module-a │ │ │ │ └── src │ │ │ │ │ └── main │ │ │ │ │ └── model │ │ │ │ │ ├── graph │ │ │ │ │ ├── main.graph │ │ │ │ │ └── VM │ │ │ │ │ │ └── target.properties │ │ │ │ │ └── descriptor │ │ │ │ │ └── application.properties │ │ │ ├── module-b │ │ │ │ └── src │ │ │ │ │ └── main │ │ │ │ │ └── model │ │ │ │ │ ├── graph │ │ │ │ │ ├── VM2 │ │ │ │ │ │ └── target.properties │ │ │ │ │ └── main.graph │ │ │ │ │ └── descriptor │ │ │ │ │ └── application.properties │ │ │ ├── verify.bsh │ │ │ └── pom.xml │ │ │ └── settings.xml │ └── .gitignore ├── roboconf-dm-rest-client │ ├── src │ │ └── main │ │ │ └── resources │ │ │ └── OSGI-INF │ │ │ └── bundle.info │ └── .gitignore ├── roboconf-swagger │ └── .gitignore ├── roboconf-integration-tests-dm │ └── .gitignore ├── roboconf-integration-tests-agent │ └── .gitignore ├── roboconf-integration-tests-commons │ └── .gitignore └── roboconf-integration-tests-dm-with-agents-in-memory │ ├── src │ └── test │ │ └── resources │ │ ├── app-with-external-imports │ │ ├── instances │ │ │ └── initial-deployment.instances │ │ ├── descriptor │ │ │ └── application.properties │ │ └── graph │ │ │ └── lamp.graph │ │ └── app-with-external-exports │ │ ├── descriptor │ │ └── application.properties │ │ ├── instances │ │ └── initial-deployment.instances │ │ └── graph │ │ └── lamp.graph │ └── .gitignore ├── karaf ├── roboconf-karaf-commands-dm │ ├── src │ │ └── main │ │ │ └── resources │ │ │ └── OSGI-INF │ │ │ └── bundle.info │ └── .gitignore ├── roboconf-karaf-commands-agent │ ├── src │ │ └── main │ │ │ └── resources │ │ │ └── OSGI-INF │ │ │ └── bundle.info │ └── .gitignore ├── roboconf-karaf-commands-common │ ├── src │ │ └── main │ │ │ └── resources │ │ │ └── OSGI-INF │ │ │ └── bundle.info │ └── .gitignore ├── roboconf-karaf-decanter-collector-dm │ ├── src │ │ └── main │ │ │ └── resources │ │ │ └── OSGI-INF │ │ │ └── bundle.info │ └── .gitignore ├── roboconf-karaf-dist-dm │ ├── src │ │ └── main │ │ │ └── resources │ │ │ └── etc │ │ │ ├── org.ops4j.datasource-roboconf-dm.cfg │ │ │ ├── net.roboconf.dm.configuration.cfg │ │ │ ├── net.roboconf.dm.preferences.cfg │ │ │ ├── net.roboconf.messaging.http.cfg │ │ │ └── net.roboconf.messaging.rabbitmq.cfg │ └── .gitignore ├── roboconf-karaf-dist-agent │ ├── .gitignore │ └── src │ │ └── main │ │ └── resources │ │ └── etc │ │ ├── roboconf │ │ └── cfg-injection │ │ │ └── readme.txt │ │ ├── net.roboconf.messaging.http.cfg │ │ └── net.roboconf.messaging.rabbitmq.cfg ├── roboconf-karaf-feature-dm │ └── .gitignore ├── roboconf-karaf-prepare │ └── .gitignore └── roboconf-karaf-feature-agent │ └── .gitignore ├── .gitignore ├── web-extensions └── roboconf-web-extension-for-kibana │ ├── src │ └── main │ │ └── resources │ │ ├── OSGI-INF │ │ └── bundle.info │ │ ├── app.twig │ │ └── apps.twig │ └── .gitignore ├── CONTRIBUTING.md └── NOTICE /core/roboconf-core/src/test/resources/configurations/valid/only-component-1.graph: -------------------------------------------------------------------------------- 1 | apache { 2 | } -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/valid/only-facet-1.graph: -------------------------------------------------------------------------------- 1 | facet apache { 2 | } -------------------------------------------------------------------------------- /miscellaneous/roboconf-tooling-core/src/test/resources/completion/app3/graph/imports/imp1.graph: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/reusable.recipe/graph/Apache-mjk-latest/readme: -------------------------------------------------------------------------------- 1 | Whatever... 2 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-doc-generator/src/test/resources/recipe2/graph/Tomcat/readme.txt: -------------------------------------------------------------------------------- 1 | Whatever... 2 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-tooling-core/src/test/resources/completion/app4/instances/imports/imp1.instances: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/valid/only-import-1.graph: -------------------------------------------------------------------------------- 1 | import otherDefinition.txt; -------------------------------------------------------------------------------- /core/roboconf-plugin-script/src/test/resources/BashScriptError/scripts/deploy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | exit 1 3 | -------------------------------------------------------------------------------- /core/roboconf-plugin-script/src/test/resources/BashScriptError/scripts/start.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | exit 1 3 | -------------------------------------------------------------------------------- /core/roboconf-plugin-script/src/test/resources/BashScriptError/scripts/stop.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | exit 1 3 | -------------------------------------------------------------------------------- /core/roboconf-plugin-script/src/test/resources/BashScriptError/scripts/update.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | exit 1 3 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-doc-generator/src/test/resources/recipe2/doc/VM_fr_FR.facet.txt: -------------------------------------------------------------------------------- 1 | Peu importe... 2 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-tooling-core/src/test/resources/completion/app3/graph/imports/subimports/imp2.graph: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-tooling-core/src/test/resources/completion/app3/graph/imports/subimports/imp3.graph: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/valid/only-component-2.graph: -------------------------------------------------------------------------------- 1 | 2 | apache { 3 | 4 | } 5 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/rules.autonomic/invalid-rule.drl: -------------------------------------------------------------------------------- 1 | 2 | This is not a valid rule 3 | end 4 | -------------------------------------------------------------------------------- /core/roboconf-dm-templating/src/test/resources/templates/all.txt.tpl: -------------------------------------------------------------------------------- 1 | {{#all}} 2 | - {{name}} 3 | {{/all}} 4 | -------------------------------------------------------------------------------- /core/roboconf-plugin-script/src/test/resources/BashScriptError/scripts/undeploy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | exit 1 3 | -------------------------------------------------------------------------------- /core/roboconf-target-docker/src/test/resources/image/roboconf/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM roboconf/roboconf-agent:latest 2 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-maven-plugin/src/test/projects/target-ok-with-scripts/src/main/resources/test/config.x: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /core/roboconf-agent-monitoring/src/test/resources/unknown-events.conf: -------------------------------------------------------------------------------- 1 | [EVENT unknown myRuleName-1] 2 | whatever 3 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/valid/only-import-2.graph: -------------------------------------------------------------------------------- 1 | 2 | import otherDefinition.txt; 3 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/reusable.recipe.with.errors.1/graph/Apache-mjk-latest/readme: -------------------------------------------------------------------------------- 1 | Whatever... 2 | -------------------------------------------------------------------------------- /core/roboconf-plugin-file/src/test/resources/resource.txt: -------------------------------------------------------------------------------- 1 | This is a sample resource we will download during tests. 2 | -------------------------------------------------------------------------------- /core/roboconf-plugin-script/src/test/resources/BashScript/files/BashScriptFile.txt: -------------------------------------------------------------------------------- 1 | File from BashScript component. 2 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-tooling-core/src/test/resources/completion/app4/instances/imports/subimports/imp2.instances: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-tooling-core/src/test/resources/completion/app4/instances/imports/subimports/imp3.instances: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/flexibles/one-component-no-property.graph: -------------------------------------------------------------------------------- 1 | 2 | comp { 3 | 4 | } 5 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/flexibles/one-partial-component-no-property.graph: -------------------------------------------------------------------------------- 1 | 2 | comp { 3 | 4 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/facet-missing-closing-cb.graph: -------------------------------------------------------------------------------- 1 | facet f { 2 | exports: ip; 3 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/facet-missing-opening-cb.graph: -------------------------------------------------------------------------------- 1 | facet 2 | exports: ip; 3 | } -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/rules.autonomic/incomplete-rule.drl: -------------------------------------------------------------------------------- 1 | rule "" 2 | when 3 | 4 | then 5 | 6 | end 7 | -------------------------------------------------------------------------------- /core/roboconf-dm-templating/src/test/resources/templates/all-by-mistake.txt.tpl: -------------------------------------------------------------------------------- 1 | {{#all ''}} 2 | - {{name}} 3 | {{/all}} 4 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-doc-generator/src/test/resources/lamp/doc/Apache.summary.txt: -------------------------------------------------------------------------------- 1 | Apache is a well-known web server. 2 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/component-invalid-property.graph: -------------------------------------------------------------------------------- 1 | component { 2 | installer 3 | } -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/facet-invalid-property.graph: -------------------------------------------------------------------------------- 1 | facet f { 2 | installer= 3 | } 4 | -------------------------------------------------------------------------------- /core/roboconf-dm-templating/src/test/resources/output/select-by-exact-path.txt: -------------------------------------------------------------------------------- 1 | - /TomcatVm1/Tomcat 2 | - /TomcatVm2/Tomcat 3 | -------------------------------------------------------------------------------- /core/roboconf-plugin-script/src/test/resources/BashTemplate/files/BashTemplateFile.txt: -------------------------------------------------------------------------------- 1 | File from BashTemplate component. 2 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-doc-generator/src/test/resources/lamp/doc/Apache.extra.txt: -------------------------------------------------------------------------------- 1 | This is extra information about Apache. 2 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-maven-plugin/src/test/projects/target-ko-missing-handler/src/main/resources/test.properties: -------------------------------------------------------------------------------- 1 | id: tid 2 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/component-missing-closing-cb.graph: -------------------------------------------------------------------------------- 1 | component { 2 | installer: bash; 3 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/component-missing-opening-cb.graph: -------------------------------------------------------------------------------- 1 | component 2 | installer: bash; 3 | } -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/valid/commented-facet-1.graph: -------------------------------------------------------------------------------- 1 | # This is a simple facet. 2 | facet apache { 3 | } -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/valid/simple-installer.graph: -------------------------------------------------------------------------------- 1 | A { 2 | installer: my-own-installer; 3 | } 4 | -------------------------------------------------------------------------------- /core/roboconf-dm-templating/src/test/resources/templates/all-with-wildcards.txt.tpl: -------------------------------------------------------------------------------- 1 | {{#all '*' }} 2 | - {{name}} 3 | {{/all}} 4 | -------------------------------------------------------------------------------- /core/roboconf-dm-templating/src/test/resources/templates/select-by-path.txt.tpl: -------------------------------------------------------------------------------- 1 | {{#all '/Vm/*' }} 2 | - {{path}} 3 | {{/all}} 4 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-maven-plugin/src/it/single-valid-module/src/main/model/graph/main.graph: -------------------------------------------------------------------------------- 1 | VM { 2 | installer: target; 3 | } 4 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-maven-plugin/src/test/projects/target-ko-missing-id/src/main/resources/test.properties: -------------------------------------------------------------------------------- 1 | handler: in-memory 2 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/instanceof-missing-closing-cb.instances: -------------------------------------------------------------------------------- 1 | instance of { 2 | name: server1; 3 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/instanceof-missing-opening-cb.instances: -------------------------------------------------------------------------------- 1 | instance of 2 | name: server1; 3 | } -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/valid/commented-import-1.graph: -------------------------------------------------------------------------------- 1 | # This is an import! 2 | import otherDefinition.txt; -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/rules.autonomic/simple-rule.drl: -------------------------------------------------------------------------------- 1 | rule "test" 2 | when 3 | event-1 4 | then 5 | cmd1 6 | end 7 | -------------------------------------------------------------------------------- /core/roboconf-dm-templating/src/test/resources/invalid-templates/invalid-path.txt.tpl: -------------------------------------------------------------------------------- 1 | {{#all '/Vm//' }} 2 | - {{path}} 3 | {{/all}} 4 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/component-extra-char.graph: -------------------------------------------------------------------------------- 1 | server { failed comment 2 | installer: bash; 3 | } 4 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/component-invalid-end.graph: -------------------------------------------------------------------------------- 1 | server { 2 | installer: bash; 3 | } failed comment -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/facet-line-number.graph: -------------------------------------------------------------------------------- 1 | facet a { 2 | 3 | # a comment 4 | 5 | exports: ip; 6 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/inexisting-child-in-facet.graph: -------------------------------------------------------------------------------- 1 | 2 | facet root { 3 | children: server; 4 | } 5 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/instanceof-invalid-property.instances: -------------------------------------------------------------------------------- 1 | instance of server { 2 | name= 3 | } 4 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/valid/commented-component-1.graph: -------------------------------------------------------------------------------- 1 | # A simple component 2 | apache { 3 | # nothing 4 | } -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/valid/only-facet-2.graph: -------------------------------------------------------------------------------- 1 | 2 | facet apache { 3 | 4 | children: none; 5 | 6 | } 7 | -------------------------------------------------------------------------------- /core/roboconf-dm-templating/src/test/resources/invalid-templates/instance-path.txt.tpl: -------------------------------------------------------------------------------- 1 | {{#all '/ApacheVm/*' }} 2 | - {{path}} 3 | {{/all}} 4 | -------------------------------------------------------------------------------- /core/roboconf-dm-templating/src/test/resources/output/select-by-installer-and-component.txt: -------------------------------------------------------------------------------- 1 | - /TomcatVm1/Tomcat 2 | - /TomcatVm2/Tomcat 3 | -------------------------------------------------------------------------------- /core/roboconf-dm-templating/src/test/resources/output/select-by-path-with-mixed-wildcard.txt: -------------------------------------------------------------------------------- 1 | - /TomcatVm1/Tomcat 2 | - /TomcatVm2/Tomcat 3 | -------------------------------------------------------------------------------- /core/roboconf-dm-templating/src/test/resources/templates/select-by-exact-path.txt.tpl: -------------------------------------------------------------------------------- 1 | {{#all '/Vm/Tomcat' }} 2 | - {{path}} 3 | {{/all}} 4 | -------------------------------------------------------------------------------- /core/roboconf-plugin-script/src/test/resources/importTemplate.mustache: -------------------------------------------------------------------------------- 1 | { {{#exportedVars}} 2 | {{name}} : {{value}}, 3 | {{/exportedVars}} } -------------------------------------------------------------------------------- /miscellaneous/roboconf-doc-generator/src/test/resources/recipe/graph/MySQL/readme.md: -------------------------------------------------------------------------------- 1 | We should have the recipe for MySQL in this directory. 2 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-maven-plugin/src/it/valid-multi-modules/module-a/src/main/model/graph/main.graph: -------------------------------------------------------------------------------- 1 | VM { 2 | installer: target; 3 | } 4 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-maven-plugin/src/test/projects/target-ok-multi/src/main/resources/test1.properties: -------------------------------------------------------------------------------- 1 | id: tid1 2 | handler: in-memory 3 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-maven-plugin/src/test/projects/target-ok-multi/src/main/resources/test2.properties: -------------------------------------------------------------------------------- 1 | id: tid2 2 | handler: iaas-ec2 3 | -------------------------------------------------------------------------------- /core/roboconf-agent-monitoring/src/test/resources/mixed-events-templating.properties: -------------------------------------------------------------------------------- 1 | accept_passive_checks=1 2 | a-directory-to-not-delete=roboconf -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/applications/lamp/rules.autonomic/sample.drl: -------------------------------------------------------------------------------- 1 | rule "sample" 2 | when 3 | alert 4 | then 5 | scale 6 | end 7 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/applications/root-exporting-variables/graph/VM/target.properties: -------------------------------------------------------------------------------- 1 | handler = in-memory 2 | id: target-id 3 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/component-extends-inexisting-component.graph: -------------------------------------------------------------------------------- 1 | 2 | VM_EC2 { 3 | extends: VM; 4 | } 5 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/facet-extra-char.graph: -------------------------------------------------------------------------------- 1 | facet server { failed comment 2 | installer: bash; 3 | } 4 | -------------------------------------------------------------------------------- /core/roboconf-dm-templating/src/test/resources/invalid-templates/invalid-component-path.txt.tpl: -------------------------------------------------------------------------------- 1 | {{#all Whatever}} 2 | - {{path}} 3 | {{/all}} 4 | -------------------------------------------------------------------------------- /core/roboconf-dm-templating/src/test/resources/output/select-by-installer.txt: -------------------------------------------------------------------------------- 1 | - /ApacheVm/Apache 2 | - /TomcatVm1/Tomcat 3 | - /TomcatVm2/Tomcat 4 | -------------------------------------------------------------------------------- /core/roboconf-dm-templating/src/test/resources/templates/select-by-installer.txt.tpl: -------------------------------------------------------------------------------- 1 | {{#all installer="docker"}} 2 | - {{path}} 3 | {{/all}} 4 | -------------------------------------------------------------------------------- /core/roboconf-plugin-puppet/src/test/resources/with-init/roboconf_withinit_module/files/WithInitFile.txt: -------------------------------------------------------------------------------- 1 | File from WithOperations component. 2 | -------------------------------------------------------------------------------- /core/roboconf-agent-default/src/main/resources/readme.txt: -------------------------------------------------------------------------------- 1 | This is just a fragment for the Roboconf agent that declares an agent instance for iPojo. 2 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/component-line-number.graph: -------------------------------------------------------------------------------- 1 | component { 2 | 3 | # a comment 4 | 5 | installer: bash; 6 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/facet-invalid-end.graph: -------------------------------------------------------------------------------- 1 | facet server { 2 | installer: bash; 3 | } facet toto { 4 | 5 | } -------------------------------------------------------------------------------- /core/roboconf-dm-templating/src/test/resources/templates/select-by-path-with-mixed-wildcard.txt.tpl: -------------------------------------------------------------------------------- 1 | {{#all '/Vm/Tom*' }} 2 | - {{path}} 3 | {{/all}} 4 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-doc-generator/src/test/resources/lamp/doc/Apache_fr_FR.extra.txt: -------------------------------------------------------------------------------- 1 | Voilà une belle information à ajouter dans la documentation. 2 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-maven-plugin/src/test/projects/target-ko-conflicting-ids/src/main/resources/test1.properties: -------------------------------------------------------------------------------- 1 | id: tid 2 | handler: in-memory 3 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-maven-plugin/src/test/projects/target-ko-conflicting-ids/src/main/resources/test2.properties: -------------------------------------------------------------------------------- 1 | id: tid 2 | handler: iaas-ec2 3 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/applications/lamp/commands/scale.commands: -------------------------------------------------------------------------------- 1 | Replicate /MySQL VM as New MySQL VM 2 | Deploy and start all /New MySQL VM 3 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/commands/single-line-commands.txt: -------------------------------------------------------------------------------- 1 | 2 | define VAR = vm 3 | define id = $(VAR) $(SMART_INDEX) 4 | create vm as $(id) 5 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/instanceof-extra-char.instances: -------------------------------------------------------------------------------- 1 | instance of server { failed comment 2 | name: server1; 3 | } 4 | -------------------------------------------------------------------------------- /core/roboconf-dm-templating/src/test/resources/invalid-templates/wrong-installer.txt.tpl: -------------------------------------------------------------------------------- 1 | {{#all '*' installer='unknown' }} 2 | - {{path}} 3 | {{/all}} 4 | -------------------------------------------------------------------------------- /core/roboconf-dm-templating/src/test/resources/output/get-exports.txt: -------------------------------------------------------------------------------- 1 | - MySqlVm 2 | - ApacheVm 3 | apacheVm.extra = bonus 4 | - TomcatVm1 5 | - TomcatVm2 6 | -------------------------------------------------------------------------------- /core/roboconf-dm/src/test/resources/autonomic/rules-with-custom-child-name.cfg: -------------------------------------------------------------------------------- 1 | [reaction replicated Replicate-Instance] 2 | tomcat-vm WHERE %2 with CPT 3 | -------------------------------------------------------------------------------- /core/roboconf-plugin-puppet/src/test/resources/with-init/roboconf_withinit_module/templates/WithInitTemplate.erb: -------------------------------------------------------------------------------- 1 | Template file for WithInit application. 2 | -------------------------------------------------------------------------------- /core/roboconf-plugin-script/src/test/resources/BashTemplateInvalid/roboconf-templates/deploy.template: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | Some invalid {{ mustache markup } 3 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-maven-plugin/src/test/projects/recipe/src/main/model/graph/MySQL/readme.md: -------------------------------------------------------------------------------- 1 | We should have the recipe for MySQL in this directory. 2 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/instanceof-line-number.instances: -------------------------------------------------------------------------------- 1 | instance of a { 2 | 3 | # a comment 4 | 5 | name: server1; 6 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/unresolved-facet.graph: -------------------------------------------------------------------------------- 1 | A { 2 | facets: F1, F2; 3 | } 4 | 5 | facet F1 { 6 | exports: ip; 7 | } 8 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/valid/instance-single-n-simple.instances: -------------------------------------------------------------------------------- 1 | ## 2 | # A simple instance 3 | ## 4 | 5 | instance of vm { 6 | 7 | } -------------------------------------------------------------------------------- /core/roboconf-plugin-puppet/src/test/resources/with-operations/roboconf_withoperations_module/files/WithOperationsFile.txt: -------------------------------------------------------------------------------- 1 | File from WithOperations component. 2 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-maven-plugin/src/it/single-valid-module/src/main/model/graph/VM/target.properties: -------------------------------------------------------------------------------- 1 | id: target-id 2 | handler: test 3 | name: my target 4 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-maven-plugin/src/test/projects/target-ok-single/src/main/resources/test.properties: -------------------------------------------------------------------------------- 1 | id: tid 2 | handler: in-memory 3 | name: some name 4 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/applications/lamp-legacy-with-facets-and-so-on/graph/VM/target.properties: -------------------------------------------------------------------------------- 1 | id = tid 2 | handler = test 3 | name = some name 4 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/commands/email-command-with-line-breaks.txt: -------------------------------------------------------------------------------- 1 | 2 | email toto@company.net with \ 3 | Subject: Alert!\n\ 4 | This is an alert. 5 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/component-duplicate-property.graph: -------------------------------------------------------------------------------- 1 | 2 | Component { 3 | installer: bash; 4 | installer: puppet; 5 | } 6 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/inexisting-child-in-component.graph: -------------------------------------------------------------------------------- 1 | 2 | root { 3 | installer: target; 4 | children: server; 5 | } 6 | -------------------------------------------------------------------------------- /core/roboconf-dm-templating/src/test/resources/output/select-by-path.txt: -------------------------------------------------------------------------------- 1 | - /MySqlVm/MySql 2 | - /ApacheVm/Apache 3 | - /TomcatVm1/Tomcat 4 | - /TomcatVm2/Tomcat 5 | -------------------------------------------------------------------------------- /core/roboconf-dm-templating/src/test/resources/templates/select-by-installer-and-component.txt.tpl: -------------------------------------------------------------------------------- 1 | {{#all Tomcat installer="docker"}} 2 | - {{path}} 3 | {{/all}} 4 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-maven-plugin/src/test/projects/project--valid/src/main/model/graph/Apache/readme.md: -------------------------------------------------------------------------------- 1 | We should have the recipe for Apache in this directory. 2 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-maven-plugin/src/test/projects/project--valid/src/main/model/graph/MySQL/readme.md: -------------------------------------------------------------------------------- 1 | We should have the recipe for MySQL in this directory. 2 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-maven-plugin/src/test/projects/project--valid/src/main/model/graph/VM/target.properties: -------------------------------------------------------------------------------- 1 | id: target-id 2 | handler: test 3 | name: my target 4 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-maven-plugin/src/test/projects/target-ok-with-scripts/src/main/resources/test.properties: -------------------------------------------------------------------------------- 1 | id: tid 2 | handler: in-memory 3 | name: some name 4 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/commands/multi-line-commands.txt: -------------------------------------------------------------------------------- 1 | 2 | define VAR = vm 3 | define id = $(VAR) $(SMART_INDEX) 4 | 5 | create vm \ 6 | as $(id) 7 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/instanceof-invalid-end.instances: -------------------------------------------------------------------------------- 1 | instance of server { 2 | name: server1; 3 | } instance of toto { 4 | 5 | } -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/unresolved-extended-facet.graph: -------------------------------------------------------------------------------- 1 | A { 2 | facets: F1, F2; 3 | } 4 | 5 | facet F1 { 6 | exports: ip; 7 | } 8 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-doc-generator/src/test/resources/lamp/doc/app.desc_fr_FR.txt: -------------------------------------------------------------------------------- 1 | Ceci est la description de mon application (avec le mot significatif pour les tests). 2 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-maven-plugin/src/it/valid-multi-modules/module-a/src/main/model/graph/VM/target.properties: -------------------------------------------------------------------------------- 1 | id: target-id-1 2 | handler: test 3 | name: my target 4 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-maven-plugin/src/it/valid-multi-modules/module-b/src/main/model/graph/VM2/target.properties: -------------------------------------------------------------------------------- 1 | id: target-id-2 2 | handler: test 3 | name: my target 4 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-maven-plugin/src/test/projects/recipe-with-instances/src/main/model/graph/MySQL/readme.md: -------------------------------------------------------------------------------- 1 | We should have the recipe for MySQL in this directory. 2 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-maven-plugin/src/test/projects/recipe-with-instances/src/main/model/instances/initial.instances: -------------------------------------------------------------------------------- 1 | 2 | instance of MySQL { 3 | name: MySQL; 4 | } 5 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/graph-with-invalid-import.graph: -------------------------------------------------------------------------------- 1 | 2 | import it-does-not-exist.graph; 3 | 4 | VM { 5 | installer: target; 6 | } 7 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/reusable.recipe.with.errors.2/graph/main.graph: -------------------------------------------------------------------------------- 1 | cassandra { 2 | installer: script; 3 | imports: cassandra.*; 4 | exports: ip; 5 | } 6 | -------------------------------------------------------------------------------- /core/roboconf-dm-templating/src/test/resources/templates/get-data.txt.tpl: -------------------------------------------------------------------------------- 1 | {{#all Vm}} 2 | - {{name}} 3 | {{#each data}} 4 | {{name}} = {{value}} 5 | {{/each}} 6 | {{/all}} 7 | -------------------------------------------------------------------------------- /core/roboconf-plugin-puppet/src/test/resources/with-operations/roboconf_withoperations_module/templates/WithOperationsTemplate.erb: -------------------------------------------------------------------------------- 1 | Template from WithOperations component. 2 | -------------------------------------------------------------------------------- /core/roboconf-dm-templating/src/test/resources/templates/get-exports.txt.tpl: -------------------------------------------------------------------------------- 1 | {{#all Vm}} 2 | - {{name}} 3 | {{#each exports}} 4 | {{name}} = {{value}} 5 | {{/each}} 6 | {{/all}} 7 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/applications/lamp-legacy-with-facets-and-so-on/graph/reusables/commons.graph: -------------------------------------------------------------------------------- 1 | 2 | VM { 3 | facets: Virtual_Machine; 4 | installer: target; 5 | } 6 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/component-self-imports.graph: -------------------------------------------------------------------------------- 1 | A { 2 | installer: target; 3 | exports: port = 8081, ip; 4 | imports: A.port, A.ip; 5 | } 6 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/instanceof-invalid-property-2.instances: -------------------------------------------------------------------------------- 1 | instance of server { 2 | name: server; 3 | configuration = master-slave; 4 | } 5 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/instances-with-inexisting-import.instances: -------------------------------------------------------------------------------- 1 | 2 | instance of VM { 3 | name: toto; 4 | } 5 | 6 | import it-does-not-exist; 7 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/valid/only-import-3.graph: -------------------------------------------------------------------------------- 1 | 2 | import otherDefinition.txt; 3 | 4 | import otherDefinition-2.txt; 5 | import otherDefinition-3.txt; 6 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/applications/simple/graph/VM/target.properties: -------------------------------------------------------------------------------- 1 | # In-memory VM 2 | id = target-id 3 | handler = in-memory 4 | name = my target 5 | in-memory.delay = 30 6 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/properties/after.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roboconf/roboconf-platform/HEAD/core/roboconf-core/src/test/resources/properties/after.properties -------------------------------------------------------------------------------- /miscellaneous/roboconf-doc-generator/src/test/resources/recipe/graph/lamp.graph: -------------------------------------------------------------------------------- 1 | # MySQL database 2 | MySQL { 3 | installer: puppet-or-bash-chef---; 4 | exports: ip, port = 3306; 5 | } 6 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-tooling-core/src/test/resources/completion/app3/descriptor/application.properties: -------------------------------------------------------------------------------- 1 | 2 | graph-entry-point = edited3.graph 3 | instance-entry-point = initial.instances 4 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/instanceof-imbricated-missing-closing-cb.instances: -------------------------------------------------------------------------------- 1 | instance of vm { 2 | name: my-vm; 3 | instance of { 4 | name: server1; 5 | 6 | } -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/instanceof-imbricated-missing-opening-cb.instances: -------------------------------------------------------------------------------- 1 | instance of vm { 2 | name: my-vm; 3 | instance of 4 | name: server1; 5 | } 6 | } -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/valid/component-optional-imports.graph: -------------------------------------------------------------------------------- 1 | A { 2 | installer: bash; 3 | exports: port, ip; 4 | imports: A.port (optional), A.ip (optional); 5 | } -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/properties/before.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roboconf/roboconf-platform/HEAD/core/roboconf-core/src/test/resources/properties/before.properties -------------------------------------------------------------------------------- /miscellaneous/roboconf-doc-generator/src/main/resources/roboconf.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roboconf/roboconf-platform/HEAD/miscellaneous/roboconf-doc-generator/src/main/resources/roboconf.jpg -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/component-with-invalid-random-port-value.graph: -------------------------------------------------------------------------------- 1 | 2 | comp2 { 3 | installer: target; 4 | exports: ip, random[port] httpPort = 6548; 5 | } 6 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/conflicting-names.graph: -------------------------------------------------------------------------------- 1 | 2 | type { 3 | installer: target; 4 | facets: type; 5 | } 6 | 7 | facet type { 8 | # nothing 9 | } 10 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/instanceof-imbricated-invalid-property.instances: -------------------------------------------------------------------------------- 1 | instance of vm { 2 | name: my-vm; 3 | instance of server { 4 | name= 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /core/roboconf-dm-templating/src/test/resources/invalid-templates/invalid-specific-properties-with-if.txt.tpl: -------------------------------------------------------------------------------- 1 | {{#all Vm}} 2 | {{#data}}{{#is-key 'not here'}}{{value}}{{/is-key}}{{/data}} 3 | {{/all}} 4 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-maven-plugin/src/test/projects/recipe/src/main/model/graph/lamp.graph: -------------------------------------------------------------------------------- 1 | # MySQL database 2 | MySQL { 3 | installer: puppet-or-bash-chef---; 4 | exports: ip, port = 3306; 5 | } 6 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/applications/lamp-legacy-with-facets-and-so-on/graph/aggregator.graph: -------------------------------------------------------------------------------- 1 | 2 | # Just a file that redirect to another imported file 3 | import reusables/commons.graph; 4 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/commands/commands-in-error.txt: -------------------------------------------------------------------------------- 1 | 2 | defin VAR = vm 3 | define id = $(VAR) $(SMART_INDEX) 4 | create vm \ 5 | as $(id) 6 | 7 | create oops \ 8 | as instance $(id) 9 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/flexibles/two-components-no-property.graph: -------------------------------------------------------------------------------- 1 | 2 | comp1 { 3 | exports: ip, port; 4 | installer: script; 5 | } 6 | 7 | comp2 { 8 | 9 | } 10 | -------------------------------------------------------------------------------- /core/roboconf-dm-templating/src/test/resources/output/get-specific-properties-with-if.txt: -------------------------------------------------------------------------------- 1 | - MySqlVm => ds4sd14sdsfkdf 2 | - ApacheVm => 3 | - TomcatVm1 => ds4sd14sdsfkdf 4 | - TomcatVm2 => ds4sd14sdsfkdf 5 | -------------------------------------------------------------------------------- /core/roboconf-dm-templating/src/test/resources/output/select-alternatives.txt: -------------------------------------------------------------------------------- 1 | - /MySqlVm 2 | - /ApacheVm 3 | - /TomcatVm1 4 | - /TomcatVm1/Tomcat/WebApp 5 | - /TomcatVm2 6 | - /TomcatVm2/Tomcat/WebApp 7 | -------------------------------------------------------------------------------- /core/roboconf-dm-templating/src/test/resources/templates/get-specific-properties-with-if.txt.tpl: -------------------------------------------------------------------------------- 1 | {{#all Vm}} 2 | - {{name}} => {{#data}}{{#is-key 'machine.id'}}{{value}}{{/is-key}}{{/data}} 3 | {{/all}} 4 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/component-inexisting-children.graph: -------------------------------------------------------------------------------- 1 | VM { 2 | installer: target; 3 | children: A, B, C; 4 | } 5 | 6 | A { 7 | installer: puppet; 8 | } 9 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/component-with-invalid-random-port.graph: -------------------------------------------------------------------------------- 1 | 2 | comp2 { 3 | installer: target; 4 | exports: ip, random[port] httpPort, random[string] ajpPort; 5 | } 6 | -------------------------------------------------------------------------------- /core/roboconf-dm-templating/src/test/resources/output/all.txt: -------------------------------------------------------------------------------- 1 | - MySqlVm 2 | - MySql 3 | - ApacheVm 4 | - Apache 5 | - TomcatVm1 6 | - Tomcat 7 | - WebApp 8 | - TomcatVm2 9 | - Tomcat 10 | - WebApp 11 | -------------------------------------------------------------------------------- /core/roboconf-dm-web-administration/src/main/webapp/roboconf--mirrored.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roboconf/roboconf-platform/HEAD/core/roboconf-dm-web-administration/src/main/webapp/roboconf--mirrored.jpg -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/instanceof-imbricated-extra-char.instances: -------------------------------------------------------------------------------- 1 | instance of vm { 2 | name: my-vm; 3 | instance of server { failed comment 4 | name: server1; 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /core/roboconf-dm-templating/src/test/resources/templates/select-alternatives.txt.tpl: -------------------------------------------------------------------------------- 1 | {{! Should display everything except Apache and Tomcats }} 2 | {{#all 'Vm | MySQL | */Tom*/War' }} 3 | - {{path}} 4 | {{/all}} 5 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-maven-plugin/src/it/valid-multi-modules/module-b/src/main/model/graph/main.graph: -------------------------------------------------------------------------------- 1 | import net.roboconf.test/module-a/main.graph; 2 | 3 | VM2 { 4 | installer: target; 5 | extends: VM; 6 | } 7 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-maven-plugin/src/test/projects/recipe-with-instances/src/main/model/graph/lamp.graph: -------------------------------------------------------------------------------- 1 | # MySQL database 2 | MySQL { 3 | installer: puppet-or-bash-chef---; 4 | exports: ip, port = 3306; 5 | } 6 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/external-is-keyword-for-imports.graph: -------------------------------------------------------------------------------- 1 | 2 | t { 3 | installer: target; 4 | exports: mongoSeedExports, externalshare, shareexternal, external share; 5 | } 6 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/unresolvable-facet.graph: -------------------------------------------------------------------------------- 1 | A { 2 | facets: F1, F2; 3 | } 4 | 5 | facet F1 { 6 | exports: ip; 7 | } 8 | 9 | facet F2 { 10 | extends: F5; 11 | } 12 | -------------------------------------------------------------------------------- /core/roboconf-dm-templating/src/test/resources/output/all-by-mistake.txt: -------------------------------------------------------------------------------- 1 | - MySqlVm 2 | - MySql 3 | - ApacheVm 4 | - Apache 5 | - TomcatVm1 6 | - Tomcat 7 | - WebApp 8 | - TomcatVm2 9 | - Tomcat 10 | - WebApp 11 | -------------------------------------------------------------------------------- /core/roboconf-plugin-script/src/test/resources/BashScript/scripts/stop: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | mkdir -p /tmp/roboconf-test-for-bash 3 | cp $ROBOCONF_FILES_DIR/BashScriptFile.txt /tmp/roboconf-test-for-bash/BashScriptFile.stop 4 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/mix.txt: -------------------------------------------------------------------------------- 1 | # We mix graph and instance definitions => error 2 | 3 | Toto { 4 | installer: target; 5 | } 6 | 7 | instance of Toto { 8 | name: toto; 9 | } 10 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/valid/commented-import-2.graph: -------------------------------------------------------------------------------- 1 | 2 | # This a commented import 3 | # with blank lines. 4 | 5 | # How bad! 6 | 7 | import otherDefinition.txt; 8 | 9 | # ... 10 | -------------------------------------------------------------------------------- /core/roboconf-dm-templating/src/test/resources/output/all-with-wildcards.txt: -------------------------------------------------------------------------------- 1 | - MySqlVm 2 | - MySql 3 | - ApacheVm 4 | - Apache 5 | - TomcatVm1 6 | - Tomcat 7 | - WebApp 8 | - TomcatVm2 9 | - Tomcat 10 | - WebApp 11 | -------------------------------------------------------------------------------- /core/roboconf-plugin-script/src/test/resources/BashScript/scripts/deploy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | mkdir -p /tmp/roboconf-test-for-bash 3 | cp $ROBOCONF_FILES_DIR/BashScriptFile.txt /tmp/roboconf-test-for-bash/BashScriptFile.deploy 4 | -------------------------------------------------------------------------------- /core/roboconf-plugin-script/src/test/resources/BashScript/scripts/start.bash: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | mkdir -p /tmp/roboconf-test-for-bash 3 | cp $ROBOCONF_FILES_DIR/BashScriptFile.txt /tmp/roboconf-test-for-bash/BashScriptFile.start 4 | -------------------------------------------------------------------------------- /core/roboconf-plugin-script/src/test/resources/BashScript/scripts/update.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | mkdir -p /tmp/roboconf-test-for-bash 3 | cp $ROBOCONF_FILES_DIR/BashScriptFile.txt /tmp/roboconf-test-for-bash/BashScriptFile.update 4 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-maven-plugin/src/test/projects/project--valid/src/main/model/graph/Tomcat/readme.md: -------------------------------------------------------------------------------- 1 | We should have the recipe for Tomcat in this directory. 2 | This should not be filtered by Maven. ${project.version} 3 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-tooling-core/src/test/resources/completion/app1/graph/edited1.graph: -------------------------------------------------------------------------------- 1 | 2 | # This is a comment 3 | # over several lines. 4 | 5 | 6 | facet f1 { 7 | 8 | } 9 | 10 | c1 { 11 | 12 | } 13 | 14 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/instanceof-imbricated-invalid-end.instances: -------------------------------------------------------------------------------- 1 | instance of vm { 2 | name: my-vm; 3 | instance of server { 4 | name: server1; 5 | } instance of toto { 6 | 7 | } 8 | } -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/instanceof-very-imbricated-invalid-property.instances: -------------------------------------------------------------------------------- 1 | instance of wrapper { 2 | instance of vm { 3 | name: my-vm; 4 | instance of server { 5 | name= 6 | } 7 | } 8 | } -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/instanceof-very-imbricated-missing-closing-cb.instances: -------------------------------------------------------------------------------- 1 | instance of wrapper { 2 | instance of vm { 3 | name: my-vm; 4 | instance of { 5 | name: server1; 6 | } 7 | } -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/rules.autonomic/rule-with-time-constraints.drl: -------------------------------------------------------------------------------- 1 | RULE "test" 2 | 3 | Sleep period is 8s 4 | Time window is 60 // The 's' is optional 5 | 6 | WHEN 7 | event-1 8 | THEN 9 | cmd1 10 | END 11 | -------------------------------------------------------------------------------- /core/roboconf-dm-templating/src/test/resources/templates/basic.txt.tpl: -------------------------------------------------------------------------------- 1 | { 2 | "VMs": [ 3 | {{#all Vm}} 4 | { 5 | "path": "{{path}}, 6 | "status": "{{status}}" 7 | }, 8 | {{/all}} 9 | ] 10 | } 11 | -------------------------------------------------------------------------------- /core/roboconf-plugin-script/src/test/resources/BashScript/scripts/undeploy.whatever: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | mkdir -p /tmp/roboconf-test-for-bash 3 | cp $ROBOCONF_FILES_DIR/BashScriptFile.txt /tmp/roboconf-test-for-bash/BashScriptFile.undeploy 4 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-maven-plugin/src/test/projects/project--invalid-app/src/main/model/readme.md: -------------------------------------------------------------------------------- 1 | Oops! No application here. 2 | Since the structure is not the one expected by Roboconf's core validation, 3 | the mojo will fail. 4 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/duplicate-component.graph: -------------------------------------------------------------------------------- 1 | componentA { 2 | installer: whatever; 3 | } 4 | 5 | componentB { 6 | installer: B; 7 | } 8 | 9 | componentA { 10 | installer: whatever; 11 | } 12 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/instanceof-very-imbricated-missing-opening-cb.instances: -------------------------------------------------------------------------------- 1 | instance of wrapper { 2 | instance of vm { 3 | name: my-vm; 4 | 5 | instance of 6 | name: server1; 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/valid/component-external-imports.graph: -------------------------------------------------------------------------------- 1 | A { 2 | installer: bash; 3 | exports: port, ip; 4 | imports: A.port (optional), A.ip (optional), external App.toto, exTernal App2.ip (optional); 5 | } -------------------------------------------------------------------------------- /core/roboconf-dm/src/test/resources/commands/email-commands.txt: -------------------------------------------------------------------------------- 1 | 2 | email toto@company.net with \ 3 | Subject: Alert!\n\ 4 | This is an alert. 5 | 6 | email p1@c.com, p3@c.com with This message \ 7 | is splitted \ 8 | over several lines! 9 | -------------------------------------------------------------------------------- /core/roboconf-plugin-script/src/test/resources/BashTemplate/roboconf-templates/stop.template: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | mkdir -p /tmp/roboconf-test-for-bash 3 | cp $ROBOCONF_FILES_DIR/BashTemplateFile.txt /tmp/roboconf-test-for-bash/BashTemplateFile.stop 4 | -------------------------------------------------------------------------------- /karaf/roboconf-karaf-commands-dm/src/main/resources/OSGI-INF/bundle.info: -------------------------------------------------------------------------------- 1 | \u001B[1mSYNOPSIS\u001B[0m 2 | This bundle is part of the Roboconf project. 3 | 4 | \u001B[1mDESCRIPTION\u001B[0m 5 | A set of Karaf commands dedicated to the DM. 6 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/valid/instance-with-extra-data.instances: -------------------------------------------------------------------------------- 1 | 2 | instance of VM { 3 | name: VM1; 4 | data.ec2.elastic.ip: 192.168.1.10; 5 | 6 | instance of Tomcat { 7 | name: Tomcat; 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /core/roboconf-dm-templating/src/test/resources/templates/basic-with-quotes.txt.tpl: -------------------------------------------------------------------------------- 1 | { 2 | "VMs": [ 3 | {{#all 'Vm' }} 4 | { 5 | "path": "{{path}}, 6 | "status": "{{status}}" 7 | }, 8 | {{/all}} 9 | ] 10 | } 11 | -------------------------------------------------------------------------------- /core/roboconf-plugin-script/src/test/resources/BashTemplate/roboconf-templates/deploy.template: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | mkdir -p /tmp/roboconf-test-for-bash 3 | cp $ROBOCONF_FILES_DIR/BashTemplateFile.txt /tmp/roboconf-test-for-bash/BashTemplateFile.deploy 4 | -------------------------------------------------------------------------------- /core/roboconf-plugin-script/src/test/resources/BashTemplate/roboconf-templates/start.template: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | mkdir -p /tmp/roboconf-test-for-bash 3 | cp $ROBOCONF_FILES_DIR/BashTemplateFile.txt /tmp/roboconf-test-for-bash/BashTemplateFile.start 4 | -------------------------------------------------------------------------------- /core/roboconf-plugin-script/src/test/resources/BashTemplate/roboconf-templates/update.template: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | mkdir -p /tmp/roboconf-test-for-bash 3 | cp $ROBOCONF_FILES_DIR/BashTemplateFile.txt /tmp/roboconf-test-for-bash/BashTemplateFile.update 4 | -------------------------------------------------------------------------------- /core/roboconf-plugin-script/src/test/resources/BashTemplate/roboconf-templates/undeploy.template: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | mkdir -p /tmp/roboconf-test-for-bash 3 | cp $ROBOCONF_FILES_DIR/BashTemplateFile.txt /tmp/roboconf-test-for-bash/BashTemplateFile.undeploy 4 | -------------------------------------------------------------------------------- /core/roboconf-target-docker/src/test/resources/image/alpine/Dockerfile: -------------------------------------------------------------------------------- 1 | # Set the base image to Alpine 2 | FROM alpine:latest 3 | 4 | # Put a default command to execute. 5 | # This one will keep the container running. 6 | CMD ["tail", "-f", "/dev/null"] 7 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/instanceof-very-imbricated-extra-char.instances: -------------------------------------------------------------------------------- 1 | instance of wrapper { 2 | instance of vm { 3 | name: my-vm; 4 | instance of server { failed comment 5 | name: server1; 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /karaf/roboconf-karaf-commands-agent/src/main/resources/OSGI-INF/bundle.info: -------------------------------------------------------------------------------- 1 | \u001B[1mSYNOPSIS\u001B[0m 2 | This bundle is part of the Roboconf project. 3 | 4 | \u001B[1mDESCRIPTION\u001B[0m 5 | A set of Karaf commands dedicated to Roboconf agents. 6 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/valid/instance-imbricated-1.instances: -------------------------------------------------------------------------------- 1 | # Imbricated instances 2 | 3 | instance of vm { 4 | name: vm1; # the VM name 5 | 6 | instance of server { 7 | name: server; 8 | port: 9878; 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /core/roboconf-target-iaas-vmware/src/main/resources/OSGI-INF/bundle.info: -------------------------------------------------------------------------------- 1 | \u001B[1mSYNOPSIS\u001B[0m 2 | This bundle is part of the Roboconf project. 3 | 4 | \u001B[1mDESCRIPTION\u001B[0m 5 | This bundles defines a Roboconf handler to interact with VMWare. 6 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-tooling-core/src/main/resources/application-skeleton.props: -------------------------------------------------------------------------------- 1 | name = ${NAME} 2 | version = ${VERSION} 3 | 4 | dsl-id = roboconf-1.0 5 | description = ${DESCRIPTION} 6 | 7 | graph-entry-point = main.graph 8 | instance-entry-point = model.instances 9 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-tooling-core/src/test/resources/completion/app1/instances/initial.instances: -------------------------------------------------------------------------------- 1 | 2 | # This is a comment 3 | # over several lines. 4 | 5 | instance of c1 { 6 | 7 | instance of c2 { # inline comment 8 | 9 | } 10 | 11 | } 12 | 13 | 14 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/applications/lamp-legacy-with-facets-and-so-on/graph/facets.graph: -------------------------------------------------------------------------------- 1 | 2 | facet Virtual_Machine { 3 | children: deployable; 4 | exports: ip; 5 | } 6 | 7 | # The deployable facet 8 | Facet deployable { 9 | # nothing 10 | } 11 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/valid/commented-facet-2.graph: -------------------------------------------------------------------------------- 1 | 2 | # This is a facet 3 | # with more complex comments 4 | 5 | # Apache 6 | facet apache { 7 | # A single property; 8 | children: none; 9 | # After the property 10 | } 11 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/reusable.recipe/graph/main.graph: -------------------------------------------------------------------------------- 1 | Apache-mjk-latest { 2 | installer: something; 3 | imports: loadbalance_able_ajp.*; 4 | exports: ip; 5 | } 6 | 7 | facet loadbalance_able_ajp { 8 | exports: ip, portAJP = 8009; 9 | } 10 | -------------------------------------------------------------------------------- /core/roboconf-target-iaas-azure/src/main/resources/OSGI-INF/bundle.info: -------------------------------------------------------------------------------- 1 | \u001B[1mSYNOPSIS\u001B[0m 2 | This bundle is part of the Roboconf project. 3 | 4 | \u001B[1mDESCRIPTION\u001B[0m 5 | This bundles defines a Roboconf handler to interact with Microsoft Azure. 6 | -------------------------------------------------------------------------------- /core/roboconf-target-iaas-ec2/src/main/resources/OSGI-INF/bundle.info: -------------------------------------------------------------------------------- 1 | \u001B[1mSYNOPSIS\u001B[0m 2 | This bundle is part of the Roboconf project. 3 | 4 | \u001B[1mDESCRIPTION\u001B[0m 5 | This bundles defines a Roboconf handler to interact with Amazon Web Services. 6 | -------------------------------------------------------------------------------- /core/roboconf-target-iaas-openstack/src/main/resources/OSGI-INF/bundle.info: -------------------------------------------------------------------------------- 1 | \u001B[1mSYNOPSIS\u001B[0m 2 | This bundle is part of the Roboconf project. 3 | 4 | \u001B[1mDESCRIPTION\u001B[0m 5 | This bundles defines a Roboconf handler to interact with Openstack. 6 | -------------------------------------------------------------------------------- /karaf/roboconf-karaf-commands-common/src/main/resources/OSGI-INF/bundle.info: -------------------------------------------------------------------------------- 1 | \u001B[1mSYNOPSIS\u001B[0m 2 | This bundle is part of the Roboconf project. 3 | 4 | \u001B[1mDESCRIPTION\u001B[0m 5 | A set of Karaf commands that are common to both the DM and agents. 6 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/valid/commented-component-2.graph: -------------------------------------------------------------------------------- 1 | 2 | # Simple component 3 | # with multi-line comment 4 | 5 | # and badly-formatted! 6 | 7 | apache { 8 | 9 | exports: ip; # in-line comment 10 | 11 | } 12 | 13 | # end comment -------------------------------------------------------------------------------- /core/roboconf-dm-templating/src/test/resources/templates/get-imports.txt.tpl: -------------------------------------------------------------------------------- 1 | {{#all Vm}} 2 | - {{name}} 3 | {{#each imports}} 4 | instance = {{instance.path}} 5 | variables = {{#each variables}} 6 | {{name}} = {{value}} 7 | {{/each}} 8 | {{/each}} 9 | {{/all}} 10 | -------------------------------------------------------------------------------- /core/roboconf-target-iaas-occi/src/main/resources/OSGI-INF/bundle.info: -------------------------------------------------------------------------------- 1 | \u001B[1mSYNOPSIS\u001B[0m 2 | This bundle is part of the Roboconf project. 3 | 4 | \u001B[1mDESCRIPTION\u001B[0m 5 | This bundle defines a Roboconf handler to interact with OCCI Infrastructure APIs. 6 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/instanceof-very-imbricated-invalid-end.instances: -------------------------------------------------------------------------------- 1 | instance of wrapper { 2 | instance of vm { 3 | name: my-vm; 4 | instance of server { 5 | name: server1; 6 | } instance of toto { 7 | 8 | } 9 | } 10 | } -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/valid/facet-as-child.graph: -------------------------------------------------------------------------------- 1 | Tomcat { 2 | installer: puppet; 3 | exports: ip, portAJP = 8009; 4 | children: WebApp; 5 | } 6 | 7 | facet WebApp { 8 | exports: url; 9 | } 10 | 11 | App { 12 | facets: WebApp; 13 | } 14 | -------------------------------------------------------------------------------- /core/roboconf-dm-scheduler/src/main/resources/OSGI-INF/bundle.info: -------------------------------------------------------------------------------- 1 | \u001B[1mSYNOPSIS\u001B[0m 2 | This bundle is part of the Roboconf project. 3 | 4 | \u001B[1mDESCRIPTION\u001B[0m 5 | This bundle runs a Quartz instance to schedule the 6 | execution of Roboconf commands. 7 | -------------------------------------------------------------------------------- /karaf/roboconf-karaf-decanter-collector-dm/src/main/resources/OSGI-INF/bundle.info: -------------------------------------------------------------------------------- 1 | \u001B[1mSYNOPSIS\u001B[0m 2 | This bundle is part of the Roboconf project. 3 | 4 | \u001B[1mDESCRIPTION\u001B[0m 5 | This bundle is an event driven collector for karaf - Decanter in the DM. 6 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/reusable.recipe.with.errors.1/graph/main.graph: -------------------------------------------------------------------------------- 1 | Apache-mjk-latest { 2 | installer: something; 3 | imports: loadbalance_able_ajp.*, f.*; 4 | exports: ip; 5 | } 6 | 7 | facet loadbalance_able_ajp { 8 | exports: ip, portAJP = 8009; 9 | } 10 | -------------------------------------------------------------------------------- /core/roboconf-dm-templating/src/test/resources/templates/basic-with-custom-output.txt.tpl: -------------------------------------------------------------------------------- 1 | {{! roboconf-output: %DIR% }} 2 | { 3 | "VMs": [ 4 | {{#all Vm}} 5 | { 6 | "path": "{{path}}, 7 | "status": "{{status}}" 8 | }, 9 | {{/all}} 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-tooling-core/src/main/resources/instances-skeleton.instances: -------------------------------------------------------------------------------- 1 | ######################## 2 | # Component Instances 3 | ######################## 4 | 5 | instance of vm { 6 | name: my vm; 7 | 8 | instance of server { 9 | name: my server; 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /core/roboconf-core/src/main/resources/OSGI-INF/bundle.info: -------------------------------------------------------------------------------- 1 | \u001B[1mSYNOPSIS\u001B[0m 2 | This bundle is part of the Roboconf project. 3 | 4 | \u001B[1mDESCRIPTION\u001B[0m 5 | The core module embeds the model definition, parsing, validation and general utilities related to Roboconf. 6 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/duplicate-instance.instances: -------------------------------------------------------------------------------- 1 | # Overridden exports 2 | 3 | instance of VM { 4 | name: VM1; 5 | 6 | instance of Tomcat { 7 | name: tomcat; 8 | } 9 | 10 | instance of Tomcat { 11 | name: tomcat; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/inexisting-component.instances: -------------------------------------------------------------------------------- 1 | # Overridden exports 2 | 3 | instance of VM { 4 | name: VM1; 5 | 6 | instance of Apache { 7 | name: apache; 8 | } 9 | 10 | instance of Tomcat { 11 | name: tomcat; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /core/roboconf-dm-templating/src/test/resources/output/nested-loops.txt: -------------------------------------------------------------------------------- 1 | name = "MySqlVm" 2 | name = "ApacheVm" 3 | name = "TomcatVm1" 4 | 5 | name = "Tomcat" 6 | path = /TomcatVm1/Tomcat 7 | 8 | name = "TomcatVm2" 9 | 10 | name = "Tomcat" 11 | path = /TomcatVm2/Tomcat 12 | 13 | -------------------------------------------------------------------------------- /core/roboconf-messaging-http/src/main/resources/OSGI-INF/bundle.info: -------------------------------------------------------------------------------- 1 | \u001B[1mSYNOPSIS\u001B[0m 2 | This bundle is part of the Roboconf project. 3 | 4 | \u001B[1mDESCRIPTION\u001B[0m 5 | This bundle contains an implementation of Roboconf's messaging API 6 | based on web sockets. 7 | -------------------------------------------------------------------------------- /core/roboconf-messaging-rabbitmq/src/main/resources/OSGI-INF/bundle.info: -------------------------------------------------------------------------------- 1 | \u001B[1mSYNOPSIS\u001B[0m 2 | This bundle is part of the Roboconf project. 3 | 4 | \u001B[1mDESCRIPTION\u001B[0m 5 | This bundle contains an implementation of Roboconf's messaging API 6 | based on Rabbit MQ. 7 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/applications/root-exporting-variables/instances/example.instances: -------------------------------------------------------------------------------- 1 | instance of VM { 2 | name: vm1; 3 | instance of App { 4 | name: app; 5 | } 6 | } 7 | 8 | instance of VM { 9 | name: vm2; 10 | instance of App { 11 | name: app; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/rules.autonomic/rule-with-comments.drl: -------------------------------------------------------------------------------- 1 | // This is a rule with comments 2 | 3 | rule /* oops */ "test" 4 | when 5 | event-1 // if event-1 arises... 6 | then 7 | /* 8 | * Execute cmd1 9 | */ 10 | cmd1; 11 | cmd2; 12 | cmd3 13 | cmd4 14 | end 15 | -------------------------------------------------------------------------------- /core/roboconf-dm-rest-services/src/main/resources/OSGI-INF/bundle.info: -------------------------------------------------------------------------------- 1 | \u001B[1mSYNOPSIS\u001B[0m 2 | This bundle is part of the Roboconf project. 3 | 4 | \u001B[1mDESCRIPTION\u001B[0m 5 | This module exposes a REST API to access Roboconf's DM. 6 | It relies on OSGi's HTTP service. 7 | -------------------------------------------------------------------------------- /core/roboconf-plugin-puppet/src/main/resources/OSGI-INF/bundle.info: -------------------------------------------------------------------------------- 1 | \u001B[1mSYNOPSIS\u001B[0m 2 | This bundle is part of the Roboconf project. 3 | 4 | \u001B[1mDESCRIPTION\u001B[0m 5 | This bundle provides an agent extension that rely on Puppet to control the life cycle of Roboconf instances. 6 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-doc-generator/src/main/resources/net/roboconf/doc/generator/internal/nls/messages_fr_FR.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roboconf/roboconf-platform/HEAD/miscellaneous/roboconf-doc-generator/src/main/resources/net/roboconf/doc/generator/internal/nls/messages_fr_FR.properties -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/applications/app-with-random-ports/instances/initial.instances: -------------------------------------------------------------------------------- 1 | 2 | instance of VM { 3 | name: vm; 4 | 5 | instance of Container1 { 6 | name: container1; 7 | } 8 | 9 | instance of Container2 { 10 | name: container2; 11 | port: 45012; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/valid/component-with-complex-variables-values.graph: -------------------------------------------------------------------------------- 1 | 2 | component { 3 | exports: key1 = value1, key2 = value2; 4 | exports: key3 = "this is key number 3"; 5 | exports: random[port] key4="key4", key5= key5 , random[port] key6 = " key; 6 "; 6 | } 7 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-tooling-core/src/main/resources/OSGI-INF/bundle.info: -------------------------------------------------------------------------------- 1 | \u001B[1mSYNOPSIS\u001B[0m 2 | This bundle is part of the Roboconf project. 3 | 4 | \u001B[1mDESCRIPTION\u001B[0m 5 | This bundles groups Java utilities that can be used in tools, from editors to validation and build tools. 6 | -------------------------------------------------------------------------------- /core/roboconf-plugin-logger/src/main/resources/OSGI-INF/bundle.info: -------------------------------------------------------------------------------- 1 | \u001B[1mSYNOPSIS\u001B[0m 2 | This bundle is part of the Roboconf project. 3 | 4 | \u001B[1mDESCRIPTION\u001B[0m 5 | This bundle provides an agent extension that simply logs requested changes in the life cycle of Roboconf instances. 6 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/rules.autonomic/rule-with-comments-2.drl: -------------------------------------------------------------------------------- 1 | # This is a rule with comments 2 | 3 | rule /* oops */ "test" 4 | when 5 | event-1 # if event-1 arises... 6 | then 7 | /* 8 | * Execute cmd1 9 | */ 10 | cmd1; 11 | cmd2; 12 | cmd3 13 | cmd4 14 | // ignore it 15 | end 16 | -------------------------------------------------------------------------------- /core/roboconf-plugin-puppet/src/test/resources/with-init-invalid/roboconf_withinit_module/manifests/init.pp: -------------------------------------------------------------------------------- 1 | class roboconf_withinit_module($runningState = undef, $importDiff = undef, $withoperations = undef) { 2 | 3 | # What happens with an invalid Puppet script? 4 | And here comes an invalid command! :P 5 | } 6 | -------------------------------------------------------------------------------- /core/roboconf-plugin-script/src/main/resources/OSGI-INF/bundle.info: -------------------------------------------------------------------------------- 1 | \u001B[1mSYNOPSIS\u001B[0m 2 | This bundle is part of the Roboconf project. 3 | 4 | \u001B[1mDESCRIPTION\u001B[0m 5 | This bundle provides an agent extension that rely on scripting (eg. bash) to control the life cycle of Roboconf instances. 6 | -------------------------------------------------------------------------------- /karaf/roboconf-karaf-dist-dm/src/main/resources/etc/org.ops4j.datasource-roboconf-dm.cfg: -------------------------------------------------------------------------------- 1 | # JDBC configuration for the DM 2 | osgi.jdbc.driver.name = H2 3 | databaseName = roboconf-dm 4 | url = jdbc:h2:${karaf.data}/roboconf-dm-database 5 | user = roboconf 6 | password = roboconf 7 | dataSourceName = roboconf-dm-db 8 | -------------------------------------------------------------------------------- /core/roboconf-agent-monitoring-docker/src/main/resources/OSGI-INF/bundle.info: -------------------------------------------------------------------------------- 1 | \u001B[1mSYNOPSIS\u001B[0m 2 | This bundle is part of the Roboconf project. 3 | 4 | \u001B[1mDESCRIPTION\u001B[0m 5 | This bundle contains a monitoring extension for Roboconf agents 6 | and that is in charge of Docker containers. 7 | -------------------------------------------------------------------------------- /core/roboconf-target-jclouds/src/main/resources/OSGI-INF/bundle.info: -------------------------------------------------------------------------------- 1 | \u001B[1mSYNOPSIS\u001B[0m 2 | This bundle is part of the Roboconf project. 3 | 4 | \u001B[1mDESCRIPTION\u001B[0m 5 | This bundles defines a Roboconf handler to interact with various cloud providers 6 | through the Apache JClouds library. 7 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-dm-rest-client/src/main/resources/OSGI-INF/bundle.info: -------------------------------------------------------------------------------- 1 | \u001B[1mSYNOPSIS\u001B[0m 2 | This bundle is part of the Roboconf project. 3 | 4 | \u001B[1mDESCRIPTION\u001B[0m 5 | The DM's REST client provides a Java REST client which is compliant with 6 | the REST API exposed by Roboconf's DM. 7 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/valid/special-names.graph: -------------------------------------------------------------------------------- 1 | 2 | ImportingComponent { 3 | installer: target; 4 | } 5 | 6 | ExportingComponent { 7 | installer: target; 8 | } 9 | 10 | FacetComponent { 11 | installer: target; 12 | } 13 | 14 | InstanceOfComponent { 15 | installer: target; 16 | } 17 | -------------------------------------------------------------------------------- /core/roboconf-dm-templating/src/test/resources/output/get-data.txt: -------------------------------------------------------------------------------- 1 | - MySqlVm 2 | application.name = test-app 3 | machine.id = ds4sd14sdsfkdf 4 | - ApacheVm 5 | - TomcatVm1 6 | application.name = test-app 7 | machine.id = ds4sd14sdsfkdf 8 | - TomcatVm2 9 | application.name = test-app 10 | machine.id = ds4sd14sdsfkdf 11 | -------------------------------------------------------------------------------- /core/roboconf-dm/src/test/resources/autonomic/invalid.rules: -------------------------------------------------------------------------------- 1 | # This is a comment ;) 2 | # This files gathers all the reactions for a given application. 3 | 4 | # This is not a rule 5 | [reaction event-3] 6 | admin@company.com 7 | 8 | # This is not a rule 9 | [reaction event-4 Log something in a file] 10 | log.txt 11 | -------------------------------------------------------------------------------- /core/roboconf-messaging-api/src/main/resources/OSGI-INF/bundle.info: -------------------------------------------------------------------------------- 1 | \u001B[1mSYNOPSIS\u001B[0m 2 | This bundle is part of the Roboconf project. 3 | 4 | \u001B[1mDESCRIPTION\u001B[0m 5 | This bundle is in charge of abstracting the messaging business of Roboconf. 6 | It also embeds some implementations for this API. 7 | -------------------------------------------------------------------------------- /core/roboconf-plugin-api/src/main/resources/OSGI-INF/bundle.info: -------------------------------------------------------------------------------- 1 | \u001B[1mSYNOPSIS\u001B[0m 2 | This bundle is part of the Roboconf project. 3 | 4 | \u001B[1mDESCRIPTION\u001B[0m 5 | This bundle defines the API for agent extensions (or plugins). 6 | An agent extension manages the life cycle of Roboconf instances. 7 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Package Files # 4 | *.jar 5 | *.war 6 | *.ear 7 | 8 | # Maven related elements or those that can be generated from the POM 9 | .project 10 | .classpath 11 | /.externalToolBuilders 12 | /target 13 | /maven-eclipse.xml 14 | /.settings 15 | 16 | # Linux 17 | *~ 18 | 19 | #idea 20 | *.iml 21 | .idea/ -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/facet-without-component.graph: -------------------------------------------------------------------------------- 1 | vm { 2 | children: f; 3 | installer: target; 4 | } 5 | 6 | facet f { 7 | children: t; 8 | } 9 | 10 | # "t" is unreachable because there is no component with the "f" facet. 11 | t { 12 | installer: script; 13 | } 14 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-doc-generator/src/test/resources/recipe2/descriptor/application.properties: -------------------------------------------------------------------------------- 1 | # Application Descriptor for Roboconf 2 | application-name = Recipe 3 | application-version = 1.0-SNAPSHOT 4 | application-description = A recipe descriptor 5 | application-dsl-id = roboconf-1.0 6 | 7 | graph-entry-point = main.graph 8 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-tooling-core/src/test/resources/textactions/commented1.txt: -------------------------------------------------------------------------------- 1 | # Initial comment 2 | # Indented comment 3 | ## Double comment 4 | 5 | comp1 { 6 | installer: bash; 7 | exports: ip, port=80; 8 | } 9 | 10 | # comp2's annotation 11 | comp2 { 12 | # installer: bash; 13 | exports: ip, port=80; 14 | } 15 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-tooling-core/src/test/resources/textactions/commented2.txt: -------------------------------------------------------------------------------- 1 | # Initial comment 2 | # Indented comment 3 | ## Double comment 4 | 5 | #comp1 { 6 | # installer: bash; 7 | # exports: ip, port=80; 8 | #} 9 | 10 | # comp2's annotation 11 | comp2 { 12 | installer: bash; 13 | exports: ip, port=80; 14 | } 15 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-tooling-core/src/test/resources/textactions/non-commented.txt: -------------------------------------------------------------------------------- 1 | # Initial comment 2 | # Indented comment 3 | ## Double comment 4 | 5 | comp1 { 6 | installer: bash; 7 | exports: ip, port=80; 8 | } 9 | 10 | # comp2's annotation 11 | comp2 { 12 | installer: bash; 13 | exports: ip, port=80; 14 | } 15 | -------------------------------------------------------------------------------- /core/roboconf-agent/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Package Files # 4 | *.jar 5 | *.war 6 | *.ear 7 | 8 | # Maven related elements or those that can be generated from the POM 9 | .project 10 | .classpath 11 | /.externalToolBuilders 12 | /target 13 | /bin 14 | /maven-eclipse.xml 15 | /.settings 16 | 17 | #idea 18 | *.iml 19 | .idea/ -------------------------------------------------------------------------------- /core/roboconf-core/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Package Files # 4 | *.jar 5 | *.war 6 | *.ear 7 | 8 | # Maven related elements or those that can be generated from the POM 9 | .project 10 | .classpath 11 | /.externalToolBuilders 12 | /target 13 | /bin 14 | /maven-eclipse.xml 15 | /.settings 16 | 17 | #idea 18 | *.iml 19 | .idea/ -------------------------------------------------------------------------------- /miscellaneous/roboconf-tooling-core/src/test/resources/completion/app3/instances/initial.instances: -------------------------------------------------------------------------------- 1 | 2 | # This is a comment 3 | # over several lines. 4 | 5 | instance of c2 { 6 | 7 | name: my-c2; 8 | } 9 | 10 | instance of c2 { 11 | 12 | name : root; 13 | instance of c1 { 14 | 15 | 16 | 17 | } 18 | } 19 | 20 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-tooling-core/src/test/resources/completion/app4/instances/initial.instances: -------------------------------------------------------------------------------- 1 | 2 | # This is a comment 3 | # over several lines. 4 | 5 | instance of c2 { 6 | 7 | name: my-c2; 8 | } 9 | 10 | instance of c2 { 11 | 12 | name : root; 13 | instance of c1 { 14 | 15 | 16 | 17 | } 18 | } 19 | 20 | -------------------------------------------------------------------------------- /core/roboconf-agent/src/main/resources/OSGI-INF/bundle.info: -------------------------------------------------------------------------------- 1 | \u001B[1mSYNOPSIS\u001B[0m 2 | This bundle is part of the Roboconf project. 3 | 4 | \u001B[1mDESCRIPTION\u001B[0m 5 | The agent module embeds the agent implementation. 6 | It is then used in other bundles to create iPojo components (but with different configurations). 7 | -------------------------------------------------------------------------------- /core/roboconf-plugin-api/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Package Files # 4 | *.jar 5 | *.war 6 | *.ear 7 | 8 | # Maven related elements or those that can be generated from the POM 9 | .project 10 | .classpath 11 | /.externalToolBuilders 12 | /target 13 | /bin 14 | /maven-eclipse.xml 15 | /.settings 16 | 17 | #idea 18 | *.iml 19 | .idea/ -------------------------------------------------------------------------------- /core/roboconf-plugin-file/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Package Files # 4 | *.jar 5 | *.war 6 | *.ear 7 | 8 | # Maven related elements or those that can be generated from the POM 9 | .project 10 | .classpath 11 | /.externalToolBuilders 12 | /target 13 | /bin 14 | /maven-eclipse.xml 15 | /.settings 16 | 17 | #idea 18 | *.iml 19 | .idea/ -------------------------------------------------------------------------------- /core/roboconf-target-api/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Package Files # 4 | *.jar 5 | *.war 6 | *.ear 7 | 8 | # Maven related elements or those that can be generated from the POM 9 | .project 10 | .classpath 11 | /.externalToolBuilders 12 | /target 13 | /bin 14 | /maven-eclipse.xml 15 | /.settings 16 | 17 | #idea 18 | *.iml 19 | .idea/ -------------------------------------------------------------------------------- /core/roboconf-target-in-memory/src/main/resources/OSGI-INF/bundle.info: -------------------------------------------------------------------------------- 1 | \u001B[1mSYNOPSIS\u001B[0m 2 | This bundle is part of the Roboconf project. 3 | 4 | \u001B[1mDESCRIPTION\u001B[0m 5 | This bundles defines a Roboconf handler to launch agents in memory instead of launching new VM. 6 | It is useful for tests and simulations. 7 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-tooling-core/src/test/resources/completion/app2/graph/edited2.graph: -------------------------------------------------------------------------------- 1 | 2 | # This is a comment 3 | # over several lines. 4 | 5 | 6 | facet f1 { 7 | exports: v1=version1, v2=version2; 8 | } 9 | 10 | c1 { 11 | facets: f1; 12 | exports: port=8100, ip; 13 | } 14 | 15 | c2 { 16 | exports: ip; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /web-extensions/roboconf-web-extension-for-kibana/src/main/resources/OSGI-INF/bundle.info: -------------------------------------------------------------------------------- 1 | \u001B[1mSYNOPSIS\u001B[0m 2 | This bundle is part of the Roboconf project. 3 | 4 | \u001B[1mDESCRIPTION\u001B[0m 5 | This module exposes web pages to list all the (potential) available Kibana dashboards. 6 | It relies on OSGi's HTTP service. 7 | -------------------------------------------------------------------------------- /core/roboconf-agent-default/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Package Files # 4 | *.jar 5 | *.war 6 | *.ear 7 | 8 | # Maven related elements or those that can be generated from the POM 9 | .project 10 | .classpath 11 | /.externalToolBuilders 12 | /target 13 | /bin 14 | /maven-eclipse.xml 15 | /.settings 16 | 17 | #idea 18 | *.iml 19 | .idea/ -------------------------------------------------------------------------------- /core/roboconf-agent-monitoring/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Package Files # 4 | *.jar 5 | *.war 6 | *.ear 7 | 8 | # Maven related elements or those that can be generated from the POM 9 | .project 10 | .classpath 11 | /.externalToolBuilders 12 | /target 13 | /bin 14 | /maven-eclipse.xml 15 | /.settings 16 | 17 | #idea 18 | *.iml 19 | .idea/ -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/applications/app-for-templates/descriptor/application.properties: -------------------------------------------------------------------------------- 1 | application-name = example-app 2 | application-version = 1.0.1-SNAPSHOT 3 | application-dsl-id = roboconf-1.0 4 | application-description = An example application 5 | graph-entry-point = example.graph 6 | instance-entry-point = example.instances 7 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/graph-with-invalid-case-imports.graph: -------------------------------------------------------------------------------- 1 | VM { 2 | installer: target; 3 | children: toto, MySql; 4 | } 5 | 6 | toto { 7 | installer: whatever; 8 | imports: MYSQL.*; 9 | } 10 | 11 | MySql { 12 | installer: whatever; 13 | exports: ip, port = 3306; 14 | } 15 | -------------------------------------------------------------------------------- /core/roboconf-dm-rest-commons/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Package Files # 4 | *.jar 5 | *.war 6 | *.ear 7 | 8 | # Maven related elements or those that can be generated from the POM 9 | .project 10 | .classpath 11 | /.externalToolBuilders 12 | /target 13 | /bin 14 | /maven-eclipse.xml 15 | /.settings 16 | 17 | #idea 18 | *.iml 19 | .idea/ -------------------------------------------------------------------------------- /core/roboconf-messaging-api/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Package Files # 4 | *.jar 5 | *.war 6 | *.ear 7 | 8 | # Maven related elements or those that can be generated from the POM 9 | .project 10 | .classpath 11 | /.externalToolBuilders 12 | /target 13 | /bin 14 | /maven-eclipse.xml 15 | /.settings 16 | 17 | #idea 18 | *.iml 19 | .idea/ -------------------------------------------------------------------------------- /core/roboconf-messaging-http/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Package Files # 4 | *.jar 5 | *.war 6 | *.ear 7 | 8 | # Maven related elements or those that can be generated from the POM 9 | .project 10 | .classpath 11 | /.externalToolBuilders 12 | /target 13 | /bin 14 | /maven-eclipse.xml 15 | /.settings 16 | 17 | #idea 18 | *.iml 19 | .idea/ -------------------------------------------------------------------------------- /core/roboconf-plugin-logger/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Package Files # 4 | *.jar 5 | *.war 6 | *.ear 7 | 8 | # Maven related elements or those that can be generated from the POM 9 | .project 10 | .classpath 11 | /.externalToolBuilders 12 | /target 13 | /bin 14 | /maven-eclipse.xml 15 | /.settings 16 | 17 | #idea 18 | *.iml 19 | .idea/ -------------------------------------------------------------------------------- /core/roboconf-plugin-puppet/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Package Files # 4 | *.jar 5 | *.war 6 | *.ear 7 | 8 | # Maven related elements or those that can be generated from the POM 9 | .project 10 | .classpath 11 | /.externalToolBuilders 12 | /target 13 | /bin 14 | /maven-eclipse.xml 15 | /.settings 16 | 17 | #idea 18 | *.iml 19 | .idea/ -------------------------------------------------------------------------------- /core/roboconf-plugin-script/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Package Files # 4 | *.jar 5 | *.war 6 | *.ear 7 | 8 | # Maven related elements or those that can be generated from the POM 9 | .project 10 | .classpath 11 | /.externalToolBuilders 12 | /target 13 | /bin 14 | /maven-eclipse.xml 15 | /.settings 16 | 17 | #idea 18 | *.iml 19 | .idea/ -------------------------------------------------------------------------------- /core/roboconf-target-embedded/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Package Files # 4 | *.jar 5 | *.war 6 | *.ear 7 | 8 | # Maven related elements or those that can be generated from the POM 9 | .project 10 | .classpath 11 | /.externalToolBuilders 12 | /target 13 | /bin 14 | /maven-eclipse.xml 15 | /.settings 16 | 17 | #idea 18 | *.iml 19 | .idea/ -------------------------------------------------------------------------------- /core/roboconf-target-iaas-azure/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Package Files # 4 | *.jar 5 | *.war 6 | *.ear 7 | 8 | # Maven related elements or those that can be generated from the POM 9 | .project 10 | .classpath 11 | /.externalToolBuilders 12 | /target 13 | /bin 14 | /maven-eclipse.xml 15 | /.settings 16 | 17 | #idea 18 | *.iml 19 | .idea/ -------------------------------------------------------------------------------- /core/roboconf-target-iaas-ec2/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Package Files # 4 | *.jar 5 | *.war 6 | *.ear 7 | 8 | # Maven related elements or those that can be generated from the POM 9 | .project 10 | .classpath 11 | /.externalToolBuilders 12 | /target 13 | /bin 14 | /maven-eclipse.xml 15 | /.settings 16 | 17 | #idea 18 | *.iml 19 | .idea/ -------------------------------------------------------------------------------- /core/roboconf-target-iaas-occi/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Package Files # 4 | *.jar 5 | *.war 6 | *.ear 7 | 8 | # Maven related elements or those that can be generated from the POM 9 | .project 10 | .classpath 11 | /.externalToolBuilders 12 | /target 13 | /bin 14 | /maven-eclipse.xml 15 | /.settings 16 | 17 | #idea 18 | *.iml 19 | .idea/ -------------------------------------------------------------------------------- /core/roboconf-target-in-memory/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Package Files # 4 | *.jar 5 | *.war 6 | *.ear 7 | 8 | # Maven related elements or those that can be generated from the POM 9 | .project 10 | .classpath 11 | /.externalToolBuilders 12 | /target 13 | /bin 14 | /maven-eclipse.xml 15 | /.settings 16 | 17 | #idea 18 | *.iml 19 | .idea/ -------------------------------------------------------------------------------- /karaf/roboconf-karaf-dist-agent/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Package Files # 4 | *.jar 5 | *.war 6 | *.ear 7 | 8 | # Maven related elements or those that can be generated from the POM 9 | .project 10 | .classpath 11 | /.externalToolBuilders 12 | /target 13 | /bin 14 | /maven-eclipse.xml 15 | /.settings 16 | 17 | #idea 18 | *.iml 19 | .idea/ -------------------------------------------------------------------------------- /karaf/roboconf-karaf-dist-dm/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Package Files # 4 | *.jar 5 | *.war 6 | *.ear 7 | 8 | # Maven related elements or those that can be generated from the POM 9 | .project 10 | .classpath 11 | /.externalToolBuilders 12 | /target 13 | /bin 14 | /maven-eclipse.xml 15 | /.settings 16 | 17 | #idea 18 | *.iml 19 | .idea/ -------------------------------------------------------------------------------- /karaf/roboconf-karaf-feature-dm/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Package Files # 4 | *.jar 5 | *.war 6 | *.ear 7 | 8 | # Maven related elements or those that can be generated from the POM 9 | .project 10 | .classpath 11 | /.externalToolBuilders 12 | /target 13 | /bin 14 | /maven-eclipse.xml 15 | /.settings 16 | 17 | #idea 18 | *.iml 19 | .idea/ -------------------------------------------------------------------------------- /karaf/roboconf-karaf-prepare/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Package Files # 4 | *.jar 5 | *.war 6 | *.ear 7 | 8 | # Maven related elements or those that can be generated from the POM 9 | .project 10 | .classpath 11 | /.externalToolBuilders 12 | /target 13 | /bin 14 | /maven-eclipse.xml 15 | /.settings 16 | 17 | #idea 18 | *.iml 19 | .idea/ -------------------------------------------------------------------------------- /miscellaneous/roboconf-tooling-core/src/main/resources/graph-skeleton.graph: -------------------------------------------------------------------------------- 1 | ############################################## 2 | # Main file for the graph(s) definition(s) 3 | ############################################## 4 | 5 | vm { 6 | installer: target; 7 | children: server; 8 | } 9 | 10 | server { 11 | installer: script; 12 | } 13 | -------------------------------------------------------------------------------- /core/roboconf-agent-monitoring-api/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Package Files # 4 | *.jar 5 | *.war 6 | *.ear 7 | 8 | # Maven related elements or those that can be generated from the POM 9 | .project 10 | .classpath 11 | /.externalToolBuilders 12 | /target 13 | /bin 14 | /maven-eclipse.xml 15 | /.settings 16 | 17 | #idea 18 | *.iml 19 | .idea/ -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/applications/simple/graph/simple.graph: -------------------------------------------------------------------------------- 1 | # The VM 2 | VM { 3 | installer: target; 4 | children: MySQL, App; 5 | } 6 | 7 | # MySQL database 8 | MySQL { 9 | installer: puppet; 10 | exports: ip, port = 3306; 11 | } 12 | 13 | # Application 14 | App { 15 | installer: puppet; 16 | imports: MySQL.*; 17 | } 18 | -------------------------------------------------------------------------------- /core/roboconf-dm-scheduler/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Package Files # 4 | *.jar 5 | *.war 6 | *.ear 7 | 8 | # Maven related elements or those that can be generated from the POM 9 | .project 10 | .classpath 11 | /.externalToolBuilders 12 | /target 13 | /bin 14 | /maven-eclipse.xml 15 | /.settings 16 | 17 | #idea 18 | *.iml 19 | .idea/ 20 | -------------------------------------------------------------------------------- /core/roboconf-dm-templating/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Package Files # 4 | *.jar 5 | *.war 6 | *.ear 7 | 8 | # Maven related elements or those that can be generated from the POM 9 | .project 10 | .classpath 11 | /.externalToolBuilders 12 | /target 13 | /bin 14 | /maven-eclipse.xml 15 | /.settings 16 | 17 | #idea 18 | *.iml 19 | .idea/ 20 | -------------------------------------------------------------------------------- /core/roboconf-messaging-rabbitmq/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Package Files # 4 | *.jar 5 | *.war 6 | *.ear 7 | 8 | # Maven related elements or those that can be generated from the POM 9 | .project 10 | .classpath 11 | /.externalToolBuilders 12 | /target 13 | /bin 14 | /maven-eclipse.xml 15 | /.settings 16 | 17 | #idea 18 | *.iml 19 | .idea/ -------------------------------------------------------------------------------- /core/roboconf-target-docker/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Package Files # 4 | *.jar 5 | *.war 6 | *.ear 7 | 8 | # Maven related elements or those that can be generated from the POM 9 | .project 10 | .classpath 11 | /.externalToolBuilders 12 | /target 13 | /bin 14 | /maven-eclipse.xml 15 | /.settings 16 | 17 | #idea 18 | *.iml 19 | .idea/ 20 | -------------------------------------------------------------------------------- /core/roboconf-target-iaas-vmware/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Package Files # 4 | *.jar 5 | *.war 6 | *.ear 7 | 8 | # Maven related elements or those that can be generated from the POM 9 | .project 10 | .classpath 11 | /.externalToolBuilders 12 | /target 13 | /bin 14 | /maven-eclipse.xml 15 | /.settings 16 | 17 | #idea 18 | *.iml 19 | .idea/ -------------------------------------------------------------------------------- /core/roboconf-target-jclouds/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Package Files # 4 | *.jar 5 | *.war 6 | *.ear 7 | 8 | # Maven related elements or those that can be generated from the POM 9 | .project 10 | .classpath 11 | /.externalToolBuilders 12 | /target 13 | /bin 14 | /maven-eclipse.xml 15 | /.settings 16 | 17 | #idea 18 | *.iml 19 | .idea/ 20 | -------------------------------------------------------------------------------- /karaf/roboconf-karaf-commands-agent/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Package Files # 4 | *.jar 5 | *.war 6 | *.ear 7 | 8 | # Maven related elements or those that can be generated from the POM 9 | .project 10 | .classpath 11 | /.externalToolBuilders 12 | /target 13 | /bin 14 | /maven-eclipse.xml 15 | /.settings 16 | 17 | #idea 18 | *.iml 19 | .idea/ -------------------------------------------------------------------------------- /karaf/roboconf-karaf-commands-common/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Package Files # 4 | *.jar 5 | *.war 6 | *.ear 7 | 8 | # Maven related elements or those that can be generated from the POM 9 | .project 10 | .classpath 11 | /.externalToolBuilders 12 | /target 13 | /bin 14 | /maven-eclipse.xml 15 | /.settings 16 | 17 | #idea 18 | *.iml 19 | .idea/ -------------------------------------------------------------------------------- /karaf/roboconf-karaf-commands-dm/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Package Files # 4 | *.jar 5 | *.war 6 | *.ear 7 | 8 | # Maven related elements or those that can be generated from the POM 9 | .project 10 | .classpath 11 | /.externalToolBuilders 12 | /target 13 | /bin 14 | /maven-eclipse.xml 15 | /.settings 16 | 17 | #idea 18 | *.iml 19 | .idea/ -------------------------------------------------------------------------------- /karaf/roboconf-karaf-feature-agent/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Package Files # 4 | *.jar 5 | *.war 6 | *.ear 7 | 8 | # Maven related elements or those that can be generated from the POM 9 | .project 10 | .classpath 11 | /.externalToolBuilders 12 | /target 13 | /bin 14 | /maven-eclipse.xml 15 | /.settings 16 | 17 | #idea 18 | *.iml 19 | .idea/ -------------------------------------------------------------------------------- /core/roboconf-agent-monitoring-docker/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Package Files # 4 | *.jar 5 | *.war 6 | *.ear 7 | 8 | # Maven related elements or those that can be generated from the POM 9 | .project 10 | .classpath 11 | /.externalToolBuilders 12 | /target 13 | /bin 14 | /maven-eclipse.xml 15 | /.settings 16 | 17 | #idea 18 | *.iml 19 | .idea/ -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/applications/app-with-random-ports/descriptor/application.properties: -------------------------------------------------------------------------------- 1 | application-name = app-with-random-ports 2 | application-version = 1.0.1-SNAPSHOT 3 | application-dsl-id = roboconf-1.0 4 | application-description = An example application 5 | graph-entry-point = main.graph 6 | instance-entry-point = initial.instances 7 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/applications/component-extensions/descriptor/application.properties: -------------------------------------------------------------------------------- 1 | application-name = Petals ESB 2 | application-version = 1.0.1-SNAPSHOT 3 | application-dsl-id = roboconf-1.0 4 | application-description = instances with component extensions 5 | graph-entry-point = main.graph 6 | instance-entry-point = init.instances 7 | -------------------------------------------------------------------------------- /core/roboconf-dm-templating/src/test/resources/output/get-imports.txt: -------------------------------------------------------------------------------- 1 | - MySqlVm 2 | instance = /ApacheVm 3 | variables = 4 | apacheVm.extra = bonus 5 | - ApacheVm 6 | - TomcatVm1 7 | instance = /ApacheVm 8 | variables = 9 | apacheVm.extra = bonus 10 | - TomcatVm2 11 | instance = /ApacheVm 12 | variables = 13 | apacheVm.extra = bonus 14 | -------------------------------------------------------------------------------- /core/roboconf-dm-web-administration/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Package Files # 4 | *.jar 5 | *.war 6 | *.ear 7 | 8 | # Maven related elements or those that can be generated from the POM 9 | .project 10 | .classpath 11 | /.externalToolBuilders 12 | /target 13 | /bin 14 | /maven-eclipse.xml 15 | /.settings 16 | 17 | #idea 18 | *.iml 19 | .idea/ 20 | -------------------------------------------------------------------------------- /core/roboconf-target-iaas-openstack/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Package Files # 4 | *.jar 5 | *.war 6 | *.ear 7 | 8 | # Maven related elements or those that can be generated from the POM 9 | .project 10 | .classpath 11 | /.externalToolBuilders 12 | /target 13 | /bin 14 | /maven-eclipse.xml 15 | /.settings 16 | 17 | #idea 18 | *.iml 19 | .idea/ 20 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/valid/instance-with-space-after.instances: -------------------------------------------------------------------------------- 1 | instance of VM { 2 | name: VM ; 3 | count: 2; 4 | 5 | # Add spaces here and there. 6 | # Component names are trimmed. 7 | instance of A { 8 | # The instance name is preserved, no matter what. 9 | name: A ; 10 | } 11 | } -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/valid/single-runtime-instance.instances: -------------------------------------------------------------------------------- 1 | ## 2 | # A single instance, with properties set at runtime. 3 | ## 4 | 5 | instance of vm { 6 | name: vm 1; # the VM name 7 | instance-data: ip = 127.0.0.1, machine-id = mach-ID, whatever = something different; 8 | instance-state: DEPLOYED_STARTED; 9 | } 10 | -------------------------------------------------------------------------------- /karaf/roboconf-karaf-decanter-collector-dm/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Package Files # 4 | *.jar 5 | *.war 6 | *.ear 7 | 8 | # Maven related elements or those that can be generated from the POM 9 | .project 10 | .classpath 11 | /.externalToolBuilders 12 | /target 13 | /bin 14 | /maven-eclipse.xml 15 | /.settings 16 | 17 | #idea 18 | *.iml 19 | .idea/ -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/applications/root-exporting-variables/descriptor/application.properties: -------------------------------------------------------------------------------- 1 | application-name = root-exporting-variables 2 | application-version = 1.0.1-SNAPSHOT 3 | application-dsl-id = roboconf-1.0 4 | application-description = An example application 5 | graph-entry-point = example.graph 6 | instance-entry-point = example.instances 7 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/applications/simple/instances/initial.instances: -------------------------------------------------------------------------------- 1 | # A VM with MySQL only 2 | instance of VM { 3 | name: MySQL VM; 4 | 5 | instance of MySQL { 6 | name: MySQL; 7 | } 8 | } 9 | 10 | # A VM with the application 11 | instance of VM { 12 | name: App VM; 13 | 14 | instance of App { 15 | name: App; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/dockerfiles/dockerfile2: -------------------------------------------------------------------------------- 1 | # 2 | # Super simple example of a Dockerfile 3 | # 4 | FROM ubuntu:latest 5 | MAINTAINER Andrew Odewahn "odewahn@oreilly.com" 6 | 7 | RUN apt-get update 8 | RUN apt-get install -y python python-pip wget 9 | RUN pip install Flask 10 | 11 | ADD hello.py /home/hello.py 12 | 13 | WORKDIR /home 14 | -------------------------------------------------------------------------------- /core/roboconf-dm-rest-commons/src/main/resources/OSGI-INF/bundle.info: -------------------------------------------------------------------------------- 1 | \u001B[1mSYNOPSIS\u001B[0m 2 | This bundle is part of the Roboconf project. 3 | 4 | \u001B[1mDESCRIPTION\u001B[0m 5 | This bundle embeds common classes for the DM's REST API and the Java REST client. 6 | It contains in particular the mapping between Java objects and JSon structures. 7 | -------------------------------------------------------------------------------- /core/roboconf-plugin-puppet/src/test/resources/with-init-exit-1/roboconf_withinit_module/manifests/init.pp: -------------------------------------------------------------------------------- 1 | class roboconf_withinit_module($runningState = undef, $importDiff = undef, $withoperations = undef) { 2 | 3 | exec{ "non-zero return code": 4 | command => "/bin/bou 'this command does not exist'", 5 | path => "/usr/local/bin/:/bin/" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-swagger/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Package Files # 4 | *.jar 5 | *.war 6 | *.ear 7 | 8 | # Maven related elements or those that can be generated from the POM 9 | .project 10 | .classpath 11 | /.externalToolBuilders 12 | /target 13 | /maven-eclipse.xml 14 | /.settings 15 | 16 | # Linux 17 | *~ 18 | 19 | #idea 20 | *.iml 21 | .idea/ -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/applications/mongo/descriptor/application.properties: -------------------------------------------------------------------------------- 1 | # Application Descriptor for Roboconf 2 | application-name = Mongo 3 | application-version = 1.0.1-SNAPSHOT 4 | application-namespace = net.roboconf 5 | application-dsl-id = roboconf-1.0 6 | application-description = A sample Mongo application 7 | graph-entry-point = mongo.graph 8 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/valid/only-component-3.graph: -------------------------------------------------------------------------------- 1 | 2 | tomcat { 3 | imports: port, db.ip; 4 | exports: ip, port = 8080; 5 | children: war; 6 | installer: puppet; 7 | } 8 | 9 | apache { 10 | imports: tomcat.port, tomcat.ip; 11 | exports: ip, port = 80; 12 | installer: puppet; 13 | } 14 | 15 | db { 16 | facets: db; 17 | } 18 | -------------------------------------------------------------------------------- /core/roboconf-plugin-file/src/main/resources/OSGI-INF/bundle.info: -------------------------------------------------------------------------------- 1 | \u001B[1mSYNOPSIS\u001B[0m 2 | This bundle is part of the Roboconf project. 3 | 4 | \u001B[1mDESCRIPTION\u001B[0m 5 | This bundle provides an agent extension that rely on a properties file to perform basic file manipulations. 6 | It fits for the life cycle control of simple Roboconf components. 7 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-maven-plugin/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Package Files # 4 | *.jar 5 | *.war 6 | *.ear 7 | 8 | # Maven related elements or those that can be generated from the POM 9 | .project 10 | .classpath 11 | /.externalToolBuilders 12 | /target 13 | /maven-eclipse.xml 14 | /.settings 15 | 16 | # Linux 17 | *~ 18 | 19 | #idea 20 | *.iml 21 | .idea/ -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/component-with-quoted-values.graph: -------------------------------------------------------------------------------- 1 | 2 | facet A { 3 | # nothing 4 | } 5 | 6 | component { 7 | installer: "target"; 8 | children: "toto"; 9 | exports: ip, path = "this is a valid property value!"; 10 | facets: "A"; 11 | } 12 | 13 | toto { 14 | installer : whatver; 15 | extends: "component"; 16 | } 17 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/valid/component-with-random-ports.graph: -------------------------------------------------------------------------------- 1 | 2 | comp1 { 3 | installer: target; 4 | exports: ip, random[port] port; 5 | } 6 | 7 | comp2 { 8 | installer: target; 9 | exports: ip, random[port] httpPort, Random[PORT] ajpPort; 10 | } 11 | 12 | comp3 { 13 | installer: target; 14 | exports: ip, ajpPort = 8959; 15 | } 16 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/valid/instance-single.instances: -------------------------------------------------------------------------------- 1 | ## 2 | # A single instance, with several properties 3 | ## 4 | 5 | instance of vm { 6 | name: vm1; # the VM name 7 | 8 | # It should not have any overridden property, but hey, it's a test! 9 | ip: 38.195.27.3; 10 | 11 | # Let's give it a channel 12 | channel: demo; 13 | } 14 | -------------------------------------------------------------------------------- /core/roboconf-target-api/src/main/resources/OSGI-INF/bundle.info: -------------------------------------------------------------------------------- 1 | \u001B[1mSYNOPSIS\u001B[0m 2 | This bundle is part of the Roboconf project. 3 | 4 | \u001B[1mDESCRIPTION\u001B[0m 5 | This bundle provides the API to define a new deployment target handler. 6 | These handlers are in charge of creating or terminating machines on which Roboconf can deploy Software. 7 | -------------------------------------------------------------------------------- /core/roboconf-agent-default/src/main/resources/OSGI-INF/bundle.info: -------------------------------------------------------------------------------- 1 | \u001B[1mSYNOPSIS\u001B[0m 2 | This bundle is part of the Roboconf project. 3 | 4 | \u001B[1mDESCRIPTION\u001B[0m 5 | The default agent module creates an iPojo component that relies on extensions or plug-ins 6 | (like Puppet or Bash) to control the life cycle of Roboconf instances on a given target. 7 | -------------------------------------------------------------------------------- /core/roboconf-agent-monitoring/src/test/resources/rest-events.conf: -------------------------------------------------------------------------------- 1 | # This is a comment ;) 2 | # These can be seen as probes configurations, all associated with a same Roboconf component. 3 | # There must be a space between all the words / operators. 4 | 5 | # Check the result returned by a REST / HTTP service. 6 | [EVENT rest myRuleName-1] 7 | Check http://google.fr THAT value > 0 8 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/component-inexisting-child-facet.graph: -------------------------------------------------------------------------------- 1 | VM { 2 | installer: target; 3 | children: A, Fa1, Fa3; 4 | } 5 | 6 | A { 7 | installer: puppet; 8 | } 9 | 10 | B { 11 | installer: whatever; 12 | facets: Fa1; 13 | } 14 | 15 | facet Fa1 { 16 | # nothing 17 | } 18 | 19 | facet Fa2 { 20 | # nothing 21 | } 22 | -------------------------------------------------------------------------------- /core/roboconf-dm-templating/src/test/resources/templates/nested-loops.txt.tpl: -------------------------------------------------------------------------------- 1 | {{! This line selects all the instances of type "VM" inside the application}} 2 | {{#all Vm}} 3 | {{! For each instance, the content of this block is output once.}} 4 | name = "{{name}}" 5 | {{#all Tomcat}} 6 | 7 | name = "{{name}}" 8 | path = {{path}} 9 | 10 | {{/all}} 11 | {{/all}} 12 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-doc-generator/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Package Files # 4 | *.jar 5 | *.war 6 | *.ear 7 | 8 | # Maven related elements or those that can be generated from the POM 9 | .project 10 | .classpath 11 | /.externalToolBuilders 12 | /target 13 | /bin 14 | /maven-eclipse.xml 15 | /.settings 16 | 17 | # Linux 18 | *~ 19 | 20 | #idea 21 | *.iml 22 | .idea/ -------------------------------------------------------------------------------- /miscellaneous/roboconf-doc-generator/src/test/resources/recipe2/graph/main.graph: -------------------------------------------------------------------------------- 1 | # This graph is not realistic. 2 | # It aims at verifying code coverage. 3 | 4 | facet VM { 5 | children: Tomcat; 6 | } 7 | 8 | Tomcat { 9 | installer: whatever; 10 | exports: ip, portAJP = 8009; 11 | children: app; 12 | } 13 | 14 | facet app { 15 | exports: name = default; 16 | } 17 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-integration-tests-dm/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Package Files # 4 | *.jar 5 | *.war 6 | *.ear 7 | 8 | # Maven related elements or those that can be generated from the POM 9 | .project 10 | .classpath 11 | /.externalToolBuilders 12 | /target 13 | /bin 14 | /maven-eclipse.xml 15 | /.settings 16 | /roboconf-dm-it 17 | 18 | #idea 19 | *.iml 20 | .idea/ -------------------------------------------------------------------------------- /miscellaneous/roboconf-tooling-core/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Package Files # 4 | *.jar 5 | *.war 6 | *.ear 7 | 8 | # Maven related elements or those that can be generated from the POM 9 | .project 10 | .classpath 11 | /.externalToolBuilders 12 | /target 13 | /bin 14 | /maven-eclipse.xml 15 | /.settings 16 | 17 | # Linux 18 | *~ 19 | 20 | #idea 21 | *.iml 22 | .idea/ -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/valid/commented-import-3.graph: -------------------------------------------------------------------------------- 1 | 2 | # Import #1 3 | import otherDefinition.txt; 4 | 5 | ###################### 6 | # Important Imports 7 | ###################### 8 | 9 | # Import 2, with an indented comment 10 | import otherDefinition-2.txt; 11 | import otherDefinition-3.txt; # And an inline comment. 12 | 13 | # ... 14 | -------------------------------------------------------------------------------- /core/roboconf-dm-web-administration/src/main/resources/OSGI-INF/bundle.info: -------------------------------------------------------------------------------- 1 | \u001B[1mSYNOPSIS\u001B[0m 2 | This bundle is part of the Roboconf project. 3 | 4 | \u001B[1mDESCRIPTION\u001B[0m 5 | This module is both a WAR and an OSGi bundle (it is a WAB). 6 | It embeds a Javascript application based on AngularJS, and that provides a user interface for Roboconf's REST API. 7 | -------------------------------------------------------------------------------- /core/roboconf-target-embedded/src/main/resources/OSGI-INF/bundle.info: -------------------------------------------------------------------------------- 1 | \u001B[1mSYNOPSIS\u001B[0m 2 | This bundle is part of the Roboconf project. 3 | 4 | \u001B[1mDESCRIPTION\u001B[0m 5 | This bundles defines a Roboconf handler to connect to hosts where a Roboconf agent is already running. 6 | It is useful for targets that do not rely on cloud or virtualization systems. 7 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-integration-tests-agent/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Package Files # 4 | *.jar 5 | *.war 6 | *.ear 7 | 8 | # Maven related elements or those that can be generated from the POM 9 | .project 10 | .classpath 11 | /.externalToolBuilders 12 | /target 13 | /bin 14 | /maven-eclipse.xml 15 | /.settings 16 | /roboconf-dm-it 17 | 18 | #idea 19 | *.iml 20 | .idea/ -------------------------------------------------------------------------------- /miscellaneous/roboconf-integration-tests-commons/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Package Files # 4 | *.jar 5 | *.war 6 | *.ear 7 | 8 | # Maven related elements or those that can be generated from the POM 9 | .project 10 | .classpath 11 | /.externalToolBuilders 12 | /target 13 | /bin 14 | /maven-eclipse.xml 15 | /.settings 16 | /roboconf-dm-it 17 | 18 | #idea 19 | *.iml 20 | .idea/ -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/applications/karaf-joram-jndi/descriptor/application.properties: -------------------------------------------------------------------------------- 1 | # Application Descriptor for Roboconf 2 | application-name = Karaf - Joram - JNDI 3 | application-version = 1.0.1-SNAPSHOT 4 | application-dsl-id = roboconf-1.0 5 | application-description = A sample application 6 | graph-entry-point = main.graph 7 | instance-entry-point = init.instances 8 | -------------------------------------------------------------------------------- /core/roboconf-dm/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Package Files # 4 | *.jar 5 | *.war 6 | *.ear 7 | 8 | # Maven related elements or those that can be generated from the POM 9 | .project 10 | .classpath 11 | /.externalToolBuilders 12 | /target 13 | /bin 14 | /maven-eclipse.xml 15 | /.settings 16 | 17 | # Remains of some builds 18 | instances 19 | 20 | #idea 21 | *.iml 22 | .idea/ 23 | -------------------------------------------------------------------------------- /web-extensions/roboconf-web-extension-for-kibana/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Package Files # 4 | *.jar 5 | *.war 6 | *.ear 7 | 8 | # Maven related elements or those that can be generated from the POM 9 | .project 10 | .classpath 11 | /.externalToolBuilders 12 | /target 13 | /bin 14 | /maven-eclipse.xml 15 | /.settings 16 | 17 | # Linux 18 | *~ 19 | 20 | #idea 21 | *.iml 22 | .idea/ -------------------------------------------------------------------------------- /core/roboconf-plugin-puppet/src/test/resources/with-version/modules.properties: -------------------------------------------------------------------------------- 1 | # List of the Puppet modules to install 2 | # so that our manifests can run. 3 | 4 | # Key = module name 5 | # Value = module version (let it empty to use the last one) 6 | 7 | # Modules will be installed under 8 | # /roboconf_agent/puppet//modules 9 | thias-sysctl = 0.3.0 10 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-integration-tests-dm-with-agents-in-memory/src/test/resources/app-with-external-imports/instances/initial-deployment.instances: -------------------------------------------------------------------------------- 1 | 2 | instance of VM { 3 | name: VM; 4 | 5 | instance of Database { 6 | name: database; 7 | } 8 | 9 | instance of Petals { 10 | name: petals; 11 | 12 | instance of SE-Activiti { 13 | name: se; 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /core/roboconf-agent-monitoring-api/src/main/resources/OSGI-INF/bundle.info: -------------------------------------------------------------------------------- 1 | \u001B[1mSYNOPSIS\u001B[0m 2 | This bundle is part of the Roboconf project. 3 | 4 | \u001B[1mDESCRIPTION\u001B[0m 5 | This bundle defines the API for extensions (or plugins) associated. 6 | with monitoring on the agent's side. Such extensions are in charge of 7 | verifying assertions on the agent's machine. 8 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/applications/lamp-legacy-with-only-components/descriptor/application.properties: -------------------------------------------------------------------------------- 1 | # Application Descriptor for Roboconf 2 | name = Legacy LAMP 3 | version = 1.0.1-SNAPSHOT 4 | dsl-id = roboconf-1.0 5 | description = A sample LAMP application 6 | tags = test, lamp, example 7 | 8 | graph-entry-point = lamp.graph 9 | instance-entry-point = initial.instances 10 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/duplicate-facet.graph: -------------------------------------------------------------------------------- 1 | componentA { 2 | installer: whatever; 3 | facets: fA; 4 | } 5 | 6 | componentB { 7 | installer: B; 8 | facets: fB; 9 | } 10 | 11 | facet fA { 12 | # nothing 13 | } 14 | 15 | facet fB { 16 | # nothing 17 | } 18 | 19 | facet fA { 20 | exports: ip; 21 | } 22 | 23 | facet fA { 24 | # nothing 25 | } 26 | -------------------------------------------------------------------------------- /core/roboconf-plugin-script/src/test/resources/instanceTemplate.mustache: -------------------------------------------------------------------------------- 1 | Instance 2 | 3 | Imports By Prefix {{#importLists}} 4 | 5 | ----------------------------------- 6 | Prefix {{prefix}} 7 | Imports 8 | {{#imports}} 9 | {{#exportedVars}} 10 | VAR : {{name}} -> {{value}} 11 | {{/exportedVars}} 12 | {{/imports}} 13 | ----------------------------------- 14 | 15 | {{/importLists}} -------------------------------------------------------------------------------- /miscellaneous/roboconf-integration-tests-dm-with-agents-in-memory/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Package Files # 4 | *.jar 5 | *.war 6 | *.ear 7 | 8 | # Maven related elements or those that can be generated from the POM 9 | .project 10 | .classpath 11 | /.externalToolBuilders 12 | /target 13 | /bin 14 | /maven-eclipse.xml 15 | /.settings 16 | /roboconf-dm-it 17 | 18 | #idea 19 | *.iml 20 | .idea/ -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/applications/lamp-legacy-with-facets-and-so-on/descriptor/application.properties: -------------------------------------------------------------------------------- 1 | # Application Descriptor for Roboconf 2 | application-name = Legacy LAMP 3 | application-version = 1.0.1-SNAPSHOT 4 | application-dsl-id = roboconf-1.0 5 | application-description = A sample LAMP application 6 | graph-entry-point = lamp.graph 7 | instance-entry-point = initial.instances 8 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/valid/only-facet-3.graph: -------------------------------------------------------------------------------- 1 | 2 | facet deployable { 3 | 4 | } 5 | 6 | facet tomcat { 7 | exports: ip, port = 8080; 8 | children: war; 9 | extends: deployable; 10 | } 11 | 12 | facet apache { 13 | exports: ip, port = 80; 14 | extends: deployable; 15 | } 16 | 17 | facet db { 18 | exports: ip, port = 3306; 19 | extends: deployable; 20 | } 21 | -------------------------------------------------------------------------------- /core/roboconf-dm-rest-services/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Package Files # 4 | *.jar 5 | *.war 6 | *.ear 7 | 8 | # Maven related elements or those that can be generated from the POM 9 | .project 10 | .classpath 11 | /.externalToolBuilders 12 | /target 13 | /bin 14 | /maven-eclipse.xml 15 | /.settings 16 | 17 | # Remains of some builds 18 | instances 19 | 20 | #idea 21 | *.iml 22 | .idea/ 23 | -------------------------------------------------------------------------------- /core/roboconf-target-docker/src/main/resources/OSGI-INF/bundle.info: -------------------------------------------------------------------------------- 1 | \u001B[1mSYNOPSIS\u001B[0m 2 | This bundle is part of the Roboconf project. 3 | 4 | \u001B[1mDESCRIPTION\u001B[0m 5 | This bundles defines a Roboconf handler to run agents and their deployments in a Docker container. 6 | It means that when requested, Roboconf will create a new Docker container instead of creating a new VM. 7 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-dm-rest-client/.gitignore: -------------------------------------------------------------------------------- 1 | *.class 2 | 3 | # Package Files # 4 | *.jar 5 | *.war 6 | *.ear 7 | 8 | # Maven related elements or those that can be generated from the POM 9 | .project 10 | .classpath 11 | /.externalToolBuilders 12 | /target 13 | /bin 14 | /maven-eclipse.xml 15 | /.settings 16 | 17 | # Remains of some builds 18 | instances 19 | 20 | #idea 21 | *.iml 22 | .idea/ -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/applications/app-with-external-dependencies/graph/example.graph: -------------------------------------------------------------------------------- 1 | # This example shows a root/scoped instance 2 | # whose variables are imported by another component. 3 | VM { 4 | exports: config = test; 5 | children: App; 6 | installer: target; 7 | } 8 | 9 | App { 10 | imports: VM.config, external App1.test; 11 | installer: logger; 12 | exports: ip; 13 | } 14 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/valid/extending-component-with-imported-variables.graph: -------------------------------------------------------------------------------- 1 | 2 | VM { 3 | installer: target; 4 | children: db, server; 5 | } 6 | 7 | db { 8 | exports: ip, port; 9 | } 10 | 11 | server { 12 | imports: db.ip (optional), db.port (optional); 13 | } 14 | 15 | my-server { 16 | extends: server; 17 | imports: db.ip; # IP is not optional anymore 18 | } 19 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/valid/instance-imbricated-2.instances: -------------------------------------------------------------------------------- 1 | # Imbricated instances 2 | 3 | instance of vm { 4 | name: vm1; # the VM name 5 | 6 | instance of server { 7 | name: server; 8 | port: 9878; 9 | } 10 | } 11 | 12 | instance of vm { 13 | name: vm2; # the VM name 14 | 15 | instance of server { 16 | name: server; 17 | port: 9878; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /core/roboconf-plugin-puppet/src/test/resources/without-version/modules.properties: -------------------------------------------------------------------------------- 1 | # List of the Puppet modules to install 2 | # so that our manifests can run. 3 | 4 | # Key = module name 5 | # Value = module version (let it empty to use the last one) 6 | 7 | # Modules will be installed under 8 | # /roboconf_agent/puppet//modules 9 | fsalum-redis = 10 | thias-sysctl = 11 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-integration-tests-dm-with-agents-in-memory/src/test/resources/app-with-external-imports/descriptor/application.properties: -------------------------------------------------------------------------------- 1 | # Application Descriptor for Roboconf 2 | application-name = Petals 3 | application-version = 2.0 4 | application-description = ESB 5 | application-dsl-id = roboconf-1.0 6 | 7 | graph-entry-point = lamp.graph 8 | instance-entry-point = initial-deployment.instances 9 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-maven-plugin/src/test/projects/recipe/src/main/model/descriptor/application.properties: -------------------------------------------------------------------------------- 1 | # Application Descriptor for Roboconf 2 | application-name = Legacy LAMP 3 | application-version = 1.0.5 4 | application-description = A sample LAMP application 5 | 6 | application-namespace = net.roboconf.recipes 7 | application-dsl-id = roboconf-1.0 8 | 9 | graph-entry-point = lamp.graph 10 | -------------------------------------------------------------------------------- /core/roboconf-plugin-puppet/src/test/resources/with-invalid-module/modules.properties: -------------------------------------------------------------------------------- 1 | # List of the Puppet modules to install 2 | # so that our manifests can run. 3 | 4 | # Key = module name 5 | # Value = module version (let it empty to use the last one) 6 | 7 | # Modules will be installed under 8 | # /roboconf_agent/puppet//modules 9 | roboconf-roboconf = wrong.version 10 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-maven-plugin/src/it/single-valid-module/src/main/model/descriptor/application.properties: -------------------------------------------------------------------------------- 1 | # Application Descriptor for Roboconf 2 | application-name = Legacy LAMP 3 | application-version = ${project.version} 4 | application-description = A sample LAMP application 5 | 6 | application-namespace = net.roboconf 7 | application-dsl-id = roboconf-1.0 8 | 9 | graph-entry-point = main.graph 10 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/cycle-in-facet.graph: -------------------------------------------------------------------------------- 1 | A { 2 | facets: F1; 3 | installer: target; 4 | } 5 | 6 | B { 7 | installer: target; 8 | } 9 | 10 | # Cycle: f1 -> f2 -> f3 -> f1 11 | facet F1 { 12 | exports: ip; 13 | extends: F2; 14 | } 15 | 16 | facet F2 { 17 | exports: ip; 18 | extends: F3; 19 | } 20 | 21 | facet F3 { 22 | exports: ip; 23 | extends: F1; 24 | } 25 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-maven-plugin/src/it/valid-multi-modules/module-a/src/main/model/descriptor/application.properties: -------------------------------------------------------------------------------- 1 | # Application Descriptor for Roboconf 2 | application-name = Legacy LAMP 3 | application-version = ${project.version} 4 | application-description = A sample LAMP application 5 | 6 | application-namespace = net.roboconf 7 | application-dsl-id = roboconf-1.0 8 | 9 | graph-entry-point = main.graph 10 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-maven-plugin/src/it/valid-multi-modules/module-b/src/main/model/descriptor/application.properties: -------------------------------------------------------------------------------- 1 | # Application Descriptor for Roboconf 2 | application-name = Legacy LAMP 3 | application-version = ${project.version} 4 | application-description = A sample LAMP application 5 | 6 | application-namespace = net.roboconf 7 | application-dsl-id = roboconf-1.0 8 | 9 | graph-entry-point = main.graph 10 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/applications/app-with-random-ports/graph/main.graph: -------------------------------------------------------------------------------- 1 | VM { 2 | children: Container1, Container2; 3 | installer: target; 4 | } 5 | 6 | Container1 { 7 | installer: script; 8 | exports: ip, random[port] httpPort, random[port] ajpPort, config = test; 9 | } 10 | 11 | Container2 { 12 | installer: script; 13 | exports: ip, random[port] port; 14 | imports: Container1.httpPort; 15 | } 16 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/applications/simple/descriptor/application.properties: -------------------------------------------------------------------------------- 1 | # Application Descriptor for Roboconf 2 | application-name = Simple App 3 | application-version = 1.0.simple 4 | application-description = A simple application 5 | 6 | application-namespace = net.roboconf 7 | application-dsl-id = roboconf-1.0 8 | 9 | graph-entry-point = simple.graph 10 | instance-entry-point = initial.instances 11 | -------------------------------------------------------------------------------- /core/roboconf-dm-web-administration/src/main/webapp/error.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Roboconf :: Web Administration 6 | 7 | 8 | 9 |
10 | Roboconf 11 |

Oops, invalid URL (not found).

12 |
13 | 14 | 15 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/applications/karaf-joram-jndi/instances/init.instances: -------------------------------------------------------------------------------- 1 | # A VM with Karaf OSGi Framework and Joram 2 | instance of VM_EC2 { 3 | name: vmec2karaf; 4 | 5 | instance of Karaf { 6 | name: karafec21; 7 | instance of JNDI { 8 | name: jndiec2; 9 | } 10 | } 11 | instance of Karaf { 12 | name: karafec22; 13 | instance of Joram { 14 | name: joramec2; 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/valid/component-with-complex-variables-values2.graph: -------------------------------------------------------------------------------- 1 | 2 | # The difference here is that we use a single space to separate properties. 3 | # This is only to verify we serialize as expected. 4 | component { 5 | exports: key1 = value1, key2 = value2; 6 | exports: key3 = "this is key number 3"; 7 | exports: random[port] key4="key4", key5= key5, random[port] key6 = " key; 6 "; 8 | } 9 | -------------------------------------------------------------------------------- /core/roboconf-dm-templating/src/main/resources/OSGI-INF/bundle.info: -------------------------------------------------------------------------------- 1 | \u001B[1mSYNOPSIS\u001B[0m 2 | This bundle is part of the Roboconf project. 3 | 4 | \u001B[1mDESCRIPTION\u001B[0m 5 | The DM (Deployment Manager) templating generates reports driven by 6 | user-defined templates. It watches the Roboconf configuration directory for templates 7 | and generates and updates reports when the state of an application changes. 8 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/applications/lamp/descriptor/application.properties: -------------------------------------------------------------------------------- 1 | # Application Descriptor for Roboconf 2 | application-name = Legacy LAMP 3 | application-version = 1.0.1-SNAPSHOT 4 | application-description = A sample LAMP application 5 | application-namespace = net.roboconf 6 | application-dsl-id = roboconf-1.0 7 | 8 | graph-entry-point = lamp.graph 9 | instance-entry-point = initial-deployment.instances 10 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/valid/complex-hierarchy.graph: -------------------------------------------------------------------------------- 1 | facet VM { 2 | children: Tomcat; 3 | } 4 | 5 | root { 6 | facets: VM; 7 | installer: target; 8 | } 9 | 10 | Tomcat { 11 | installer: puppet; 12 | exports: ip, portAJP = 8009; 13 | children: WebApp; 14 | } 15 | 16 | facet WebApp { 17 | exports: suffix = path; 18 | } 19 | 20 | App { 21 | facets: WebApp; 22 | installer: whatever; 23 | } 24 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/applications/mongo/graph/mongo.graph: -------------------------------------------------------------------------------- 1 | ################################### 2 | ## Mongo ## 3 | ################################### 4 | 5 | 6 | # The VM 7 | VM { 8 | installer: target; 9 | children: Mongo; 10 | } 11 | 12 | # Mongo DB 13 | Mongo { 14 | installer: puppet; 15 | exports: ip, port = 27017; 16 | imports: Mongo.ip (optional), Mongo.port (Optional); 17 | } 18 | -------------------------------------------------------------------------------- /core/roboconf-dm/src/test/resources/autonomic/rules.cfg: -------------------------------------------------------------------------------- 1 | # This is a comment ;) 2 | # This files gathers all the reactions for a given application. 3 | 4 | 5 | [reaction loaded Replicate-Service] 6 | /vm/tomcat/war 7 | 8 | 9 | [reaction peaceful Delete-Service] 10 | war 11 | 12 | 13 | [reaction up Mail] 14 | admin@company.com 15 | 16 | 17 | [reaction log Log] 18 | 19 | 20 | [reaction replicated Replicate-Instance] 21 | tomcat-vm 22 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/valid/instance-overridden-exports.instances: -------------------------------------------------------------------------------- 1 | # Overridden exports 2 | 3 | instance of VM { 4 | name: VM1; 5 | 6 | instance of Tomcat { 7 | name: tomcat; 8 | port: 9004; # overridden export, the "tomcat" prefix is missing and should be resolved automatically 9 | data: some-data; # instance property that is not in the component (will result in a warning at parsing) 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/valid/real-lamp-facets.graph: -------------------------------------------------------------------------------- 1 | ################################### 2 | ## Group all the facets together ## 3 | ################################### 4 | 5 | 6 | # The VM facet 7 | facet VM { 8 | children: deployable; 9 | } 10 | 11 | # The deployable facet 12 | facet deployable { 13 | # nothing 14 | } 15 | 16 | # WAR archives 17 | facet war-archive { 18 | exports: full-url, url-path; 19 | } 20 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-maven-plugin/src/test/projects/project--valid/src/main/model/descriptor/application.properties: -------------------------------------------------------------------------------- 1 | # Application Descriptor for Roboconf 2 | application-name = Legacy LAMP 3 | application-version = 1.0.0 4 | application-description = A sample LAMP application 5 | 6 | application-namespace = net.roboconf 7 | application-dsl-id = roboconf-1.0 8 | 9 | graph-entry-point = lamp.graph 10 | instance-entry-point = initial.instances 11 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/applications/lamp-legacy-with-facets-and-so-on/instances/others.instances: -------------------------------------------------------------------------------- 1 | 2 | # A VM with Tomcat only 3 | instance of VM { 4 | name: Tomcat VM ; # Keep the space at the end (nicer for display when count > 1) 5 | count: 3; # Create 3 such VM 6 | 7 | instance of Tomcat { 8 | name: Tomcat; 9 | portAJP: 9021; 10 | } 11 | } 12 | 13 | # Self import will not result in any error 14 | import others.instances; 15 | -------------------------------------------------------------------------------- /core/roboconf-dm-templating/src/test/resources/output/basic.txt: -------------------------------------------------------------------------------- 1 | { 2 | "VMs": [ 3 | { 4 | "path": "/MySqlVm, 5 | "status": "NOT_DEPLOYED" 6 | }, 7 | { 8 | "path": "/ApacheVm, 9 | "status": "NOT_DEPLOYED" 10 | }, 11 | { 12 | "path": "/TomcatVm1, 13 | "status": "NOT_DEPLOYED" 14 | }, 15 | { 16 | "path": "/TomcatVm2, 17 | "status": "NOT_DEPLOYED" 18 | }, 19 | ] 20 | } 21 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/applications/app-with-external-dependencies/descriptor/application.properties: -------------------------------------------------------------------------------- 1 | application-name = app-with-dep 2 | application-version = 1.0.1-SNAPSHOT 3 | application-dsl-id = roboconf-1.0 4 | application-description = An example application 5 | graph-entry-point = example.graph 6 | instance-entry-point = example.instances 7 | 8 | # Test exports 9 | exports-prefix = DEP 10 | exports = VM.config as c,\ 11 | App.ip as ip 12 | -------------------------------------------------------------------------------- /core/roboconf-dm/src/test/resources/autonomic/rules-with-delays.cfg: -------------------------------------------------------------------------------- 1 | # This is a comment ;) 2 | # This files gathers all the reactions for a given application. 3 | 4 | 5 | [reaction loaded Replicate-Service 1] 6 | /vm/tomcat/war 7 | 8 | 9 | [reaction peaceful Delete-Service 1] 10 | war 11 | 12 | 13 | [reaction up Mail 1] 14 | admin@company.com 15 | 16 | 17 | [reaction log Log] 18 | 19 | 20 | [reaction replicated Replicate-Instance 1] 21 | tomcat-vm 22 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-maven-plugin/src/test/projects/project--valid-with-warnings/src/main/model/descriptor/application.properties: -------------------------------------------------------------------------------- 1 | # Application Descriptor for Roboconf 2 | application-name = Legacy LAMP 3 | application-version = 1.0 4 | application-description = A sample LAMP application 5 | 6 | application-namespace = net.roboconf 7 | application-dsl-id = roboconf-1.0 8 | 9 | graph-entry-point = lamp.graph 10 | instance-entry-point = initial.instances 11 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-maven-plugin/src/test/projects/recipe-with-instances/src/main/model/descriptor/application.properties: -------------------------------------------------------------------------------- 1 | # Application Descriptor for Roboconf 2 | application-name = Legacy LAMP 3 | application-version = 1.0 4 | application-description = A sample LAMP application 5 | 6 | application-namespace = net.roboconf.whatever 7 | application-dsl-id = roboconf-1.0 8 | 9 | graph-entry-point = lamp.graph 10 | instance-entry-point = initial.instances 11 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | You can contribute to this project by... 2 | 3 | * ... reporting issues (bugs, feature requests...). 4 | * ... submitting pull requests. 5 | * ... contributing to the web site. 6 | 7 | In any case, you will find more information on our web site. 8 | See http://roboconf.net/ 9 | 10 | Also, make sure to visit the developer guide. 11 | 12 | * http://roboconf.net/en/sources.html 13 | * http://roboconf.net/en/developer-guide/developer-guide.html 14 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-doc-generator/src/test/resources/lamp/descriptor/application.properties: -------------------------------------------------------------------------------- 1 | # Application Descriptor for Roboconf 2 | application-name = Legacy LAMP 3 | application-version = 1.0 4 | application-description = A sample LAMP application (with a significant keyword for tests) 5 | application-namespace = net.roboconf 6 | application-dsl-id = roboconf-1.0 7 | 8 | graph-entry-point = lamp.graph 9 | instance-entry-point = initial-deployment.instances 10 | -------------------------------------------------------------------------------- /core/roboconf-dm-templating/src/test/resources/output/basic-with-quotes.txt: -------------------------------------------------------------------------------- 1 | { 2 | "VMs": [ 3 | { 4 | "path": "/MySqlVm, 5 | "status": "NOT_DEPLOYED" 6 | }, 7 | { 8 | "path": "/ApacheVm, 9 | "status": "NOT_DEPLOYED" 10 | }, 11 | { 12 | "path": "/TomcatVm1, 13 | "status": "NOT_DEPLOYED" 14 | }, 15 | { 16 | "path": "/TomcatVm2, 17 | "status": "NOT_DEPLOYED" 18 | }, 19 | ] 20 | } 21 | -------------------------------------------------------------------------------- /core/roboconf-dm-templating/src/test/resources/output/basic-with-custom-output.txt: -------------------------------------------------------------------------------- 1 | { 2 | "VMs": [ 3 | { 4 | "path": "/MySqlVm, 5 | "status": "NOT_DEPLOYED" 6 | }, 7 | { 8 | "path": "/ApacheVm, 9 | "status": "NOT_DEPLOYED" 10 | }, 11 | { 12 | "path": "/TomcatVm1, 13 | "status": "NOT_DEPLOYED" 14 | }, 15 | { 16 | "path": "/TomcatVm2, 17 | "status": "NOT_DEPLOYED" 18 | }, 19 | ] 20 | } 21 | -------------------------------------------------------------------------------- /core/roboconf-plugin-puppet/src/test/resources/with-init-changes-and-errors/roboconf_withinit_module/manifests/init.pp: -------------------------------------------------------------------------------- 1 | class roboconf_withinit_module($runningState = undef, $importDiff = undef, $withoperations = undef) { 2 | 3 | exec{ "hello": 4 | command => "echo 'Hello!'", 5 | path => "/usr/local/bin/:/bin/" 6 | } 7 | 8 | exec{ "non-zero return code": 9 | command => "/bin/bou 'this command does not exist'", 10 | path => "/usr/local/bin/:/bin/" 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-integration-tests-dm-with-agents-in-memory/src/test/resources/app-with-external-exports/descriptor/application.properties: -------------------------------------------------------------------------------- 1 | # Application Descriptor for Roboconf 2 | application-name = LAMP 3 | application-version = 1.0 4 | application-description = A sample LAMP application 5 | application-dsl-id = roboconf-1.0 6 | 7 | graph-entry-point = lamp.graph 8 | instance-entry-point = initial-deployment.instances 9 | 10 | exports-prefix = Lamp 11 | exports = Apache.ip as lb-ip 12 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-integration-tests-dm-with-agents-in-memory/src/test/resources/app-with-external-imports/graph/lamp.graph: -------------------------------------------------------------------------------- 1 | 2 | VM { 3 | installer: target; 4 | children: Petals, Database; 5 | } 6 | 7 | Petals { 8 | installer: script; 9 | children: SE-Activiti; 10 | } 11 | 12 | SE-Activiti { 13 | installer: script; 14 | imports: Database.ip, Database.port; 15 | imports: external Lamp.lb-ip; 16 | } 17 | 18 | Database { 19 | installer: script; 20 | exports: ip, port = 3306; 21 | } 22 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-tooling-core/src/test/resources/textactions/indentation-correct.txt: -------------------------------------------------------------------------------- 1 | 2 | c1 { 3 | prop1: ok; 4 | prop2: ok; 5 | 6 | prop3: ko; 7 | } 8 | 9 | instance of c1 { 10 | 11 | instance of c2 { # this is a comment 12 | prop1: lp; 13 | 14 | prop3: ok; 15 | prop5: ok1, ok2, \ 16 | ok0, \ 17 | ok3, \ 18 | ok4; 19 | } 20 | 21 | prop6: ok; 22 | instance of c3 { 23 | name: c3; 24 | instance of c4 { 25 | 26 | prop: value; 27 | 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/applications/app-for-templates/instances/example.instances: -------------------------------------------------------------------------------- 1 | instance of Vm { 2 | name: ApacheVm; 3 | instance of Apache { 4 | name: Apache; 5 | } 6 | } 7 | 8 | instance of Vm { 9 | name: MySqlVm; 10 | instance of MySql { 11 | name: MySql; 12 | } 13 | } 14 | 15 | instance of Vm { 16 | name: TomcatVm; 17 | count: 2; 18 | instance of Tomcat { 19 | name: Tomcat; 20 | ajpPort: 9021; 21 | instance of War { 22 | name: WebApp; 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /core/roboconf-dm/src/main/resources/OSGI-INF/bundle.info: -------------------------------------------------------------------------------- 1 | \u001B[1mSYNOPSIS\u001B[0m 2 | This bundle is part of the Roboconf project. 3 | 4 | \u001B[1mDESCRIPTION\u001B[0m 5 | The DM (Deployment Manager) is the administration part of Roboconf. 6 | It can talk with infrastructure handlers (virtualized infrastructures, cloud managers, etc) 7 | and transmit instructions to Roboconf agents. It is also in charge of the validation and 8 | state maintenance of all the applications deployed with Roboconf. 9 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-tooling-core/src/test/resources/textactions/indentation-incorrect.txt: -------------------------------------------------------------------------------- 1 | 2 | c1 { 3 | prop1: ok; 4 | prop2: ok; 5 | 6 | prop3: ko; 7 | } 8 | 9 | instance of c1 { 10 | 11 | instance of c2 { # this is a comment 12 | prop1: lp; 13 | 14 | prop3: ok; 15 | prop5: ok1, ok2, \ 16 | ok0, \ 17 | ok3, \ 18 | ok4; 19 | } 20 | 21 | prop6: ok; 22 | instance of c3 { 23 | name: c3; 24 | instance of c4 { 25 | 26 | prop: value; 27 | 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/applications/component-extensions/graph/main.graph: -------------------------------------------------------------------------------- 1 | 2 | # Not exact, but let's simplify! 3 | VM { 4 | installer: target; 5 | children: PetalsJBIComponent; 6 | } 7 | 8 | # the part that is failing with version 0.7 9 | PetalsJBIComponent { 10 | installer: script; 11 | exports: componentId = my-component-id; 12 | } 13 | 14 | PetalsSL { 15 | extends: PetalsJBIComponent; 16 | exports: componentType = SL; 17 | } 18 | 19 | PetalsSLPostgreSQL { 20 | extends: PetalsSL; 21 | exports: present = true; 22 | } 23 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/applications/lamp-legacy-with-facets-and-so-on/instances/initial.instances: -------------------------------------------------------------------------------- 1 | #################################### 2 | # We start with a simple deployment 3 | #################################### 4 | 5 | # A VM with Apache only 6 | instance of VM { 7 | name: Apache VM; 8 | 9 | instance of Apache { 10 | name: Apache; 11 | } 12 | } 13 | 14 | # A VM with MySQL only 15 | insTance of VM { 16 | name: MySQL VM; 17 | 18 | instance of MySQL { 19 | name: MySQL; 20 | } 21 | } 22 | 23 | import others.instances; 24 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/valid/instance-with-complex-quoted-values.instances: -------------------------------------------------------------------------------- 1 | ## 2 | # A single instance, with several properties 3 | ## 4 | 5 | instance of vm { 6 | name: vm 1; # the VM name 7 | 8 | # It should not have any overridden property, but hey, it's a test! 9 | ip: "38.195.27.7"; 10 | 11 | # A complex value 12 | message: "this is ;a; complex value with semicolons"; 13 | 14 | # Other values 15 | bad3: ""; 16 | bad4: a long sentence for test; 17 | 18 | # Let's give it a channel 19 | channels: demo; 20 | } 21 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/valid/only-component-4.graph: -------------------------------------------------------------------------------- 1 | 2 | vm { 3 | installer: target; 4 | children: tomcat, apache, db; 5 | } 6 | 7 | tomcat { 8 | installer: puppet; 9 | 10 | # Split exports in several declarations 11 | exports: db.ip; 12 | exports: db.port = 8080; 13 | } 14 | 15 | apache { 16 | exports: ip, port = 80; 17 | installer: puppet; 18 | 19 | # Split imports in several declarations 20 | imports: tomcat.port (optional); 21 | imports: tomcat.ip; 22 | } 23 | 24 | db { 25 | installer: whatever; 26 | } 27 | -------------------------------------------------------------------------------- /core/roboconf-plugin-file/src/test/resources/instructions.properties: -------------------------------------------------------------------------------- 1 | 2 | # $URL will be replaced during the tests 3 | deploy.1.download = $URL 4 | deploy.2.copy = $TMP/roboconf_tmp_file -> $TMP/roboconf_tmp_file_bck 5 | 6 | start.1.move = $TMP/roboconf_tmp_file -> $TMP/roboconf_tmp_file_2 7 | stop.1.move = $TMP/roboconf_tmp_file_2 -> $TMP/roboconf_tmp_file 8 | 9 | update.1.whatever = do nothing on update 10 | 11 | undeploy.1.delete = $TMP/roboconf_tmp_file_2 12 | undeploy.2.delete = $TMP/roboconf_tmp_file_bck 13 | undeploy.3.delete = $TMP/roboconf_tmp_file 14 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/recipes/invalid-update.pp: -------------------------------------------------------------------------------- 1 | class roboconf_withoperations_module::update($runningState = undef, $withinit = undef) { 2 | 3 | file{"/tmp/roboconf-test-for-puppet/WithOperations.tpl.update": 4 | ensure => file, 5 | content => template('roboconf_withoperations_module/WithOperationsTemplate.erb'), 6 | } 7 | 8 | file{"/tmp/roboconf-test-for-puppet/WithOperations.file.update": 9 | ensure => file, 10 | mode => 755, 11 | source => "puppet:///modules/roboconf_withoperations_module/WithOperationsFile.txt" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /core/roboconf-dm/src/test/resources/commands/create-and-delete.commands: -------------------------------------------------------------------------------- 1 | # Instructions related to adding and deleting instances. 2 | # State changes cannot be tested for real in unit tests. 3 | rename /tomcat-vm as tomcat-vm-tpl 4 | 5 | define NAME = tomcat $(SMART_INDEX) 6 | replicate /tomcat-vm-tpl as $(NAME) 7 | 8 | define NAME = tomcat $(SMART_INDEX) 9 | replicate /tomcat-vm-tpl as $(NAME) 10 | 11 | define NAME = tomcat $(SMART_INDEX) 12 | create vm as $(NAME) 13 | create tomcat as my-tomcat-server under /$(NAME) 14 | associate /$(NAME) with tid 15 | 16 | delete /tomcat-vm-tpl 17 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/recipes/update.pp: -------------------------------------------------------------------------------- 1 | class roboconf_withoperations_module::update($runningState = undef, $withinit = undef, $importDiff = undef) { 2 | 3 | file{"/tmp/roboconf-test-for-puppet/WithOperations.tpl.update": 4 | ensure => file, 5 | content => template('roboconf_withoperations_module/WithOperationsTemplate.erb'), 6 | } 7 | 8 | file{"/tmp/roboconf-test-for-puppet/WithOperations.file.update": 9 | ensure => file, 10 | mode => 755, 11 | source => "puppet:///modules/roboconf_withoperations_module/WithOperationsFile.txt" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-tooling-core/src/test/resources/completion/app3/graph/edited3.graph: -------------------------------------------------------------------------------- 1 | 2 | # This is a comment 3 | # over several lines. 4 | 5 | # This is not an annotation about the facet. 6 | 7 | # This is facet f1. 8 | # And the desc spans over two lines. 9 | facet f1 { 10 | exports: v1=version1, v2=version2; 11 | } 12 | 13 | # Simple comment. 14 | facet f2 { 15 | 16 | } 17 | 18 | # 19 | # A comment about c1 20 | # 21 | c1 { 22 | facets: f1; 23 | exports: port=8100, ip; 24 | } 25 | 26 | # Not a description of c2 27 | 28 | c2 { 29 | exports: ip; 30 | children: c1; 31 | } 32 | 33 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/flexibles/many-components-no-property.graph: -------------------------------------------------------------------------------- 1 | 2 | comp1 { 3 | exports: ip, port; 4 | installer: script; 5 | children: comp2; 6 | } 7 | 8 | comp2 { 9 | exports: ip, invalid!port; 10 | installer: script; 11 | } 12 | 13 | comp3 { 14 | exports: ip, port; 15 | installer: script; 16 | imports: comp2.*; 17 | } 18 | 19 | comp4 { 20 | exports: ip, port; 21 | # no installer 22 | } 23 | 24 | comp5 { 25 | exports: ip, port; 26 | installer: invalid!syntax; 27 | 28 | # invalid imports 29 | imports: comp7.*; 30 | } 31 | 32 | comp6 { 33 | 34 | } 35 | -------------------------------------------------------------------------------- /core/roboconf-agent-monitoring/src/test/resources/mixed-events.conf: -------------------------------------------------------------------------------- 1 | # This is a comment ;) 2 | # These can be seen as probes configurations, all associated with a same Roboconf component. 3 | # For a same component, we can mix rules associated with different handlers. 4 | 5 | # A simple query for Live Status, Nagios' protocol. 6 | [EVENT nagios myRuleName-nagios] 7 | GET hosts 8 | Columns: host_name accept_passive_checks acknowledged 9 | Filter: accept_passive_checks = 1 10 | 11 | # Notify the DM if a file does NOT exist. 12 | [EVENT file myRuleName-for-file] 13 | Notify if not exists /tmp/a-directory-to-not-delete 14 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/graph-with-wildcards-and-errors.graph: -------------------------------------------------------------------------------- 1 | 2 | vm { 3 | installer: target; 4 | children: database, app, messaging; 5 | } 6 | 7 | database { 8 | installer: puppet; 9 | exports: ip, port = 3306; 10 | } 11 | 12 | messaging { 13 | installer: chef; 14 | facets: f-messaging; 15 | } 16 | 17 | app { 18 | installer: bash; 19 | exports: ip, port = toto; 20 | 21 | # Nobody exports variables that start with "d-messaging." 22 | imports: database.*, d-messaging.*; 23 | } 24 | 25 | # Facets... 26 | facet f-messaging { 27 | exports: queue = default; 28 | } 29 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/recipes/invalid-syntax.pp: -------------------------------------------------------------------------------- 1 | # The opening curly bracket is missing 2 | class roboconf_withoperations_module::update($runningState = undef, $withinit = undef) 3 | 4 | file{"/tmp/roboconf-test-for-puppet/WithOperations.tpl.update": 5 | ensure => file, 6 | content => template('roboconf_withoperations_module/WithOperationsTemplate.erb'), 7 | } 8 | 9 | file{"/tmp/roboconf-test-for-puppet/WithOperations.file.update": 10 | ensure => file, 11 | mode => 755, 12 | source => "puppet:///modules/roboconf_withoperations_module/WithOperationsFile.txt" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/applications/root-exporting-variables/graph/example.graph: -------------------------------------------------------------------------------- 1 | # This example shows a root/scoped instance 2 | # whose variables are imported by another component. 3 | VM { 4 | exports: config = test; 5 | children: App; 6 | installer: target; 7 | } 8 | 9 | App { 10 | imports: VM.config; 11 | installer: logger; 12 | 13 | exports: inst = $(ROBOCONF_INSTANCE_NAME), path = $(ROBOCONF_INSTANCE_PATH); 14 | exports: clean_path = "$(ROBOCONF_CLEAN_INSTANCE_PATH)"; 15 | exports: rev = kikou $(ROBOCONF_CLEAN_REVERSED_INSTANCE_PATH); 16 | exports: comp = $(ROBOCONF_COMPONENT_NAME); 17 | } 18 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/valid/commented-component-3.graph: -------------------------------------------------------------------------------- 1 | ############## 2 | # Components 3 | ############## 4 | 5 | # Tomcat 6 | tomcat { 7 | imports: port, db.ip; 8 | exports: ip, port = 8080; 9 | children: war; 10 | installer: puppet; 11 | } 12 | 13 | # Apache 14 | apache { 15 | 16 | # In-line comment is empty and stuck to the semi-colon 17 | imports: tomcat.port, tomcat.ip;# 18 | # And there is a comment after... 19 | 20 | # In-line comment is empty 21 | exports: ip, port = 80; # 22 | installer: puppet; 23 | } 24 | 25 | # Database 26 | db { 27 | 28 | facets: db; 29 | } 30 | -------------------------------------------------------------------------------- /core/roboconf-plugin-puppet/src/test/resources/with-operations/roboconf_withoperations_module/manifests/stop.pp: -------------------------------------------------------------------------------- 1 | class roboconf_withoperations_module::stop($runningState = undef, $withinit = undef) { 2 | 3 | file{"/tmp/roboconf-test-for-puppet/WithOperations.tpl.stop": 4 | ensure => file, 5 | content => template('roboconf_withoperations_module/WithOperationsTemplate.erb'), 6 | } 7 | 8 | file{"/tmp/roboconf-test-for-puppet/WithOperations.file.stop": 9 | ensure => file, 10 | mode => "755", 11 | source => "puppet:///modules/roboconf_withoperations_module/WithOperationsFile.txt" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-doc-generator/src/main/resources/html.tpl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ${TITLE} 7 | 8 | 9 | 10 | 11 | 12 | header 13 | 14 | 17 |
18 | ${CONTENT} 19 |
20 |
21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /core/roboconf-plugin-puppet/src/test/resources/with-operations/roboconf_withoperations_module/manifests/deploy.pp: -------------------------------------------------------------------------------- 1 | class roboconf_withoperations_module::deploy($runningState = undef, $withinit = undef) { 2 | 3 | file{"/tmp/roboconf-test-for-puppet/WithOperations.tpl.deploy": 4 | ensure => file, 5 | content => template('roboconf_withoperations_module/WithOperationsTemplate.erb'), 6 | } 7 | 8 | file{"/tmp/roboconf-test-for-puppet/WithOperations.file.deploy": 9 | ensure => file, 10 | mode => "755", 11 | source => "puppet:///modules/roboconf_withoperations_module/WithOperationsFile.txt" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /core/roboconf-plugin-puppet/src/test/resources/with-operations/roboconf_withoperations_module/manifests/start.pp: -------------------------------------------------------------------------------- 1 | class roboconf_withoperations_module::start($runningState = undef, $withinit = undef) { 2 | 3 | file{"/tmp/roboconf-test-for-puppet/WithOperations.tpl.start": 4 | ensure => file, 5 | content => template('roboconf_withoperations_module/WithOperationsTemplate.erb'), 6 | } 7 | 8 | file{"/tmp/roboconf-test-for-puppet/WithOperations.file.start": 9 | ensure => file, 10 | mode => "755", 11 | source => "puppet:///modules/roboconf_withoperations_module/WithOperationsFile.txt" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/valid/commented-facet-3.graph: -------------------------------------------------------------------------------- 1 | ############################## 2 | # Several facet definitions 3 | ############################## 4 | 5 | # 'Deployable' is an abstract facet 6 | facet deployable { 7 | # nothing 8 | } 9 | 10 | # Tomcat 11 | facet tomcat { 12 | exports: ip, port = 8080; # port has a default value 13 | children: war; 14 | extends: deployable; 15 | } # end 16 | 17 | # Apache 18 | facet apache { 19 | exports: ip, port = 80; 20 | extends: deployable; 21 | } 22 | 23 | # Database 24 | facet db { 25 | exports: ip, port = 8080; 26 | extends: deployable; 27 | } 28 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/recipes/missing-running-state.pp: -------------------------------------------------------------------------------- 1 | class roboconf_withoperations_module::update($withinit = undef, $importAdded = undef, $importRemoved = undef, $importComponent = undef) { 2 | 3 | file{"/tmp/roboconf-test-for-puppet/WithOperations.tpl.update": 4 | ensure => file, 5 | content => template('roboconf_withoperations_module/WithOperationsTemplate.erb'), 6 | } 7 | 8 | file{"/tmp/roboconf-test-for-puppet/WithOperations.file.update": 9 | ensure => file, 10 | mode => 755, 11 | source => "puppet:///modules/roboconf_withoperations_module/WithOperationsFile.txt" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /core/roboconf-plugin-puppet/src/test/resources/with-operations/roboconf_withoperations_module/manifests/undeploy.pp: -------------------------------------------------------------------------------- 1 | class roboconf_withoperations_module::undeploy($runningState = undef, $withinit = undef) { 2 | 3 | file{"/tmp/roboconf-test-for-puppet/WithOperations.tpl.undeploy": 4 | ensure => file, 5 | content => template('roboconf_withoperations_module/WithOperationsTemplate.erb'), 6 | } 7 | 8 | file{"/tmp/roboconf-test-for-puppet/WithOperations.file.undeploy": 9 | ensure => file, 10 | mode => "755", 11 | source => "puppet:///modules/roboconf_withoperations_module/WithOperationsFile.txt" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /core/roboconf-agent-monitoring/src/test/resources/file-events.conf: -------------------------------------------------------------------------------- 1 | # This is a comment ;) 2 | # These can be seen as probes configurations, all associated with a same Roboconf component. 3 | # The "file" handler considers indifferently files and directories. 4 | 5 | # Notify the DM if a file exists and delete it. 6 | [EVENT file myRuleName-1] 7 | Delete if exists %TMP%/rbcf-test/ta-daaaaa 8 | 9 | # Notify the DM if a file exists. 10 | [EVENT file myRuleName-2] 11 | %TMP%/rbcf-test/ta-daaaaa-2 12 | 13 | # Notify the DM if a file does NOT exist. 14 | [EVENT file myRuleName] 15 | Notify if not exists %TMP%/rbcf-test/a-directory-to-not-delete 16 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/applications/lamp/instances/initial-deployment.instances: -------------------------------------------------------------------------------- 1 | #################################### 2 | # We start with a simple deployment 3 | #################################### 4 | 5 | # A VM with Apache only 6 | instance of VM { 7 | name: Apache VM; 8 | 9 | instance of Apache { 10 | name: Apache; 11 | } 12 | } 13 | 14 | # A VM with MySQL only 15 | instance of VM { 16 | name: MySQL VM; 17 | 18 | instance of MySQL { 19 | name: MySQL; 20 | } 21 | } 22 | 23 | # A VM with Tomcat only 24 | instance of VM { 25 | name: Tomcat VM 1; 26 | 27 | instance of Tomcat { 28 | name: Tomcat; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /core/roboconf-plugin-puppet/src/test/resources/with-operations/roboconf_withoperations_module/manifests/update.pp: -------------------------------------------------------------------------------- 1 | class roboconf_withoperations_module::update($runningState = undef, $withinit = undef, $importDiff = undef) { 2 | 3 | file{"/tmp/roboconf-test-for-puppet/WithOperations.tpl.update": 4 | ensure => file, 5 | content => template('roboconf_withoperations_module/WithOperationsTemplate.erb'), 6 | } 7 | 8 | file{"/tmp/roboconf-test-for-puppet/WithOperations.file.update": 9 | ensure => file, 10 | mode => "755", 11 | source => "puppet:///modules/roboconf_withoperations_module/WithOperationsFile.txt" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /core/roboconf-agent-monitoring/src/test/resources/mixed-events-templating.conf: -------------------------------------------------------------------------------- 1 | # This is a comment ;) 2 | # These can be seen as probes configurations, all associated with a same Roboconf component. 3 | # For a same component, we can mix rules associated with different handlers. 4 | 5 | # A simple query for Live Status, Nagios' protocol. 6 | [EVENT nagios myRuleName-nagios] 7 | GET hosts 8 | Columns: host_name accept_passive_checks acknowledged 9 | Filter: accept_passive_checks = {{ accept_passive_checks }} 10 | 11 | # Notify the DM if a file does NOT exist. 12 | [EVENT file myRuleName-for-file] 13 | Notify if not exists /tmp/{{ a-directory-to-not-delete }} 14 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/broken-graph-1.graph: -------------------------------------------------------------------------------- 1 | 2 | # This is a comment 3 | # over several lines. 4 | 5 | # This is not an annotation about the facet. 6 | 7 | # This is facet f1. 8 | # And the desc spans over two lines. 9 | facet f1 { 10 | exports: v1=version1, v2=version2; 11 | } 12 | 13 | # Simple comment. 14 | facet f2 { 15 | 16 | } 17 | 18 | # 19 | # A comment about c1 20 | # 21 | c1 { 22 | facets: f1; 23 | exports: port=8100, ip; 24 | } 25 | 26 | # Not a description of c2 27 | 28 | c2 { 29 | exports: ip; 30 | children: c1; 31 | } 32 | 33 | comp1 { 34 | } 35 | 36 | comp2 { 37 | exports: toto; 38 | imports: 39 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-tooling-core/src/test/resources/completion/app5/graph/edited5.graph: -------------------------------------------------------------------------------- 1 | 2 | # This is a comment 3 | # over several lines. 4 | 5 | # This is not an annotation about the facet. 6 | 7 | # This is facet f1. 8 | # And the desc spans over two lines. 9 | facet f1 { 10 | exports: v1=version1, v2=version2; 11 | } 12 | 13 | # Simple comment. 14 | facet f2 { 15 | 16 | } 17 | 18 | # 19 | # A comment about c1 20 | # 21 | c1 { 22 | facets: f1; 23 | exports: port=8100, ip; 24 | } 25 | 26 | # Not a description of c2 27 | 28 | c2 { 29 | exports: ip; 30 | children: c1; 31 | } 32 | 33 | comp1 { 34 | } 35 | 36 | comp2 { 37 | imports: ; 38 | } 39 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/valid/n-medium-instances.instances: -------------------------------------------------------------------------------- 1 | # 1st set of instances 2 | instance of VM { 3 | name: i-vm-1; 4 | 5 | instance of Tomcat { 6 | name: i-tomcat; 7 | Tomcat.port: 9004; 8 | 9 | instance of WAR { 10 | name: i-war; 11 | } 12 | } 13 | } 14 | 15 | # 2nd set of instances 16 | instance of VM { 17 | name: i-vm-2; 18 | } 19 | 20 | # 3rd set of instances 21 | instance of VM { 22 | name: i-vm-; 23 | 24 | instance of Tomcat { 25 | name: i-tomcat-; 26 | Tomcat.port: 9004; 27 | count: 1020; # useless, but this is for tests 28 | 29 | instance of WAR { 30 | name: i-war; 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-maven-plugin/src/test/projects/project--valid/src/main/model/instances/initial.instances: -------------------------------------------------------------------------------- 1 | #################################### 2 | # We start with a simple deployment 3 | #################################### 4 | 5 | # A VM with Apache only 6 | instance of VM { 7 | name: Apache VM; 8 | 9 | instance of Apache { 10 | name: Apache; 11 | } 12 | } 13 | 14 | # A VM with MySQL only 15 | instance of VM { 16 | name: MySQL VM; 17 | 18 | instance of MySQL { 19 | name: MySQL; 20 | } 21 | } 22 | 23 | # A VM with Tomcat only 24 | instance of VM { 25 | name: Tomcat VM 1; 26 | 27 | instance of Tomcat { 28 | name: Tomcat; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/broken-graph-2.graph: -------------------------------------------------------------------------------- 1 | 2 | # This is a comment 3 | # over several lines. 4 | 5 | # This is not an annotation about the facet. 6 | 7 | # This is facet f1. 8 | # And the desc spans over two lines. 9 | facet f1 { 10 | exports: v1=version1, v2=version2; 11 | } 12 | 13 | # Simple comment. 14 | facet f2 { 15 | 16 | } 17 | 18 | # 19 | # A comment about c1 20 | # 21 | c1 { 22 | facets: f1; 23 | exports: port=8100, ip; 24 | } 25 | 26 | 27 | comp2 { 28 | exports: toto; 29 | imports: 30 | 31 | # Not a description of c2 32 | 33 | c2 { 34 | exports: ip; 35 | children: c1; 36 | } 37 | 38 | comp1 { 39 | } 40 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-tooling-core/src/test/resources/completion/app6/graph/edited6.graph: -------------------------------------------------------------------------------- 1 | 2 | # This is a comment 3 | # over several lines. 4 | 5 | # This is not an annotation about the facet. 6 | 7 | # This is facet f1. 8 | # And the desc spans over two lines. 9 | facet f1 { 10 | exports: v1=version1, v2=version2; 11 | } 12 | 13 | # Simple comment. 14 | facet f2 { 15 | 16 | } 17 | 18 | # 19 | # A comment about c1 20 | # 21 | c1 { 22 | facets: f1; 23 | exports: port=8100, ip; 24 | } 25 | 26 | # Not a description of c2 27 | 28 | c2 { 29 | exports: ip; 30 | children: c1; 31 | } 32 | 33 | comp1 { 34 | } 35 | 36 | comp2 { 37 | exports: toto; 38 | imports: 39 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/valid/instance-imbricated-3.instances: -------------------------------------------------------------------------------- 1 | # Imbricated instances 2 | 3 | instance of vm { 4 | name: vm1; # the VM name 5 | 6 | instance of server { 7 | name: server; 8 | port: 9878; 9 | 10 | instance of web-app1 { 11 | name: web-app1-1; 12 | } 13 | } 14 | } 15 | 16 | instance of vm { 17 | 18 | name: vm-; # the VM name 19 | count: 7; 20 | 21 | instance of server { 22 | name: server4osgi; 23 | port: 9878; 24 | 25 | instance of osgi-container { 26 | name: osgi-container-app; 27 | 28 | instance of bundle { 29 | # A bundle 30 | name: my-bundle; 31 | } 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-doc-generator/src/test/resources/lamp/instances/initial-deployment.instances: -------------------------------------------------------------------------------- 1 | #################################### 2 | # We start with a simple deployment 3 | #################################### 4 | 5 | # A VM with Apache only 6 | instance of VM { 7 | name: Apache VM; 8 | 9 | instance of Apache { 10 | name: Apache; 11 | portAJP: 8010; 12 | } 13 | } 14 | 15 | # A VM with MySQL only 16 | instance of VM { 17 | name: MySQL VM; 18 | 19 | instance of MySQL { 20 | name: MySQL; 21 | } 22 | } 23 | 24 | # A VM with Tomcat only 25 | instance of VM { 26 | name: Tomcat VM 1; 27 | 28 | instance of Tomcat { 29 | name: Tomcat; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/valid/complex-instances.instances: -------------------------------------------------------------------------------- 1 | # 1st set of instances 2 | instance of VM { 3 | name: i-vm-1; 4 | 5 | instance of Tomcat { 6 | name: i-tomcat; 7 | Tomcat.port: 9004; 8 | 9 | instance of WAR { 10 | name: i-war; 11 | } 12 | } 13 | } 14 | 15 | # 2nd set of instances 16 | instance of VM { 17 | name: i-vm-2; 18 | } 19 | 20 | # 3rd set of instances 21 | instance of VM { 22 | name: i-vm-3; 23 | 24 | instance of Tomcat { 25 | name: i-tomcat-1; 26 | } 27 | 28 | instance of Tomcat { 29 | name: i-tomcat-2; 30 | Tomcat.port: 9004; 31 | 32 | instance of WAR { 33 | name: i-war; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /core/roboconf-plugin-puppet/src/test/resources/with-init/roboconf_withinit_module/manifests/init.pp: -------------------------------------------------------------------------------- 1 | class roboconf_withinit_module($runningState = undef, $importDiff = undef, $withoperations = undef) { 2 | 3 | # A file generated from a template 4 | file{"/tmp/roboconf-test-for-puppet/WithInit.tpl.$runningState": 5 | ensure => file, 6 | content => template('roboconf_withinit_module/WithInitTemplate.erb'), 7 | } 8 | 9 | # The exact copy of a file 10 | file{"/tmp/roboconf-test-for-puppet/WithInit.file.$runningState": 11 | ensure => file, 12 | mode => "755", 13 | source => "puppet:///modules/roboconf_withinit_module/WithInitFile.txt" 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-maven-plugin/src/test/projects/project--valid-with-warnings/src/main/model/instances/initial.instances: -------------------------------------------------------------------------------- 1 | #################################### 2 | # We start with a simple deployment 3 | #################################### 4 | 5 | # A VM with Apache only 6 | instance of VM { 7 | name: Apache VM; 8 | 9 | instance of Apache { 10 | name: Apache; 11 | } 12 | } 13 | 14 | # A VM with MySQL only 15 | instance of VM { 16 | name: MySQL VM; 17 | 18 | instance of MySQL { 19 | name: MySQL; 20 | } 21 | } 22 | 23 | # A VM with Tomcat only 24 | instance of VM { 25 | name: Tomcat VM 1; 26 | 27 | instance of Tomcat { 28 | name: Tomcat; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/applications/lamp-legacy-with-only-components/instances/initial.instances: -------------------------------------------------------------------------------- 1 | #################################### 2 | # We start with a simple deployment 3 | #################################### 4 | 5 | # A VM with Apache only 6 | instance of VM { 7 | name: Apache VM; 8 | 9 | instance of Apache { 10 | name: Apache; 11 | } 12 | } 13 | 14 | # A VM with MySQL only 15 | instance of VM { 16 | name: MySQL VM; 17 | 18 | instance of MySQL { 19 | name: MySQL; 20 | port: 3306; 21 | } 22 | } 23 | 24 | # A VM with Tomcat only 25 | instance of VM { 26 | name: Tomcat VM 1; 27 | 28 | instance of Tomcat { 29 | name: Tomcat; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/invalid/instanceof-name-conflict-with-count.instances: -------------------------------------------------------------------------------- 1 | # 1st set of instances 2 | instance of VM { 3 | name: i-vm-1; 4 | 5 | instance of Tomcat { 6 | name: i-tomcat; 7 | Tomcat.port: 9004; 8 | 9 | instance of WAR { 10 | name: i-war; 11 | } 12 | } 13 | } 14 | 15 | # 2nd set of instances 16 | instance of VM { 17 | name: i-vm-2; 18 | } 19 | 20 | # 3rd set of instances 21 | instance of VM { 22 | name: i-vm-; 23 | count: 4; # i-vm-1 was already defined, name conflict 24 | 25 | instance of Tomcat { 26 | name: i-tomcat-; 27 | Tomcat.port: 9004; 28 | 29 | instance of WAR { 30 | name: i-war; 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-integration-tests-dm-with-agents-in-memory/src/test/resources/app-with-external-exports/instances/initial-deployment.instances: -------------------------------------------------------------------------------- 1 | #################################### 2 | # We start with a simple deployment 3 | #################################### 4 | 5 | # A VM with Apache only 6 | instance of VM { 7 | name: Apache VM; 8 | 9 | instance of Apache { 10 | name: Apache; 11 | } 12 | } 13 | 14 | # A VM with MySQL only 15 | instance of VM { 16 | name: MySQL VM; 17 | 18 | instance of MySQL { 19 | name: MySQL; 20 | } 21 | } 22 | 23 | # A VM with Tomcat only 24 | instance of VM { 25 | name: Tomcat VM 1; 26 | 27 | instance of Tomcat { 28 | name: Tomcat; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /core/roboconf-agent-monitoring/src/main/resources/OSGI-INF/bundle.info: -------------------------------------------------------------------------------- 1 | \u001B[1mSYNOPSIS\u001B[0m 2 | This bundle is part of the Roboconf project. 3 | 4 | \u001B[1mDESCRIPTION\u001B[0m 5 | The agent's monitoring module is in charge of verifying assertions on the machine it runs on. 6 | These assertions can be checked by polling a LiveStatus server (like a Nagios or Shinken agent), 7 | by polling a REST service or a HTTP(s) resources, or by checking the file system. 8 | 9 | These assertions are sent to the agent by the DM. 10 | When one is verified, this bundle sends a message to the DM that may take (or not, depending 11 | on its configuration) an automatic and pre-configured action. 12 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/valid/n-instances.instances: -------------------------------------------------------------------------------- 1 | # 1st set of instances 2 | instance of VM { 3 | name: i-vm-1; 4 | 5 | instance of Tomcat { 6 | name: i-tomcat; 7 | Tomcat.port: 9004; 8 | 9 | instance of WAR { 10 | name: i-war; 11 | } 12 | } 13 | } 14 | 15 | # 2nd set of instances 16 | instance of VM { 17 | name: i-vm-2; 18 | } 19 | 20 | # 3rd set of instances 21 | instance of VM { 22 | name: i-vm-; 23 | count: 12; 24 | 25 | instance of Tomcat { 26 | name: i-tomcat-; 27 | Tomcat.port: 9004; 28 | count: 3; # useless, but this is for tests 29 | 30 | instance of WAR { 31 | name: i-war; 32 | count: 101; # useless, but this is for tests 33 | } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/applications/component-extensions/instances/init.instances: -------------------------------------------------------------------------------- 1 | instance of VM { 2 | name: container-bootstrap-vm; 3 | 4 | instance of PetalsSLPostgreSQL { 5 | name: ambiguous; 6 | componentId: petals-sl-postgresql-9.4-1201-jdbc4; 7 | 8 | domainName: roboconf-demo; 9 | subdomainName: roboconf-demo-1; 10 | } 11 | 12 | instance of PetalsSLPostgreSQL { 13 | name: specific; 14 | PetalsJBIComponent.componentId: comp; 15 | PetalsSL.componentId: sl; 16 | PetalsSLPostgreSQL.componentId: last; 17 | 18 | domainName: roboconf-demo; 19 | } 20 | 21 | instance of PetalsSL { 22 | name: superInstance; 23 | componentId: my-sl; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-maven-plugin/src/it/single-valid-module/verify.bsh: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import net.roboconf.core.utils.*; 3 | 4 | File zipFile = new File( basedir, "target/single-valid-module-1.0.zip" ); 5 | if( ! zipFile.isFile()) { 6 | throw new FileNotFoundException( "No ZIP file was not found." ); 7 | } 8 | 9 | File buildFile = new File( basedir, "build.log" ); 10 | if( ! buildFile.isFile()) { 11 | throw new FileNotFoundException( "No build log was found." ); 12 | } 13 | 14 | String buildLogContent = Utils.readFileContent( buildFile ); 15 | if( buildLogContent.contains( "Reusable target properties should be packaged separately." )) { 16 | throw new IOException( "No warning about target properties was expected." ); 17 | } 18 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/valid/instance-multiple.instances: -------------------------------------------------------------------------------- 1 | ## 2 | # Several instances, with several properties 3 | ## 4 | 5 | instance of vm { 6 | name: vm1; # the VM name 7 | 8 | # It should not have any overridden property, but hey, it's a test! 9 | ip: 38.195.27.3; 10 | 11 | # Let's give it a channel 12 | channel: demo; 13 | } 14 | 15 | 16 | instance of vm { # inline comment for a property holder 17 | name: vm2; # the VM name 18 | 19 | # It should not have any overridden property, but hey, it's a test! 20 | ip: 38.195.27.4; 21 | 22 | # Let's give it a channel 23 | channel: demo; 24 | } 25 | 26 | 27 | instance of vm { 28 | name: vm3; 29 | 30 | # Let's give it a channel 31 | channel: demo2; 32 | } 33 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/applications/lamp/graph/lamp.graph: -------------------------------------------------------------------------------- 1 | ################################### 2 | ## LAMP ## 3 | ################################### 4 | 5 | # Here, we only have components. 6 | # We do not use facets. 7 | # See lamp-legacy-2 for a version with facets. 8 | 9 | # The VM 10 | VM { 11 | installer: target; 12 | children: MySQL, Tomcat, Apache; 13 | } 14 | 15 | # MySQL database 16 | MySQL { 17 | installer: script; 18 | exports: ip, port = 3306; 19 | } 20 | 21 | # Tomcat 22 | Tomcat { 23 | installer: script; 24 | exports: ip, portAJP = 8009; 25 | imports: MySQL.ip, MySQL.port; 26 | } 27 | 28 | # Apache Load Balancer 29 | Apache { 30 | installer: script; 31 | imports: Tomcat.portAJP, Tomcat.ip; 32 | } 33 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/applications/lamp-legacy-with-only-components/graph/lamp.graph: -------------------------------------------------------------------------------- 1 | ################################### 2 | ## LAMP ## 3 | ################################### 4 | 5 | # Here, we only have components. 6 | # We do not use facets. 7 | # See lamp-legacy-2 for a version with facets. 8 | 9 | # The VM 10 | VM { 11 | installer: target; 12 | children: MySQL, Tomcat, Apache; 13 | } 14 | 15 | # MySQL database 16 | MySQL { 17 | installer: puppet; 18 | exports: ip, port; 19 | } 20 | 21 | # Tomcat 22 | Tomcat { 23 | installer: puppet; 24 | exports: ip; 25 | exports: portAJP = 8009; 26 | imports: MySQL.ip, MySQL.port; 27 | } 28 | 29 | # Apache Load Balancer 30 | Apache { 31 | installer: puppet; 32 | imports: Tomcat.portAJP, Tomcat.ip; 33 | } 34 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-maven-plugin/src/test/projects/project--valid-with-warnings/src/main/model/graph/lamp.graph: -------------------------------------------------------------------------------- 1 | ################################### 2 | ## LAMP ## 3 | ################################### 4 | 5 | # Here, we only have components. 6 | # We do not use facets. 7 | # See lamp-legacy-2 for a version with facets. 8 | 9 | # The VM 10 | VM { 11 | installer: target; 12 | children: MySQL, Tomcat, Apache; 13 | } 14 | 15 | # MySQL database 16 | MySQL { 17 | installer: puppet; 18 | exports: ip, port = 3306; 19 | } 20 | 21 | # Tomcat 22 | Tomcat { 23 | installer: puppet; 24 | exports: ip, portAJP = 8009; 25 | imports: MySQL.ip, MySQL.port; 26 | } 27 | 28 | # Apache Load Balancer 29 | Apache { 30 | installer: puppet; 31 | imports: Tomcat.portAJP, Tomcat.ip; 32 | } 33 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-doc-generator/src/main/resources/fop.tpl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | ${TITLE} 15 | ${CONTENT} 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-maven-plugin/src/test/projects/project--valid/src/main/model/graph/lamp.graph: -------------------------------------------------------------------------------- 1 | ################################### 2 | ## LAMP ## 3 | ################################### 4 | 5 | # Here, we only have components. 6 | # We do not use facets. 7 | # See lamp-legacy-2 for a version with facets. 8 | 9 | # The VM 10 | VM { 11 | installer: target; 12 | children: MySQL, Tomcat, Apache; 13 | } 14 | 15 | # MySQL database 16 | MySQL { 17 | installer: puppet-or-bash-chef---; 18 | exports: ip, port = 3306; 19 | } 20 | 21 | # Tomcat 22 | Tomcat { 23 | installer: puppet-or-bash-chef---; 24 | exports: ip, portAJP = 8009; 25 | imports: MySQL.ip, MySQL.port; 26 | } 27 | 28 | # Apache Load Balancer 29 | Apache { 30 | installer: puppet-or-bash-chef---; 31 | imports: Tomcat.*; 32 | } 33 | -------------------------------------------------------------------------------- /karaf/roboconf-karaf-dist-agent/src/main/resources/etc/roboconf/cfg-injection/readme.txt: -------------------------------------------------------------------------------- 1 | This directory contains templates for configuration files. 2 | They are read by the agent when its configuration changes. 3 | All these files should have the ".cfg.tpl" extension. 4 | 5 | The following agent's parameters can be injected in these templates. 6 | 7 | - : the agent's domain. 8 | - : the name of the application this agent is associated with. 9 | - : the path of the scoped instance this agent is associated with. 10 | - : the agent's IP address (retrieved by the agent itself or the one forced in its configuration). 11 | 12 | Notice that the "net.roboconf.agent.configuration.cfg" is excluded from this mechanism. 13 | That would result in an infinite reconfiguration loop. 14 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/valid/graph-with-wildcards.graph: -------------------------------------------------------------------------------- 1 | 2 | vm { 3 | installer: target; 4 | children: database, app, messaging; 5 | } 6 | 7 | database { 8 | installer: puppet; 9 | exports: ip, port = 3306; 10 | } 11 | 12 | messaging { 13 | installer: chef; 14 | facets: f-messaging-1, f-messaging-2; 15 | } 16 | 17 | app { 18 | installer: bash; 19 | exports: ip, port = toto; 20 | 21 | # At runtime, all the variables will be sent to "app" instances. 22 | # database.* => database.ip and database.port. 23 | # f-messaging-2 => f-messaging-2.port. 24 | imports: database.*, f-messaging-2.*; 25 | } 26 | 27 | # Facets are not really useful, except for test purpose 28 | facet f-messaging-1 { 29 | exports: queue = default; 30 | } 31 | 32 | facet f-messaging-2 { 33 | exports: port = 9090; 34 | } 35 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-integration-tests-dm-with-agents-in-memory/src/test/resources/app-with-external-exports/graph/lamp.graph: -------------------------------------------------------------------------------- 1 | ################################### 2 | ## LAMP ## 3 | ################################### 4 | 5 | # Here, we only have components. 6 | # We do not use facets. 7 | # See lamp-legacy-2 for a version with facets. 8 | 9 | # The VM 10 | VM { 11 | installer: target; 12 | children: MySQL, Tomcat, Apache; 13 | } 14 | 15 | # MySQL database 16 | MySQL { 17 | installer: puppet; 18 | exports: ip, port = 3306; 19 | } 20 | 21 | # Tomcat 22 | Tomcat { 23 | installer: puppet; 24 | exports: ip, portAJP = 8009; 25 | imports: MySQL.ip, MySQL.port; 26 | } 27 | 28 | # Apache Load Balancer 29 | Apache { 30 | installer: puppet; 31 | imports: Tomcat.portAJP, Tomcat.ip; 32 | exports: ip; 33 | } 34 | -------------------------------------------------------------------------------- /NOTICE: -------------------------------------------------------------------------------- 1 | Roboconf 2 | Copyright 2012-2016 Linagora, Université Joseph Fourier, Floralis 3 | 4 | The present code is developed in the scope of the joint LINAGORA - 5 | Université Joseph Fourier - Floralis research program and is designated 6 | as a "Result" pursuant to the terms and conditions of the LINAGORA 7 | - Université Joseph Fourier - Floralis research program. Each copyright 8 | holder of Results enumerated here above fully & independently holds complete 9 | ownership of the complete Intellectual Property rights applicable to the whole 10 | of said Results, and may freely exploit it in any manner which does not infringe 11 | the moral rights of the other copyright holders. 12 | 13 | This product includes software developed under the Apache License v2.0 14 | (visit the Apache Software Foundation at http://www.apache.org/). 15 | -------------------------------------------------------------------------------- /core/roboconf-agent-monitoring/src/test/resources/nagios-events.conf: -------------------------------------------------------------------------------- 1 | # This is a comment ;) 2 | # These can be seen as probes configurations, all associated with a same Roboconf component. 3 | # The "nagios" handler should also work with Shinken. 4 | 5 | # A simple query for Live Status, Nagios' protocol. 6 | [EVENT nagios myRuleName-80] 7 | GET hosts 8 | Columns: host_name accept_passive_checks acknowledged 9 | Filter: accept_passive_checks = 1 10 | 11 | # A Nagios query AND the location of the Nagios instance. 12 | [EVENT nagios myRuleName-2] 13 | Nagios configuration at http://192.168.15.4 14 | GET hosts 15 | Columns: host_name 16 | Filter: host_name = toto 17 | 18 | # A Nagios query AND the location and port of the Nagios instance. 19 | [EVENT nagios myRuleName-3] 20 | Nagios configuration at http://192.168.15.4:50001 21 | GET hosts 22 | Columns: host_name 23 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/commands/commands-with-query-indexes.txt: -------------------------------------------------------------------------------- 1 | 2 | # Create 3 new Tomcat VMs, with a Tomcat installed 3 | define VAR = vm $(SMART_INDEX) 4 | replicate /tomcat-vm as $(VAR) 5 | 6 | define VAR = vm $(SMART_INDEX) 7 | replicate /tomcat-vm as $(VAR) 8 | 9 | define VAR = vm $(SMART_INDEX) 10 | replicate /tomcat-vm as $(VAR) 11 | 12 | # Deploy and start everything on the last one 13 | define LAST = vm $(EXISTING_INDEX MAX) 14 | deploy and start all /$(LAST) 15 | 16 | # Undeploy the oldest one 17 | define OLDEST = vm $(EXISTING_INDEX MIN) 18 | undeploy all /$(OLDEST) 19 | 20 | # Verify something that will not be found 21 | define OLDEST = vm $(EXISTING_INDEX MIN > 50 ) 22 | stop all /$(OLDEST) 23 | undeploy all /$(OLDEST) 24 | delete /$(OLDEST) 25 | 26 | # Verify the instruction after is NOT disabled 27 | append that into /this/file 28 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/applications/lamp-legacy-with-facets-and-so-on/graph/lamp.graph: -------------------------------------------------------------------------------- 1 | ################################### 2 | ## LAMP ## 3 | ################################### 4 | 5 | 6 | import facets.graph; 7 | import aggregator.graph; 8 | import reusables/commons.graph; 9 | 10 | 11 | # VM 12 | VM_EC2 { 13 | extends: VM; 14 | } 15 | 16 | VM_Openstack { 17 | extends: VM; 18 | exports: something = else; 19 | } 20 | 21 | 22 | # MySQL database 23 | MySQL { 24 | facets: deployable; 25 | installer: puppet; 26 | exports: ip, port = 3306; 27 | } 28 | 29 | # Tomcat 30 | Tomcat { 31 | facets: deployable; 32 | installer: puppet; 33 | exports: ip, portAJP = 8009; 34 | imports: MySQL.ip, MySQL.port; 35 | } 36 | 37 | # Apache Load Balancer 38 | Apache { 39 | facets: deployable; 40 | installer: puppet; 41 | imports: Tomcat.portAJP, Tomcat.ip; 42 | } 43 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/applications/karaf-joram-jndi/graph/main.graph: -------------------------------------------------------------------------------- 1 | ################################# 2 | ## Karaf / Joram / JNDI ## 3 | ################################# 4 | 5 | # Here, we only have components. 6 | # We do not use facets. 7 | 8 | # The VMware VM 9 | VM_VMWARE { 10 | installer: target; 11 | children: Karaf; 12 | } 13 | 14 | VM_EC2 { 15 | installer: target; 16 | children: Karaf; 17 | } 18 | 19 | VM_AZURE { 20 | installer: target; 21 | children: Karaf; 22 | } 23 | 24 | 25 | # Karaf OSGi Framework 26 | Karaf { 27 | installer: bash; 28 | exports: ip, agentID = 1; 29 | children: Joram, JNDI; 30 | } 31 | 32 | # Joram Application OSGi Server 33 | Joram { 34 | installer: bash; 35 | exports: portJR = 16001; 36 | imports: Karaf.agentID, Karaf.ip; 37 | } 38 | 39 | # JNDI OSGi 40 | JNDI { 41 | installer: bash; 42 | exports: portJNDI = 16401; 43 | imports: Karaf.agentID, Karaf.ip; 44 | } 45 | 46 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-maven-plugin/src/it/settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | it-repo 6 | 7 | true 8 | 9 | 10 | 11 | 12 | local.central 13 | @localRepositoryUrl@ 14 | 15 | true 16 | 17 | 18 | true 19 | 20 | 21 | 22 | 23 | 24 | 25 | local.central 26 | @localRepositoryUrl@ 27 | 28 | true 29 | 30 | 31 | true 32 | 33 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/applications/app-for-templates/graph/example.graph: -------------------------------------------------------------------------------- 1 | # The facets. 2 | facet Virtual { 3 | } 4 | 5 | facet Machine { 6 | } 7 | 8 | facet Service { 9 | } 10 | 11 | facet Application { 12 | } 13 | 14 | facet VirtualMachine { 15 | extends: Virtual, Machine; 16 | } 17 | 18 | facet NetworkService { 19 | extends: Service; 20 | } 21 | 22 | # The components 23 | Vm { 24 | facets: VirtualMachine; 25 | installer: target; 26 | children: Service; 27 | } 28 | 29 | MySql { 30 | facets: NetworkService; 31 | installer: puppet; 32 | exports: ip, port = 3306; 33 | } 34 | 35 | Apache { 36 | facets: NetworkService; 37 | installer: docker; 38 | imports: Tomcat.ip, Tomcat.ajpPort; 39 | } 40 | 41 | Tomcat { 42 | facets: NetworkService; 43 | installer: docker; 44 | exports: ip, ajpPort = 8009; 45 | imports: MySql.ip, MySql.port; 46 | children: Application; 47 | } 48 | 49 | War { 50 | facets: Application; 51 | installer: human; 52 | imports: MySql.*; 53 | } 54 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-maven-plugin/src/it/valid-multi-modules/verify.bsh: -------------------------------------------------------------------------------- 1 | import java.io.*; 2 | import net.roboconf.core.utils.*; 3 | 4 | File zipFile = new File( basedir, "module-a/target/module-a-1.0.zip" ); 5 | if( ! zipFile.isFile()) { 6 | throw new FileNotFoundException( "Module A's ZIP file was not found." ); 7 | } 8 | 9 | zipFile = new File( basedir, "module-b/target/module-b-1.0.zip" ); 10 | if( ! zipFile.isFile()) { 11 | throw new FileNotFoundException( "Module B's ZIP file was not found." ); 12 | } 13 | 14 | File buildFile = new File( basedir, "build.log" ); 15 | if( ! buildFile.isFile()) { 16 | throw new FileNotFoundException( "No build log was found." ); 17 | } 18 | 19 | String buildLogContent = Utils.readFileContent( buildFile ); 20 | if( ! buildLogContent.contains( "[WARNING] Artifact module-a contains target properties. Reusable target properties should be packaged separately." )) { 21 | throw new IOException( "A warning about target properties was expected." ); 22 | } 23 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/valid/real-lamp-components.graph: -------------------------------------------------------------------------------- 1 | ################################### 2 | ## All the components ## 3 | ################################### 4 | 5 | 6 | ### Import the facet definitions 7 | import real-lamp-facets.rcf; 8 | ### End of imports 9 | 10 | # The VM 11 | VM { 12 | facets: VM; 13 | } 14 | 15 | # MySQL database 16 | MySQL { 17 | facets: deployable; 18 | exports: ip, port = 3306; 19 | installer: puppet; 20 | } 21 | 22 | # Tomcat 23 | Tomcat { 24 | exports: ip, port = 8080; 25 | children: war; 26 | installer: puppet; 27 | facets: deployable; 28 | } 29 | 30 | # Apache Load Balancer 31 | Apache { 32 | imports: Tomcat.port, Tomcat.ip; 33 | exports: ip, port = 80; 34 | installer: puppet; 35 | facets: deployable; 36 | } 37 | 38 | # WAR applications 39 | ecom { 40 | imports: MySQL.port, MySQL.ip; # This application uses a database. 41 | facets: war-archive; 42 | } 43 | 44 | hello-world { 45 | facets: war-archive; 46 | } 47 | -------------------------------------------------------------------------------- /core/roboconf-dm/src/test/resources/autonomic/my-app.rules: -------------------------------------------------------------------------------- 1 | # This is a comment ;) 2 | # This files gathers all the reactions for a given application. 3 | 4 | # When "event-1" is triggered, replicate a service. 5 | # The service is instantiated given the path on the next line. 6 | # Each path segment designates a component name. Here, it means we will create... 7 | # ... a new VM, with a new Tomcat, with a new instance of War 1. 8 | [reaction event-1 Replicate-Service] 9 | /vm/tomcat/war1 10 | 11 | # FIXME: we should be able to specify several instances here. 12 | 13 | # When "event-2" is triggered, delete a service. 14 | # The service to delete is associated with the component described on the next line (war1). 15 | # The entire VM will be deleted. Only VM that were created with "Replicate-Service" can be 16 | # deleted by "Delete-Service". 17 | [reaction event-2 Delete-Service] 18 | war1 19 | 20 | # When "event-3" is triggered, send an e-mail. 21 | [reaction event-3 Mail] 22 | admin@company.com 23 | 24 | # When "event-4" is triggered, log an entry. 25 | [reaction event-4 Log 27] 26 | -------------------------------------------------------------------------------- /karaf/roboconf-karaf-dist-dm/src/main/resources/etc/net.roboconf.dm.configuration.cfg: -------------------------------------------------------------------------------- 1 | ########################################################################### 2 | # 3 | # Copyright 2014-2016 Linagora, Université Joseph Fourier, Floralis 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); 6 | # you may not use this file except in compliance with the License. 7 | # You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | ########################################################################### 17 | 18 | # The type of messaging to use. 19 | # Possible values: rabbitmq, http, in-memory or idle 20 | messaging-type = idle 21 | 22 | # The domain. 23 | domain = default 24 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/commands/all-commands.txt: -------------------------------------------------------------------------------- 1 | 2 | # Define and bulk actions 3 | define VAR = vm 4 | define cpt = $(SMART_INDEX) 5 | create vm as $(VAR) $(cpt) 6 | 7 | deploy and start all /$(VAR) $(cpt) 8 | stop all /$(VAR) $(cpt) 9 | undeploy all /$(VAR) $(cpt) 10 | delete /$(VAR) $(cpt) 11 | 12 | # Create, replicate, rename, associate 13 | replicate /tomcat-vm as new-tomcat-vm 14 | rename /tomcat-vm as tomcat-vm-2 15 | create vm as tomcat-vm-3 16 | associate /tomcat-vm-2 with 1 17 | 18 | # Change state 19 | change status of /tomcat-vm-2/tomcat-server to DEPLOYED and STARTED 20 | 21 | # Write 22 | write something into /this/file 23 | 24 | # Append 25 | append that into /this/file 26 | 27 | # Execute 28 | execute single-line-commands 29 | 30 | # E-mail 31 | email toto@company.net with \ 32 | Subject: Alert!\ 33 | \n\ 34 | This is an alert. 35 | 36 | # Bulk actions by component names 37 | # (put at the end because one deletes all the instances) 38 | 39 | deploy and start all instances of vm 40 | stop all instances of vm 41 | undeploy all instances of vm 42 | delete all instances of vm 43 | -------------------------------------------------------------------------------- /web-extensions/roboconf-web-extension-for-kibana/src/main/resources/app.twig: -------------------------------------------------------------------------------- 1 | 2 |

3 | This page lists all the Kibana Dashboards for Roboconf applications.
4 | Notice that all the agents are considered as having Decanter installed and configured to work 5 | with Elastic Search and Kibana. Please, refer to 6 | this page 7 | for more details. 8 |

9 |

10 | These are the agent dashboards for the {{- appName -}} application.
11 | List all the Kibana dashboards. 12 |

13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 | {% for instancePath in instancePaths %} 21 | 22 | 23 | 24 | 25 | 26 | 27 | {% endfor %} 28 |
Instance PathAssociated Dashboard
{{- instancePath -}}here
29 | -------------------------------------------------------------------------------- /web-extensions/roboconf-web-extension-for-kibana/src/main/resources/apps.twig: -------------------------------------------------------------------------------- 1 | 2 |

3 | This page lists all the Kibana Dashboards for Roboconf applications.
4 | Notice that all the agents are considered as having Decanter installed and configured to work 5 | with Elastic Search and Kibana. Please, refer to 6 | this page 7 | for more details. 8 |

9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | {% for app in apps %} 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | {% endfor %} 32 |
Application NameApplication's DashboardAgents List
DMhere-
{{- app.getName() -}}herehere
33 | -------------------------------------------------------------------------------- /karaf/roboconf-karaf-dist-agent/src/main/resources/etc/net.roboconf.messaging.http.cfg: -------------------------------------------------------------------------------- 1 | ########################################################################### 2 | # 3 | # Copyright 2014-2016 Linagora, Université Joseph Fourier, Floralis 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); 6 | # you may not use this file except in compliance with the License. 7 | # You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | ########################################################################### 17 | 18 | ###################################### 19 | # The HTTP messaging parameters 20 | ###################################### 21 | 22 | # The IP address (or hostname) and port of the HTTP server. 23 | net.roboconf.messaging.http.server.ip = localhost 24 | net.roboconf.messaging.http.server.port = 8181 25 | -------------------------------------------------------------------------------- /karaf/roboconf-karaf-dist-dm/src/main/resources/etc/net.roboconf.dm.preferences.cfg: -------------------------------------------------------------------------------- 1 | ########################################################################### 2 | # 3 | # Copyright 2016 Linagora, Université Joseph Fourier, Floralis 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); 6 | # you may not use this file except in compliance with the License. 7 | # You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | ########################################################################### 17 | 18 | 19 | ########################################################################### 20 | # IMPORTANT 21 | # The content of this file is generated during the build from the 22 | # "net.roboconf.dm.management.api.IPreferencesMngr" class (DM bundle). 23 | ########################################################################### 24 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/valid/app-template-descriptor.properties: -------------------------------------------------------------------------------- 1 | 2 | application-name = Tomcat 8 cluster 3 | version = tomcat8-cluster-${project.version} 4 | 5 | application-description = A Tomcat 8 cluster with its dedicated load balancer: \ 6 | - The load balancer statistics are available at: http://loadbalancer-ip:8080/haproxy?stats \ 7 | - The web-application providing SOAP services is available at: \ 8 | - http:///samples-SOAP-services/services/archiveService?wsdl \ 9 | - http:///samples-SOAP-services/services/notifyVacationService?wsdl 10 | 11 | application-namespace = ${project.groupId} 12 | application-dsl-id = roboconf-1.0 13 | 14 | graph-entry-point = main.graph 15 | instance-entry-point = model.instances 16 | 17 | 18 | # On the global scope, variables exposed by this application will be prefixed with... 19 | exports-prefix: TomcatCluster 20 | 21 | # That's because the template's name may contain special characters, while variable prefix 22 | # cannot. This prefix must be unique among all the application templates. 23 | 24 | # Now, lets export the internal variable outside. 25 | exports: \ 26 | HAProxy.ip as lb-ip, \ 27 | HAProxy.httpPort as lb-port 28 | 29 | tags = petals 30 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-tooling-core/src/main/resources/pom-skeleton.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 4.0.0 8 | 9 | 3.0.3 10 | 11 | 12 | ${GROUPD_ID} 13 | ${ARTIFACT_ID} 14 | ${VERSION} 15 | roboconf-app 16 | 17 | ${NAME} 18 | ${DESCRIPTION} 19 | 20 | 21 | UTF-8 22 | ${maven.build.timestamp} 23 | yyyy-MM-dd--HH-mm 24 | 25 | 26 | 27 | ${project.artifactId}--${project.version}--${timestamp} 28 | 29 | 30 | net.roboconf 31 | roboconf-maven-plugin 32 | ${PLUGIN_VERSION} 33 | true 34 | 35 | 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-tooling-core/src/test/resources/expected-pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 4.0.0 8 | 9 | 3.0.3 10 | 11 | 12 | com.linagora 13 | roboconf-sample 14 | 1.0-SNAPSHOT 15 | roboconf-app 16 | 17 | my project 18 | some desc 19 | 20 | 21 | UTF-8 22 | ${maven.build.timestamp} 23 | yyyy-MM-dd--HH-mm 24 | 25 | 26 | 27 | ${project.artifactId}--${project.version}--${timestamp} 28 | 29 | 30 | net.roboconf 31 | roboconf-maven-plugin 32 | 1.0.0 33 | true 34 | 35 | 36 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/valid/real-lamp-all-in-one.graph: -------------------------------------------------------------------------------- 1 | ################################### 2 | ## All in One ## 3 | ################################### 4 | 5 | 6 | ################################### 7 | ## First, components... 8 | ################################### 9 | 10 | # The VM 11 | VM { 12 | facets: VM; 13 | } 14 | 15 | # MySQL database 16 | MySQL { 17 | facets: deployable; 18 | exports: ip, port = 3306; 19 | installer: puppet; 20 | } 21 | 22 | # Tomcat 23 | Tomcat { 24 | exports: ip, port = 8080; 25 | children: war; 26 | installer: puppet; 27 | facets: deployable; 28 | } 29 | 30 | # Apache Load Balancer 31 | Apache { 32 | imports: Tomcat.port, Tomcat.ip; 33 | exports: ip, port = 80; 34 | installer: puppet; 35 | facets: deployable; 36 | } 37 | 38 | # WAR applications 39 | ecom { 40 | imports: MySQL.port, MySQL.ip; # This application uses a database. 41 | facets: war-archive; 42 | } 43 | 44 | hello-world { 45 | facets: war-archive; 46 | } 47 | 48 | 49 | ################################### 50 | ## Then, facets... 51 | ################################### 52 | 53 | # The VM facet 54 | facet VM { 55 | children: deployable; 56 | } 57 | 58 | # The deployable facet 59 | facet deployable { 60 | # nothing 61 | } 62 | 63 | # WAR archives 64 | facet war-archive { 65 | exports: full-url, url-path; 66 | } 67 | -------------------------------------------------------------------------------- /karaf/roboconf-karaf-dist-dm/src/main/resources/etc/net.roboconf.messaging.http.cfg: -------------------------------------------------------------------------------- 1 | ########################################################################### 2 | # 3 | # Copyright 2014-2016 Linagora, Université Joseph Fourier, Floralis 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); 6 | # you may not use this file except in compliance with the License. 7 | # You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | ########################################################################### 17 | 18 | ###################################### 19 | # The HTTP messaging parameters 20 | ###################################### 21 | 22 | # The IP address (or hostname) and port of the HTTP server. 23 | # Although the DM does not connect to itself with this messaging implementation, 24 | # this file is used to propagate this messaging configuration to agents. 25 | net.roboconf.messaging.http.server.ip = localhost 26 | net.roboconf.messaging.http.server.port = 8181 27 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-tooling-core/src/test/resources/test-pom-skeleton.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 4.0.0 8 | 9 | 3.0.3 10 | 11 | 12 | com.linagora 13 | ${ARTIFACT_ID} 14 | ${VERSION} 15 | roboconf-app 16 | 17 | ${NAME} 18 | ${DESCRIPTION} 19 | 20 | 21 | UTF-8 22 | ${maven.build.timestamp} 23 | yyyy-MM-dd--HH-mm 24 | 25 | 26 | 27 | ${project.artifactId}--${project.version}--${timestamp} 28 | 29 | 30 | net.roboconf 31 | roboconf-maven-plugin 32 | ${PLUGIN_VERSION} 33 | true 34 | 35 | 36 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /karaf/roboconf-karaf-dist-dm/src/main/resources/etc/net.roboconf.messaging.rabbitmq.cfg: -------------------------------------------------------------------------------- 1 | ########################################################################### 2 | # 3 | # Copyright 2014-2016 Linagora, Université Joseph Fourier, Floralis 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); 6 | # you may not use this file except in compliance with the License. 7 | # You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | ########################################################################### 17 | 18 | ###################################### 19 | # The Rabbit MQ messaging parameters 20 | ###################################### 21 | 22 | # The IP address and port of RabbitMQ. 23 | # Example: 192.168.1.87 24 | # Example: 192.168.1.89:4048 25 | net.roboconf.messaging.rabbitmq.server.ip = localhost 26 | 27 | 28 | # The user name and password to access RabbitMQ. 29 | net.roboconf.messaging.rabbitmq.server.username = guest 30 | net.roboconf.messaging.rabbitmq.server.password = guest 31 | -------------------------------------------------------------------------------- /karaf/roboconf-karaf-dist-agent/src/main/resources/etc/net.roboconf.messaging.rabbitmq.cfg: -------------------------------------------------------------------------------- 1 | ########################################################################### 2 | # 3 | # Copyright 2014-2016 Linagora, Université Joseph Fourier, Floralis 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); 6 | # you may not use this file except in compliance with the License. 7 | # You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | ########################################################################### 17 | 18 | ###################################### 19 | # The Rabbit MQ messaging parameters 20 | ###################################### 21 | 22 | # The IP address and port of RabbitMQ. 23 | # Example: 192.168.1.87 24 | # Example: 192.168.1.89:4048 25 | net.roboconf.messaging.rabbitmq.server.ip = localhost 26 | 27 | 28 | # The user name and password to access RabbitMQ. 29 | net.roboconf.messaging.rabbitmq.server.username = guest 30 | net.roboconf.messaging.rabbitmq.server.password = guest 31 | -------------------------------------------------------------------------------- /core/roboconf-core/src/test/resources/configurations/valid/real-lamp-all-in-one-flex.graph: -------------------------------------------------------------------------------- 1 | ################################### 2 | ## All in One ## 3 | ## with spaces in IDs ## 4 | ################################### 5 | 6 | 7 | ################################### 8 | ## First, components... 9 | ################################### 10 | 11 | # The VM 12 | VM { 13 | facets: Virtual Machine; 14 | } 15 | 16 | # MySQL database 17 | MySQL { 18 | facets: deployable; 19 | exports: ip, port = 3306; 20 | installer: puppet; 21 | } 22 | 23 | # Tomcat 24 | Tomcat { 25 | exports: ip, port = 8080; 26 | children: war archive; 27 | installer: puppet; 28 | facets: deployable; 29 | } 30 | 31 | # Apache Load Balancer 32 | Apache { 33 | imports: Tomcat.port, Tomcat.ip; 34 | exports: ip, port = 80; 35 | installer: puppet; 36 | facets: deployable; 37 | } 38 | 39 | # WAR applications 40 | ecom { 41 | imports: MySQL.port, MySQL.ip; # This application uses a database. 42 | facets: war archive; 43 | } 44 | 45 | hello world { 46 | facets: war archive; 47 | } 48 | 49 | 50 | ################################### 51 | ## Then, facets... 52 | ################################### 53 | 54 | # The VM facet 55 | facet Virtual Machine { 56 | children: deployable; 57 | } 58 | 59 | # The deployable facet 60 | facet deployable { 61 | # nothing 62 | } 63 | 64 | # WAR archives 65 | facet war archive { 66 | exports: full-url, url-path; 67 | } 68 | -------------------------------------------------------------------------------- /miscellaneous/roboconf-maven-plugin/src/it/valid-multi-modules/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 18 | 19 | 23 | 24 | 4.0.0 25 | 26 | 3.0.3 27 | 28 | 29 | net.roboconf.test 30 | module-aggregator 31 | 1.0 32 | Multi-module :: Aggregator 33 | pom 34 | 35 | 36 | module-a 37 | module-b 38 | 39 | 40 | --------------------------------------------------------------------------------