Permalink
Browse files

initial res directory from ion-admin tool

  • Loading branch information...
1 parent 87056c4 commit b1e6d12ce917f4a4e0c05bca185ea2566d1cdff9 @timf timf committed Mar 8, 2011
View
No changes.
View
@@ -0,0 +1,13 @@
+# ION Core Python Capability Container application
+{
+ "type":"application",
+ "name":"ccagent",
+ "description": "Capability Container agent process",
+ "version": "1",
+ "mod": ("ion.core.cc.cc_agent", []),
+ "modules": [
+ "ion.core.cc.cc_agent",
+ ],
+ "registered": [
+ ],
+}
View
@@ -0,0 +1,13 @@
+# ION Core Python Capability Container application
+{
+ "type":"application",
+ "name":"ioncore",
+ "description": "ION Core application",
+ "version": "1",
+ "mod": ("ion.core.pack.ioncore_app", []),
+ "modules": [
+ "ion.core.**",
+ ],
+ "registered": [
+ ],
+}
@@ -0,0 +1,21 @@
+-----BEGIN CERTIFICATE-----
+MIIEMzCCAxugAwIBAgICBQAwDQYJKoZIhvcNAQEFBQAwajETMBEGCgmSJomT8ixkARkWA29yZzEX
+MBUGCgmSJomT8ixkARkWB2NpbG9nb24xCzAJBgNVBAYTAlVTMRAwDgYDVQQKEwdDSUxvZ29uMRsw
+GQYDVQQDExJDSUxvZ29uIEJhc2ljIENBIDEwHhcNMTAxMTE4MjIyNTA2WhcNMTAxMTE5MTAzMDA2
+WjBvMRMwEQYKCZImiZPyLGQBGRMDb3JnMRcwFQYKCZImiZPyLGQBGRMHY2lsb2dvbjELMAkGA1UE
+BhMCVVMxFzAVBgNVBAoTDlByb3RlY3ROZXR3b3JrMRkwFwYDVQQDExBSb2dlciBVbndpbiBBMjU0
+MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6QhsWxhUXbIxg+1ZyEc7d+hIGvchVmtb
+g0kKLmivgoVsA4U7swNDRH6svW242THta0oTf6crkRx7kOKg6jma2lcAC1sjOSddqX7/92ChoUPq
+7LWt2T6GVVA10ex5WAeB/o7br/Z4U8/75uCBis+ru7xEDl09PToK20mrkcz9M4HqIv1eSoPkrs3b
+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Xcci1ZbheJ9607faxKrvXCEpw
+xw36FfbgPfeuqUdI5E6fswKBgFIxCu99gnSNulEWemL3LgWx3fbHYIZ9w6MZKxIheS9AdByhp6px
+lt1zeKu4hRCbdtaha/TMDbeV1Hy7lA4nmU1s7dwojWU+kSZVcrxLp6zxKCy6otCpA1aOccQIlxll
+Vc2vO7pUIp3kqzRd5ovijfMB5nYwygTB4FwepWY5eVfXAoGBAIqrLKhRzdpGL0Vp2jwtJJiMShKm
+WJ1c7fBskgAVk8jJzbEgMxuVeurioYqj0Cn7hFQoLc+npdU5byRti+4xjZBXSmmjo4Y7ttXGvBrf
+c2bPOQRAYZyD2o+/MHBDsz7RWZJoZiI+SJJuE4wphGUsEbI2Ger1QW9135jKp6BsY2qZ
+-----END RSA PRIVATE KEY-----
View
@@ -0,0 +1,151 @@
+# Central configuration file for ION services and modules. Eval'ed as dict.
+# Entries are accessed using the __name__ of their module as key to a dict
+# with the property key pointing to a value.
+# Startup scripts use 'startup' as key.
+# Do not modify this file locally! Set overrides in ionlocal.config
+{
+'ion.core.bootstrap':{
+ 'ccagent_cfg' : 'res/config/ionccagent.cfg',
+ 'coreservices_cfg':'res/config/ioncoreservices.cfg',
+ 'services_cfg':'res/config/ionservices.cfg',
+ 'messaging_cfg':'res/config/ionmessaging.cfg',
+},
+
+'ion.core.ioninit':{
+ 'loglevels' : 'res/logging/loglevels.cfg',
+ 'loglevelslocal' : 'res/logging/loglevelslocal.cfg',
+},
+
+'ion.core.cc.container':{
+ 'master_off':False,
+ 'interceptor_system':'res/config/ion_interceptors.cfg',
+},
+
+'ion.core.cc.cc_agent':{
+ 'announce':False,
+},
+
+'ion.core.cc.modloader':{
+ 'load_modules':True,
+ 'modules_cfg':'res/config/ionmodules.cfg',
+},
+
+'ion.core.intercept.encryption':{
+ 'encrypt':False,
+ 'encrypt_mod':'Crypto.Cipher.AES',
+ 'encrypt_key':'secretkey/len16b',
+ 'encrypt_pad':16,
+},
+
+'ion.core.intercept.signature':{
+ 'msg_sign':False,
+ 'priv_key_path':'../res/certificates/test.priv.pem',
+ 'cert_path':'../res/certificates/test.cert.pem',
+},
+
+'ion.core.pack.app_manager':{
+ 'ioncore_app':'res/apps/ioncore.app',
+},
+
+'ion.core.process.process':{
+ 'conversation_log':False,
+ 'fail_fast':True,
+ 'rpc_timeout':15,
+},
+
+
+'ion.resources.description_utility':[
+ 'ion.resources.cei_resource_descriptions',
+ 'ion.resources.coi_resource_descriptions',
+ 'ion.resources.ipaa_resource_descriptions',
+ 'ion.resources.sa_resource_descriptions',
+ 'ion.resources.dm_resource_descriptions'
+ ],
+
+'ion.services.dm.util.url_manipulation':{
+ 'local_dir' : '/tmp/',
+ 'cache_hostname' : 'localhost',
+ 'cache_portnum' : '80',
+},
+
+'ion.services.dm.util.test.test_daptools':{
+ 'test_dir': '../ion/services/dm/util/test/test_files',
+},
+
+'ion.services.sa.proxy' : {
+ 'proxy_port' : '8100',
+},
+
+'ion.test.iontest':{
+ 'broker_host': 'amoeba.ucsd.edu',
+ 'broker_port': 5672,
+ 'broker_vhost': '/',
+ 'broker_heartbeat':0,
+ 'start_app':'../res/apps/ccagent.app',
+},
+
+'startup.bootstrap1':{
+ 'coreservices_cfg':'res/config/ioncoreservices.cfg',
+ 'services_cfg':'res/config/ionservices1.cfg',
+ 'messaging_cfg':'res/config/ionmessaging.cfg'
+},
+
+'startup.bootstrap-dx':{
+ 'services_cfg' : 'res/config/iondx_services.cfg',
+ 'messaging_cfg': 'res/config/ionmessaging.cfg'
+},
+
+'startup.pubsub':{
+ 'services_cfg' : 'res/config/ionpubsub.cfg',
+ 'messaging_cfg': 'res/config/ionmessaging.cfg'
+},
+
+'startup.agentreg':{
+ 'services_cfg' : 'res/config/ionagentreg.cfg',
+ 'messaging_cfg': 'res/config/ionmessaging.cfg'
+},
+
+'startup.instrreg':{
+ 'services_cfg' : 'res/config/ioninstrreg.cfg',
+ 'messaging_cfg': 'res/config/ionmessaging.cfg'
+},
+
+'startup.prodreg':{
+ 'services_cfg' : 'res/config/ionprodreg.cfg',
+ 'messaging_cfg': 'res/config/ionmessaging.cfg'
+},
+
+'startup.servicereg':{
+ 'services_cfg' : 'res/config/ionservicereg.cfg',
+ 'messaging_cfg': 'res/config/ionmessaging.cfg'
+},
+
+'startup.resourcereg':{
+ 'services_cfg' : 'res/config/ionresourcereg.cfg',
+ 'messaging_cfg': 'res/config/ionmessaging.cfg'
+},
+
+'ion.util.test.test_itv_decorator': {
+ 'test_that_skips' : False,
+ 'test_that_passes' : True,
+ 'test_skiptest' : True,
+},
+
+'ion.core.data.test.test_store':{
+
+ 'setUp' : True,
+ '_setup_backend' : True,
+ 'test_get_query_attributes' : True,
+ 'test_query': False,
+ 'test_put' : False,
+ 'test_get_none' : False,
+ 'test_write_and_delete':False,
+ 'test_delete':True,
+ 'test_put_get_delete':True
+},
+
+# Entries in the following dict are overriding above config entries in tests:
+'iontest_config_override':{
+
+},
+}
@@ -0,0 +1,55 @@
+# Config file for ION capabiliy containers standard interceptors
+{
+ 'interceptors':{
+ 'pass':{
+ 'classname':'ion.core.intercept.interceptor.PassThroughInterceptor'
+ },
+ 'drop':{
+ 'classname':'ion.core.intercept.interceptor.DropInterceptor'
+ },
+ 'governance':{
+ 'classname':'ion.core.intercept.governance.GovernanceInterceptor'
+ },
+ 'policy':{
+ 'classname':'ion.core.intercept.policy.PolicyInterceptor'
+ },
+ 'encryption':{
+ 'classname':'ion.core.intercept.encryption.EncryptionInterceptor'
+ },
+ 'signature':{
+ 'classname':'ion.core.intercept.signature.DigitalSignatureInterceptor'
+ },
+ 'ionmessage':{
+ 'classname':'ion.core.messaging.ionmessage.IONMessageInterceptor'
+ },
+ 'codec':{
+ 'classname':'ion.core.object.codec.ObjectCodecInterceptor'
+ },
+ },
+ 'stack':[
+ {
+ 'name':'ionmessage',
+ 'interceptor':'ionmessage',
+ },
+ {
+ 'name':'governance',
+ 'interceptor':'governance',
+ },
+ {
+ 'name':'policy',
+ 'interceptor':'policy',
+ },
+ {
+ 'name':'codec',
+ 'interceptor':'codec',
+ },
+ {
+ 'name':'encryption',
+ 'interceptor':'encryption',
+ },
+ {
+ 'name':'signature',
+ 'interceptor':'signature',
+ },
+ ]
+}
@@ -0,0 +1,4 @@
+# Local ION Capability Container agent process
+[
+ {'name':'ccagent','module':'ion.core.cc.cc_agent','class':'CCAgent'},
+]
@@ -0,0 +1,6 @@
+# Core ION services in the order of their start
+[
+ {'name':'logger','module':'ion.services.coi.logger','class':'LoggerService'},
+ {'name':'resource_registry','module':'ion.services.coi.resource_registry','class':'ResourceRegistryService'},
+ {'name':'service_registry','module':'ion.services.coi.service_registry','class':'ServiceRegistryService'},
+]
@@ -0,0 +1,13 @@
+# All messaging name configuration (queues, bindings, exchanges)
+#
+# name_type: one of
+# direct: a queue with exactly one consumer
+# worker: a queue where many consumers can take messages from
+# fanout: many queues binding to the same "name" (topic of messages)
+# scope: one of
+# local: the name is local within the container
+# system: the name is made local to the system (all processes spawned
+# from the same bootstrap process, across containers)
+# global: the name is global within exchange space (avoid)
+{
+}
View
@@ -0,0 +1,10 @@
+# Locations of all process modules to load during startup to collect service
+# registrations.
+#
+# Syntax: list of
+# ion.services.modulex - specific module
+# ion.services.package.* - all modules in package
+# ion.services.package.** - all modules in package and subpackages
+[
+ 'ion.services.coi.**',
+]
@@ -0,0 +1,64 @@
+[loggers]
+keys=root,logServer,convRepos
+
+[handlers]
+keys=consoleHandler,tracefileHandler,logfileHandler,msgfileHandler
+
+[formatters]
+keys=simpleFormatter,fileFormatter,msgfileFormatter
+
+[logger_root]
+level=DEBUG
+handlers=consoleHandler,tracefileHandler
+
+[logger_logServer]
+level=DEBUG
+handlers=logfileHandler
+qualname=logServer
+
+[logger_convRepos]
+level=DEBUG
+handlers=msgfileHandler
+qualname=convRepos
+
+[handler_consoleHandler]
+class=StreamHandler
+level=DEBUG
+formatter=simpleFormatter
+args=(sys.stdout,)
+
+[handler_tracefileHandler]
+class=FileHandler
+level=DEBUG
+formatter=fileFormatter
+args=('logs/ioncontainer.log', 'w')
+filename=logs/ioncontainer.log
+mode=w
+
+[handler_logfileHandler]
+class=FileHandler
+level=DEBUG
+formatter=fileFormatter
+args=('logs/ionsystem.log', 'a')
+filename=logs/ionsystem.log
+mode=a
+
+[handler_msgfileHandler]
+class=FileHandler
+level=DEBUG
+formatter=msgfileFormatter
+args=('logs/ionmessages.log', 'a')
+filename=logs/ionmessages.log
+mode=a
+
+[formatter_simpleFormatter]
+format=%(asctime)s.%(msecs)03d [%(module)-15s:%(lineno)3d] %(levelname)-5s:%(message)s
+datefmt=%Y-%m-%d %H:%M:%S
+
+[formatter_fileFormatter]
+format=%(asctime)s.%(msecs)03d [%(module)-15s:%(lineno)3d] %(levelname)-5s:%(message)s
+datefmt=%Y-%m-%d %H:%M:%S
+
+[formatter_msgfileFormatter]
+format=%(asctime)s:%(message)s
+datefmt=%Y-%m-%d %H:%M:%S
View
@@ -0,0 +1,13 @@
+# Config file to set per package and module logging levels.
+#
+# Log levels are eval'ed in the namespace of the logging module, with available
+# constants for levels: DEBUG, INFO, WARNING, ERROR, CRITICAL
+# Format: list of 2-tuples [('ion.core',DEBUG)]. Module package hierarchy
+# applies. You can set levels on a per-package level.
+# DO NOT CHANGE THIS FILE
+# If you want to override this settings, copy this file to loglevelslocal.cfg
+# and set the levels there.
+[
+ ('ion',WARNING),
+ ('ion.core.cc.modloader',CRITICAL)
+]
Oops, something went wrong.

0 comments on commit b1e6d12

Please sign in to comment.