Commit 293da0d30163e235ee2361615c065f3c3a12e4c0
1 parent
80a8c218
Datalets xml update
Showing
3 changed files
with
11 additions
and
4 deletions
DEEP.php
@@ -11,6 +11,9 @@ error_reporting(-1); | @@ -11,6 +11,9 @@ error_reporting(-1); | ||
11 | 11 | ||
12 | require 'Slim/Slim.php'; | 12 | require 'Slim/Slim.php'; |
13 | 13 | ||
14 | +/** | ||
15 | + * Class DEEP | ||
16 | + */ | ||
14 | class DEEP { | 17 | class DEEP { |
15 | private static $instance = null; | 18 | private static $instance = null; |
16 | private $app; | 19 | private $app; |
@@ -55,6 +58,10 @@ class DEEP { | @@ -55,6 +58,10 @@ class DEEP { | ||
55 | }); | 58 | }); |
56 | } | 59 | } |
57 | 60 | ||
61 | + /** | ||
62 | + * @param $source | ||
63 | + * @return array | ||
64 | + */ | ||
58 | public function loadServices($source){ | 65 | public function loadServices($source){ |
59 | $components_array = array(); | 66 | $components_array = array(); |
60 | $handler_configuration = simplexml_load_file($source) or die("ERROR: cant read Components configuration \n"); | 67 | $handler_configuration = simplexml_load_file($source) or die("ERROR: cant read Components configuration \n"); |
controllets.xml
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <handler_configuration> | 2 | <handler_configuration> |
3 | <deep_handler_configuration> | 3 | <deep_handler_configuration> |
4 | - <components_repository_url_reference>http://192.168.232.128/DEEalerProvider/COMPONENTS/controllets/</components_repository_url_reference> | 4 | + <components_repository_url_reference>http://192.168.214.128/DEEalerProvider/COMPONENTS/controllets/</components_repository_url_reference> |
5 | </deep_handler_configuration> | 5 | </deep_handler_configuration> |
6 | <components> | 6 | <components> |
7 | <component> | 7 | <component> |
datalets.xml
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <handler_configuration> | 2 | <handler_configuration> |
3 | <deep_handler_configuration> | 3 | <deep_handler_configuration> |
4 | - <components_repository_url_reference>http://192.168.232.128/DEEalerProvider/COMPONENTS/datalets/</components_repository_url_reference> | 4 | + <components_repository_url_reference>http://192.168.214.128/DEEalerProvider/COMPONENTS/datalets/</components_repository_url_reference> |
5 | </deep_handler_configuration> | 5 | </deep_handler_configuration> |
6 | <components> | 6 | <components> |
7 | <component> | 7 | <component> |
@@ -187,8 +187,8 @@ | @@ -187,8 +187,8 @@ | ||
187 | <selection>11</selection> | 187 | <selection>11</selection> |
188 | </input> | 188 | </input> |
189 | <input> | 189 | <input> |
190 | - <name>Link</name> | ||
191 | - <description>It is the link to the image related to the camera associated to each points</description> | 190 | + <name>Balloon content</name> |
191 | + <description>It is the text associated to the marker or the link to the image related to the camera associated to each points.</description> | ||
192 | <scale>nominal</scale> | 192 | <scale>nominal</scale> |
193 | <role>domain</role> | 193 | <role>domain</role> |
194 | <selection>11</selection> | 194 | <selection>11</selection> |