[ 
https://issues.apache.org/jira/browse/STONEHENGE-67?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12720975#action_12720975
 ] 

Avantika Agrawal commented on STONEHENGE-67:
--------------------------------------------

I am currently working on this issue. I have a couple of questions which I 
think should be up for discussion.

I am attempting to make a connection to the ConfigService from the 
BusinessServiceConsole right now - in the main method. Here's a snippet of the 
code I am using to test the services:

IConfig dalConfig = 
Trade.DALFactory.Config.Create(BusinessServiceConfigurationSettings.Settings.DAL);
Console.WriteLine("Business Service for PHP Client: {0}", 
dalConfig.getBS("PHP_CLIENT"));
Unfortunately, I keep getting a NullReferenceException for the connection 
string in SQLHelper, so I have to fix a few bugs.

In general,
I think that we should probably be using the Config methods to set the 
"ORDER_PROCESSING_MODE" in the Settings class? Any other ideas on where the new 
ConfigService should be called and how the services should interact?

Also, I know that we may not be able to completely eliminate the config files 
because we may still need the database connection information. But has any 
thought been given to the idea of incorporating information about the endpoints 
into the database as well - this would mean that the bindings may be stored 
within the database making it a lot easier to add new endpoints without 
directly accessing the App.config files. I would be interested to understand 
how the php handles the contracts, bindings and binding configs. I don't think 
this is within the scope of this issue, but I think it may be worth discussing 
either now or later.




> Setup .NET Client/BS/OPS to get Active BS/OPS from config service 
> ------------------------------------------------------------------
>
>                 Key: STONEHENGE-67
>                 URL: https://issues.apache.org/jira/browse/STONEHENGE-67
>             Project: Stonehenge
>          Issue Type: New Feature
>            Reporter: Avantika Agrawal
>
> Once the config service is created, hook up the .NET Client/BS/OPS to find 
> the endpoints from the database
> i.e. configuration should happen from the database rather than the config 
> files - replicating the functionality of the PHP implementation

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to