incubator-stonehenge-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chint...@apache.org
Subject svn commit: r809986 - /incubator/stonehenge/trunk/stocktrader/php/config_service/config_svc.php
Date Tue, 01 Sep 2009 11:53:30 GMT
Author: chintana
Date: Tue Sep  1 11:53:30 2009
New Revision: 809986

URL: http://svn.apache.org/viewvc?rev=809986&view=rev
Log:
Need OPSSEC stuff as well.


Modified:
    incubator/stonehenge/trunk/stocktrader/php/config_service/config_svc.php

Modified: incubator/stonehenge/trunk/stocktrader/php/config_service/config_svc.php
URL: http://svn.apache.org/viewvc/incubator/stonehenge/trunk/stocktrader/php/config_service/config_svc.php?rev=809986&r1=809985&r2=809986&view=diff
==============================================================================
--- incubator/stonehenge/trunk/stocktrader/php/config_service/config_svc.php (original)
+++ incubator/stonehenge/trunk/stocktrader/php/config_service/config_svc.php Tue Sep  1 11:53:30
2009
@@ -19,34 +19,7 @@
 require_once ("../data_layer/data_access_layer.php");
 require_once ("class_info.php");
 
-// define the class map
-$class_map = array(
-    "GetClientConfig" => "GetClientConfig",
-    "ClientConfigRequest" => "ClientConfigRequest",
-    "GetClientConfigResponse" => "GetClientConfigResponse",
-    "ClientConfigResponse" => "ClientConfigResponse",
-    "GetBSConfig" => "GetBSConfig",
-    "BSConfigRequest" => "BSConfigRequest",
-    "GetBSConfigResponse" => "GetBSConfigResponse",
-    "BSConfigResponse" => "BSConfigResponse",
-    "GetOPSConfig" => "GetOPSConfig",
-    "OPSConfigRequest" => "OPSConfigRequest",
-    "GetOPSConfigResponse" => "GetOPSConfigResponse",
-    "OPSConfigResponse" => "OPSConfigResponse",
-    "SetClientToBS" => "SetClientToBS",
-    "ClientToBS" => "ClientToBS",
-    "SetClientToBSResponse" => "SetClientToBSResponse",
-    "SetBSToOPS" => "SetBSToOPS",
-    "BSToOPS" => "BSToOPS",
-    "SetBSToOPSResponse" => "SetBSToOPSResponse",
-    "GetBSLocations" => "GetBSLocations",
-    "GetBSLocationsResponse" => "GetBSLocationsResponse",
-    "ArrayOfServiceLocation" => "ArrayOfServiceLocation",
-    "ServiceLocation" => "ServiceLocation",
-    "GetOPSLocations" => "GetOPSLocations",
-    "GetOPSLocationsResponse" => "GetOPSLocationsResponse",
-    "SetServiceLocation" => "SetServiceLocation",
-    "SetServiceLocationResponse" => "SetServiceLocationResponse");
+global $class_map;
 
 // define PHP functions that maps to WSDL operations 
 /**
@@ -114,7 +87,7 @@
         
 
         if ($result) {
-            $ops = $db->GetSQLValue ( $result, 0, 0 );
+            $ops = $db->GetSQLValue( $result, 0, 0 );
         }
         
         if ($ops) {
@@ -246,7 +219,7 @@
     
     $db = GetDatabase();
     
-    $query = "SELECT sec, servicename, url FROM service WHERE servicename LIKE '%_OPS'";
+    $query = "SELECT sec, servicename, url FROM service WHERE servicename LIKE '%_OPS%'";
     
     $result = $db->ExecuteQuery($query);
     



Mime
View raw message