Skip to content

Commit 1568126

Browse files
committed
latest version compatible with thesis manuscript
1 parent 21986b5 commit 1568126

File tree

226 files changed

+10465
-7543
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

226 files changed

+10465
-7543
lines changed

bin/cube-console-2.0.jar

437 Bytes
Binary file not shown.
832 KB
Binary file not shown.

bin/cube-runtime-2.0.jar

169 KB
Binary file not shown.

demo/tests.svg

Lines changed: 2346 additions & 0 deletions
Loading

demo/thesis/uc0/am1/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
bundle/*
2+
felix-cache/

demo/thesis/uc0/am1/bin/felix.jar

407 KB
Binary file not shown.
Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. 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,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
18+
#
19+
# Framework config properties.
20+
#
21+
22+
# To override the packages the framework exports by default from the
23+
# class path, set this variable.
24+
#org.osgi.framework.system.packages=
25+
26+
# To append packages to the default set of exported system packages,
27+
# set this value.
28+
#org.osgi.framework.system.packages.extra=
29+
30+
# The following property makes specified packages from the class path
31+
# available to all bundles. You should avoid using this property.
32+
#org.osgi.framework.bootdelegation=sun.*,com.sun.*
33+
34+
# Felix tries to guess when to implicitly boot delegate in certain
35+
# situations to ease integration without outside code. This feature
36+
# is enabled by default, uncomment the following line to disable it.
37+
#felix.bootdelegation.implicit=false
38+
39+
# The following property explicitly specifies the location of the bundle
40+
# cache, which defaults to "felix-cache" in the current working directory.
41+
# If this value is not absolute, then the felix.cache.rootdir controls
42+
# how the absolute location is calculated. (See next property)
43+
#org.osgi.framework.storage=${felix.cache.rootdir}/felix-cache
44+
45+
# The following property is used to convert a relative bundle cache
46+
# location into an absolute one by specifying the root to prepend to
47+
# the relative cache path. The default for this property is the
48+
# current working directory.
49+
#felix.cache.rootdir=${user.dir}
50+
51+
# The following property controls whether the bundle cache is flushed
52+
# the first time the framework is initialized. Possible values are
53+
# "none" and "onFirstInit"; the default is "none".
54+
#org.osgi.framework.storage.clean=onFirstInit
55+
56+
# The following property determines which actions are performed when
57+
# processing the auto-deploy directory. It is a comma-delimited list of
58+
# the following values: 'install', 'start', 'update', and 'uninstall'.
59+
# An undefined or blank value is equivalent to disabling auto-deploy
60+
# processing.
61+
felix.auto.deploy.action=install,start
62+
63+
# The following property specifies the directory to use as the bundle
64+
# auto-deploy directory; the default is 'bundle' in the working directory.
65+
#felix.auto.deploy.dir=bundle
66+
67+
# The following property is a space-delimited list of bundle URLs
68+
# to install when the framework starts. The ending numerical component
69+
# is the target start level. Any number of these properties may be
70+
# specified for different start levels.
71+
#felix.auto.install.1=
72+
73+
# The following property is a space-delimited list of bundle URLs
74+
# to install and start when the framework starts. The ending numerical
75+
# component is the target start level. Any number of these properties
76+
# may be specified for different start levels.
77+
#felix.auto.start.1=
78+
79+
felix.log.level=1
80+
81+
# Sets the initial start level of the framework upon startup.
82+
#org.osgi.framework.startlevel.beginning=1
83+
84+
# Sets the start level of newly installed bundles.
85+
#felix.startlevel.bundle=1
86+
87+
# Felix installs a stream and content handler factories by default,
88+
# uncomment the following line to not install them.
89+
#felix.service.urlhandlers=false
90+
91+
# The launcher registers a shutdown hook to cleanly stop the framework
92+
# by default, uncomment the following line to disable it.
93+
#felix.shutdown.hook=false
94+
95+
#
96+
# Bundle config properties.
97+
#
98+
99+
org.osgi.service.http.port=8080
100+
obr.repository.url=http://felix.apache.org/obr/releases.xml
101+
102+
#
103+
# CUBE config properties.
104+
#
105+
106+
107+
108+

demo/thesis/uc0/am1/load/am1.cube

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<cube>
2+
<autonomic-manager>
3+
<host value="localhost"/>
4+
<port value="38000"/>
5+
<debug value="false"/>
6+
<archetypeUrl value="file:../scenario0.arch"/>
7+
8+
<extensions>
9+
<extension id="fr.liglab.adele.cube.core"/>
10+
<!--extension id="fr.liglab.adele.cube.rm.monitoring"/-->
11+
</extensions>
12+
</autonomic-manager>
13+
</cube>
14+
15+
16+
17+

demo/thesis/uc0/am1/start.sh

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
# parameters:
2+
# 1 : cleaning
3+
# 2 : cleaning + preparing bundle directory
4+
# no param : cleaning + preparing + starting cube
5+
6+
# removing cache and perf measure files
7+
rm -rf felix-cache 2>/dev/null
8+
rm -f perf.csv 2>/dev/null
9+
rm -rf bundle 2>/dev/null
10+
11+
12+
if [ $# -eq 1 ]; then
13+
if [ $1 -eq 1 ]; then
14+
echo ""
15+
echo "cleaning..."
16+
echo ""
17+
exit
18+
fi
19+
fi
20+
21+
# creating the bundle directory if does not exist
22+
bundle="bundle"
23+
a=$(ls $bundle 2>/dev/null)
24+
exist=$?
25+
if [ $exist -eq 0 ]; then
26+
echo
27+
else
28+
echo
29+
mkdir $bundle
30+
fi
31+
32+
# copying needed bundles
33+
cp ../../../../bin/cube-runtime-2.0.jar bundle
34+
cp ../../../../bin/cube-console-2.0.jar bundle
35+
#cp ../../../../bin/cube-osgi-plugin-2.0.jar bundle
36+
cp ../../../../bin/cube-rm-monitoring-extension-2.0.jar bundle
37+
#cp ../../../../bin/cube-loadbalancing-plugin-2.0.jar bundle
38+
39+
40+
#cp ../../../../bin/web-console-branding-2.0.jar bundle
41+
#cp ../../../../bin/web-console-2.0.jar bundle
42+
# cp ../../../../bin/cube-internal-monitoring-extension-2.0.jar bundle
43+
44+
45+
46+
47+
#cp ../../../../lib/org.apache.felix.httplite.complete-0.1.4.jar bundle
48+
#cp ../../../../lib/pax-web-jetty-bundle-0.7.0.jar bundle
49+
50+
#cp ../../../../lib/commons-io-2.4.jar bundle
51+
#cp ../../../../lib/commons-fileupload-1.3.jar bundle
52+
#cp ../../../../lib/json-20090211_1.jar bundle
53+
54+
#cp ../../../../lib/org.apache.felix.httplite.core-0.1.4.jar bundle
55+
#cp ../../../../lib/org.apache.felix.http.api-2.2.0.jar bundle
56+
#cp ../../../../lib/org.apache.felix.http.base-2.2.0.jar bundle
57+
#cp ../../../../lib/org.apache.felix.webconsole-2.0.2.jar bundle
58+
#cp ../../../../lib/org.apache.felix.webconsole-4.0.0.jar bundle
59+
60+
#cp ../../../../lib/slf4j-log4j12-1.6.4.jar bundle
61+
62+
#cp ../../../../lib/org.apache.felix.ipojo.webconsole-1.6.0.jar bundle
63+
64+
cp ../../../../lib/org.apache.felix.bundlerepository-1.6.2.jar bundle
65+
cp ../../../../lib/org.apache.felix.fileinstall-3.2.0.jar bundle
66+
cp ../../../../lib/org.apache.felix.gogo.command-0.8.0.jar bundle
67+
cp ../../../../lib/org.apache.felix.gogo.runtime-0.8.0.jar bundle
68+
cp ../../../../lib/org.apache.felix.gogo.shell-0.8.0.jar bundle
69+
cp ../../../../lib/org.apache.felix.ipojo-1.8.6.jar bundle
70+
cp ../../../../lib/org.apache.felix.ipojo.arch.gogo-1.0.1.jar bundle
71+
cp ../../../../lib/org.apache.felix.ipojo.handler.jmx-1.4.0.jar bundle
72+
cp ../../../../lib/org.osgi.service.obr-1.0.2.jar bundle
73+
74+
if [ $# -eq 1 ]; then
75+
if [ $1 -eq 2 ];then
76+
echo ""
77+
echo "cleaning..."
78+
echo "preparing bundle directory..."
79+
echo ""
80+
exit
81+
fi
82+
fi
83+
84+
# launching OSGi felix
85+
java -jar bin/felix.jar

demo/thesis/uc0/am2/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
bundle/*
2+
felix-cache/

0 commit comments

Comments
 (0)