| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <!-- Unit test on the Kalumet model --> |
| <kalumet> |
| |
| <properties> |
| <property name="test" value="test"/> |
| </properties> |
| |
| <security> |
| <users> |
| <user id="test" name="Test Test" email="test@example.com" password=""/> |
| </users> |
| <groups> |
| <group id="test" name="Test Group"> |
| <users> |
| <user id="test"/> |
| </users> |
| </group> |
| </groups> |
| </security> |
| |
| <agents> |
| <agent id="test" hostname="localhost" port="5000" cron="0 * * * * *" maxmanagedenvironments="5" |
| maxjeeapplicationserversstarted="3"/> |
| </agents> |
| |
| <environments> |
| <environment name="test_auto" group="TEST" tag="test" autoupdate="false" agent="test" lock="test" |
| releaseLocation="ftp://remote/release/${RELEASE_VERSION}"> |
| <notes> |
| <![CDATA[ |
| Notes test. |
| ]]> |
| </notes> |
| <weblinks> |
| <![CDATA[ |
| Weblinks test. |
| ]]> |
| </weblinks> |
| <variables> |
| <variable name="RELEASE_VERSION" value="test"/> |
| </variables> |
| <freefields> |
| <freefield name="FREE"> |
| <![CDATA[ |
| field |
| ]]> |
| </freefield> |
| </freefields> |
| <accesses> |
| <access group="test"> |
| <properties> |
| <property name="admin" value="false"/> |
| <property name="update" value="true"/> |
| <property name="jee_application_servers_change" value="true"/> |
| <property name="jee_application_servers_update" value="true"/> |
| <property name="jee_application_servers_control" value="true"/> |
| <property name="jee_resources_change" value="true"/> |
| <property name="jee_resources_update" value="true"/> |
| <property name="jee_applications_change" value="true"/> |
| <property name="jee_applications_update" value="true"/> |
| <property name="softwares_change" value="true"/> |
| <property name="softwares_update" value="true"/> |
| <property name="release" value="true"/> |
| <property name="shell" value="true"/> |
| <property name="browser" value="true"/> |
| <property name="homepage" value="true"/> |
| </properties> |
| </access> |
| </accesses> |
| <logfiles> |
| <logfile name="test" path="/tmp" agent="test"/> |
| </logfiles> |
| <jeeapplicationservers cluster="false"> |
| <jeeapplicationserver name="as_test" classname="org.apache.kalumet.jmx.plugins.DummyPlugin" |
| jmxurl="dummy://localhost:1099" adminuser="admin_user" adminpassword="admin_password" |
| updateRequireRestart="true" updateRequireCacheCleaning="true" usejmxstop="false" |
| deletecomponents="false" agent="test"> |
| <startupcommand> |
| <![CDATA[ |
| echo "Startup" |
| ]]> |
| </startupcommand> |
| <shutdowncommand> |
| <![CDATA[ |
| echo "Shutdown" |
| ]]> |
| </shutdowncommand> |
| <jdbcconnectionpools> |
| <jdbcconnectionpool name="test"/> |
| </jdbcconnectionpools> |
| <jdbcdatasources> |
| <jdbcdatasource name="test"/> |
| </jdbcdatasources> |
| </jeeapplicationserver> |
| </jeeapplicationservers> |
| <softwares> |
| <software name="test" uri="http://www.example.com/software" agent="test" active="true" blocker="false" |
| beforejee="false"> |
| <updateplan> |
| <command name="command_test" agent="test" active="true" blocker="false"> |
| <![CDATA[ |
| ls /tmp |
| ]]> |
| </command> |
| <location name="location_test" active="true" blocker="false" agent="test" |
| uri="http://www.example.com/location" path="/tmp/location" override="false"/> |
| <configurationfile name="configurationfile_test" active="true" blocker="false" |
| uri="http://www.example.com/configurationfile" path="/tmp/configurationfile" |
| agent="test"> |
| <mappings> |
| <mapping key="test" value="test"/> |
| </mappings> |
| </configurationfile> |
| <database name="db_test" active="true" blocker="false" driver="com.example.test.Driver" user="user_test" |
| password="password_test" jdbcurl="jdbc://example.com:3306/test" connectionPool="" sqlCommand="" |
| agent="test"> |
| <sqlscripts> |
| <sqlscript name="sqlscript_test" active="true" blocker="false" force="true" |
| uri="http://www.example.com/sqlscript"> |
| <mappings> |
| <mapping key="test" value="test"/> |
| </mappings> |
| </sqlscript> |
| </sqlscripts> |
| </database> |
| </updateplan> |
| </software> |
| </softwares> |
| <notifiers> |
| |
| </notifiers> |
| <publishers> |
| |
| </publishers> |
| </environment> |
| </environments> |
| |
| </kalumet> |