[ 
https://issues.apache.org/jira/browse/STONEHENGE-67?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Avantika Agrawal updated STONEHENGE-67:
---------------------------------------

    Attachment: Stonehenge-67.patch

Here is the patch for this issue. This basically replicates the PHP 
ConfigService functionality - the .NET StockTrader can be configured completely 
from the database, with no restarts reqd. These are lots of changes to almost 
all of the services so be sure to back up your own work in case in breaks the 
build. This patch gave me some problems when I was testing it so here are some 
steps to follow:

1 - You should apply this to StockTrader that's aready been built because the 
projects will look for binaries like Trade.IDAL, etc.
2 -There are some files that I couidn't patch because SVN was treating them as 
binaries - I will attach them to this issue separately. Be sure to put those 
into the appropriate folders
3 - Make sure that the .snk file is in every folder in the ConfigService and in 
common/ConfigClient - I could not patch this
4 - You may find that the Build Events are showing up incorrectly - they are 
not like that in the original files on my computer so you may need to change 
them
5 - I am also attaching some DB Scripts which will create the appropriate 
config tables - like the PHP, with rows for DOTNET_CLIENT and DOTNET_BS
5 - Build the ConfgServiceSolution first, followed by the 
BusinessServiceSolution/OPS.- this is bec. the business service console itself 
calls the configService to display the current configuration

I will post another comment with more specifics on the logic behind the code. 
Let me know if the

> 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
>         Attachments: Stonehenge-67.patch, test-67.patch
>
>
> 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