On Tue, 2008-09-16 at 15:02 -0400, Raymond Dans wrote:
> I'm working on the last bit of XECS-1487 which involves sipXsupervisor
> checking the existence of an SQL Database resource defined in a
> process definition file.
> 
> First of all, it appears that the only way to really check to ensure
> that a database is defined is to actually try and connect to it.  This
> is the approach that I'm planning on taking to verify this.  In order
> to connect to a database using ODBC, the following parameters are
> required:
> 
> 1. Database Name 
> 2. Server Name 
> 3. User Name 
> 4. Database Driver 
> 5. Password
> 
> 
> At present, the schema for process defnition files only
> allows/provides the Database Name that is a required resource for the
> process.  Obviously this is not enough information to attempt a
> database connection.  There are a few solutions that I can look into:
> 
> A) Modify the schema to allow the other necessary parameters to be
> provided. 

I like this one - it's the most modular.  The database is set up by the
component, so it knows what the parameters need to be.  Different
components may have different values for this.

Let me know if you need help with the schema extensions.


_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev

Reply via email to