There are several (13) places where "http://localhost/ws/" is part of the address of the structWSF web services. This assumes that conStruct is always running on the same host as structWSF.

It seems like this should be configurable to allow calls to remote structWSF instances, especially since the services are http-based

Comments

fgiasson’s picture

We should take care here. There are many "localhost" references in the code, but nearly all of them are ok.

For example, you will see multiple "variable_get("Dataset-".$datasetId."-WSF", "http://localhost/ws/");" Here, the second parameter is the default value to use if "Dataset-".$datasetId."-WSF" doesn't exists as a variable in drupal.

THE ONLY ONE that has to be fixed, is the one in the SmartyAggregates.php file on line 115.

Please send questions vis-a-vis this on this thread, so that I tell you if it is good or not and why.

fgiasson’s picture

Status: Active » Closed (fixed)

Fixed in the past. This is now a setting in Drupal, and is also manageable using structNetwork.