- Timestamp:
- Sep 23, 2010, 3:38:03 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/sc_branches/psps_testing/psi/web01_configuration.py
r29115 r29227 1 class Configuration: 1 from utilities.psps_logger import PsPsLogger 2 3 class PsiConfiguration: 2 4 """ 3 5 The configuration described as a class... 4 6 """ 5 7 server = 'http://web01.psps.ifa.hawaii.edu/' 6 authUrl = server + 'DFetch/WSDL/AuthService.php.wsdl'7 8 userID = 'schastel' 8 9 password = 'd1str1ct13' 9 10 schemaGroup = 'PS1_SCHEMA'; 10 11 context = 'PS1 3PI'; 12 authUrl = server + 'DFetch/WSDL/AuthService.php.wsdl' 11 13 jobsUrl = server + 'DFetch/WSDL/JobsService.php.wsdl' 14 15 @staticmethod 16 def str(): 17 """ 18 >>> print PsiConfiguration.str() 19 PsiConfiguration 20 Server: http://web01.psps.ifa.hawaii.edu/ 21 User: schastel 22 Password: d1str1ct13 23 SchemaGroup: PS1_SCHEMA 24 Context: PS1 3PI 25 AuthUrl: http://web01.psps.ifa.hawaii.edu/DFetch/WSDL/AuthService.php.wsdl 26 JobsUrl: http://web01.psps.ifa.hawaii.edu/DFetch/WSDL/JobsService.php.wsdl 27 """ 28 return """Configuration 29 Server: %s 30 User: %s 31 Password: %s 32 SchemaGroup: %s 33 Context: %s 34 AuthUrl: %s 35 JobsUrl: %s""" % (PsiConfiguration.server, 36 PsiConfiguration.userID, 37 PsiConfiguration.password, 38 PsiConfiguration.schemaGroup, 39 PsiConfiguration.context, 40 PsiConfiguration.authUrl, 41 PsiConfiguration.jobsUrl)
Note:
See TracChangeset
for help on using the changeset viewer.
