Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cosmos-dev] Updated DMS code

Marius,

 

Did you make the same change to locate the topology file? I did a synch this morning and didn’t see any changes there. I checked in a change last night to at least let us set an environment variable, but I think your datasource change (and a concomitant change to the report) would make a better, and certainly more consistent, solution.

 

Cheers,

Joel

 

-----Original Message-----
From: cosmos-dev-bounces@xxxxxxxxxxx [mailto:cosmos-dev-bounces@xxxxxxxxxxx] On Behalf Of Marius Slavescu
Sent: Thursday, February 22, 2007 10:25 AM
To: Cosmos Dev
Subject: RE: [cosmos-dev] Updated DMS code

 


Joel,

I asked Sheldon to change the reports because the reports should drive the accessors, currently the reports don't pass a valid datasource and the accessor creates a default one with the hardcoded URI.

I didn't use the patch with the system variable, as the config info should come from the web app configuration or user preference.

Thanks !

Marius Slavescu
IBM Toronto Laboratory, Canada
Phone: 905-413-3610




"Hawkins, Joel" <Joel.Hawkins@xxxxxxxxxxxxx>
Sent by: cosmos-dev-bounces@xxxxxxxxxxx

02/22/2007 08:21 AM

Please respond to
Cosmos Dev <cosmos-dev@xxxxxxxxxxx>

To

"Cosmos Dev" <cosmos-dev@xxxxxxxxxxx>

cc

 

Subject

RE: [cosmos-dev] Updated DMS code

 

 

 




Sheldon, please let me know when this is done and I’ll repackage the driver. Marius, I checked in an update to the ResourceDataAccessor to get the location of the sml-if file based on an optional environment parameter. No change required to Sheldon’s report – just an environment variable set during startup (which is taken care of by the tomcat startup script – documented in the driver setup.html). Do we want to change the topology report (and the ResourceDataAccessor) to keep things consistent?

 

Also, I guess you can ignore the patch I sent you – it used the same environment variable to locate the db driver.

 

I’m going to stop changing code for now – once again, let me know when everybody’s done and I’ll upload a new driver.

 

Cheers,

Joel

 

-----Original Message-----
From:
cosmos-dev-bounces@xxxxxxxxxxx [mailto:cosmos-dev-bounces@xxxxxxxxxxx] On Behalf Of Marius Slavescu
Sent:
Thursday, February 22, 2007 1:48 AM
To:
cosmos-dev@xxxxxxxxxxx
Subject:
[cosmos-dev] Updated DMS code

 


I updated the TPTP DMS code to support real RDB data sources for log and statistical schemas and also updated the COSMOS testcases to provide a real data source to the data accessors.


Sheldon please update the reports to use the same datasources as those in the testcases, the report should pass a valid data source to the data accessors.

 
You'll need to retrieve from the web application configuration file the URI (basically the parts of the URI that are captured as constants in the tescase).


Thanks !

Marius Slavescu
IBM Toronto Laboratory, Canada
Phone: 905-413-3610

=00The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it._______________________________________________
cosmos-dev mailing list
cosmos-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cosmos-dev

=00
The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.

Back to the top