You are viewing a plain text version of this content. The canonical link for it is here.
Posted to stonehenge-dev@incubator.apache.org by "Avantika Agrawal (JIRA)" <ji...@apache.org> on 2009/06/25 06:03:07 UTC

[jira] Issue Comment Edited: (STONEHENGE-67) Setup .NET Client/BS/OPS to get Active BS/OPS from config service

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

Avantika Agrawal edited comment on STONEHENGE-67 at 6/24/09 11:01 PM:
----------------------------------------------------------------------

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
6 - 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

      was (Author: avantika):
    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: AssemblyInfo.cs, InsertScript.sql, SQLHelper.cs, Stonehenge-67.patch, Table Creation.sql, 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.