Ignore:
Timestamp:
19/02/07 14:20:01 (13 years ago)
Author:
pjkersha
Message:

Updates to SysV init scripts for use with Twisted

python/ndgSetup.sh:

  • Removed NDG_*_PROT_NUM environment variables - port number is now set in the respective

properties files for the services.

  • Added NDGSEC_*_PROPFILEPATH environment variables used to override default

$NDG_DIR/conf location for properties files.

python/share/ndg-aa, python/share/ndg-sm, python/share/ndg-ca, python/share/ndg-log and
python/share/ndg-gk:
SysV init scripts for the respective security services. At this stage, only ndg-aa, the
Attribute Authority script has been tested. The others merely contain a copy of ndg-aa
with the relevant variable settings altered in each case.

python/ndg.security.server/ndg/security/server/AttAuthority/server-config.tac:
Include full path for import of AttAuthorityService?.

python/ndg.security.server/ndg/security/server/AttAuthority/init.py:
Correction to readProperties missingKeys actually refers to invalidKeys.

python/ndg.security.server/ndg/security/server/AttAuthority/start-container.sh:
Altered so that it tries to pick up the installed path under site-packages/ for the
tac file server-config.tac.

python/ndg.security.server/ndg/security/server/conf/attAuthorityProperties.xml,
python/ndg.security.test/ndg/security/test/AttAuthority/siteAAttAuthorityProperties.xml,
python/ndg.security.test/ndg/security/test/AttAuthority/siteBAttAuthorityProperties.xml:
cosmetic correction to indent.

python/bin/AttAuthorityServer.py, python/bin/LogServer.py, python/bin/SessionMgrServer.py,
python/bin/GatekeeperServer.py and python/bin/SimpleCAServer.py:
NDG Alpha and post-Alpha scripts to start security web services. These are based on use
of python's native HTTP server code and so are redundant for the new Twisted based code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/ndgSetup.sh

    r2145 r2181  
    4343 
    4444 
    45 # Override default port number settings for web services 
    46 #export NDG_AA_PORT_NUM=5001 
    47 #export NDG_SM_PORT_NUM= 
    48 #export NDG_CA_PORT_NUM= 
    49 #export NDG_LOG_PORT_NUM= 
    50 #export NDG_GK_PORT_NUM= 
     45# Override default locations for properties files. 
     46# 
     47# e.g. default Attribute Authority location is  
     48# $NDG_DIR/conf/attAuthorityProperties.xml 
     49# 
     50# Session Manager: 
     51# $NDG_DIR/conf/sessionMgrProperties.xml 
     52# 
     53# Certificate Authority: 
     54# $NDG_DIR/conf/simpleCAProperties.xml 
     55# 
     56#export NDGSEC_AA_PROPFILEPATH= 
     57#export NDGSEC_SM_PROPFILEPATH= 
     58#export NDGSEC_CA_PROPFILEPATH= 
    5159 
    5260 
Note: See TracChangeset for help on using the changeset viewer.