Exemple #1
0
					 # ['Getting Object Cache Instance configuration ','ObjectCacheInstance'],\
					 # ['Getting SIB configuration ','SIBus'],\
					 # ['Getting SIB WS Security Request Consumer Binding configuration ','SIBWSSecurityRequestConsumerBindingConfig'],\
					 # ['Getting SIB WS Security Request Generator Binding configuration ','SIBWSSecurityRequestGeneratorBindingConfig'],\
					 # ['Getting SIB WS Security Response Consumer Binding configuration ','SIBWSSecurityResponseConsumerBindingConfig'],\
					 # ['Getting SIB WS Security Response Generator Binding configuration ','SIBWSSecurityResponseGeneratorBindingConfig'],\
					 # ['Getting Application Deployment configuration ','ApplicationDeployment'],\
					 # ['Getting Resource Environment Providers','ResourceEnvironmentProvider'],\
					 # ['Getting Resource Environment Entries','ResourceEnvEntry'],\
					 # ]
configElementList = []
for type in AdminConfig.types('.*').splitlines():
	if excludeTypeList.count(type) == 0:    #Ref0044
		configElementList.append(type)
	else:                                                                #Ref0044
		cu.printMsg('Excluding configuration elements of type %s' % type,False) #Ref0044

for regex in regexList:                                              #Ref0038
	cu.printMsg('Filtering out configuration elements matching %s' % regex,False) #Ref0038	

#Ref0001 Moved logic into ConfigUtils.py
cu.getConfigElements(configElementList,AdminConfig,regexList) #Ref0038
#Ref0001 End
cu.writeRepositoryFile()


cu.printMsg('End run.',False)
cu.printMsg('Ignore the WASX7146I and WASX7309W messages.  No modifications to the repository were made so AdminConfig.save() was not invoked.',False)

print AdminConfig.queryChanges()