Skip to Content.
Sympa Menu

perfsonar-dev - Re: [pS-dev] Web admin and properties

Subject: perfsonar development work

List archive

Re: [pS-dev] Web admin and properties


Chronological Thread 
  • From: Maciej Glowiak <>
  • To: Michael Michalis <>
  • Cc: "" <>, Loukik Kudarimoti <>, Nicolas Simar <>, Szymon Trocha <>
  • Subject: Re: [pS-dev] Web admin and properties
  • Date: Wed, 16 Jan 2008 14:34:48 +0100

Michael Michalis wrote:
Hi all,

As you can see in svn report I've made some changes on the eXist admin servlet code and added two more properties in servlet.properties so I could deal with the problem of a not uniform way of naming properties in perfsonar services But as it was pointed out by Loukik, this causes essentially a duplication of information. So it has been decided that in order for the web admin servlets to work properly we are considering RRD MA properties to be the standard That is at least for eXist configuration(which was the cause of the problem so far):
component.ma.xmldb.db_adminpassword
component.ma.xmldb.db_uri.xmlrpc

As from tomorrow the perfsonar-web-admin jar and build guide will roll back to their previous version and the RRD MA properties will be considered a standard.

NOTE: Services don't have to use exactly the same name but they must have a common part that will allow the servlet to identify them successfully.


Michalis, Loukik,

1. Names of properties to configure database are internal part of service, they don't need to be common. If I am alone in this statement, read next points:

2. There is nothing in the requirements for pS 3.0, the properties must be common for all services

3. LS does not use component for accessing DB, it even does not use pS-base (for performance reason) to do that, so the property name is different (internal)

4. Anyway, the "component.ma.xmldb...." is not so appropriate for:
a) not using component
b) not MA service

5. Michalis did his changes for my request. They were very good, exist servlet started to work for me.

6. The solution is easy -- servlet should try to get "new" properties from servlet.properties (if names are different) and if they're not there, it should try default. We use such schema for most of configuration code in LS (but I believe Roman does the same for MA - first use property, if there is no such property, use default value).

Maciej

--

--------------------------------------------------------------------
| Maciej Glowiak Network Research and Development ||
|

Poznan Supercomputing and Networking Center ||
| (+48 61) 858 2024 -- skype_id: maciej_psnc GG: 4526858 ||
====================================================================





Archive powered by MHonArc 2.6.16.

Top of Page