Ginés Martínez Sánchez avatar Ginés Martínez Sánchez committed b366d84 Draft

writing inter_event example

Comments (0)

Files changed (9)

ginsfsm/examples/inter_event/ap1_banco/banco.ini

 application = wsgi-application
 GWsgiServer.host = 0.0.0.0
 GWsgiServer.port = 8001
-GSock.trace_dump = true
-GObj.trace_mach = true
+GObj.trace_mach = false
 GObj.trace_creation = false
-GObj.trace_traverse = true
+GObj.trace_traverse = false
 GObj.trace_subscription = false
+GSock.trace_dump = false
 
 PyramidRoot.pyramid_router_url = __pyramid_router__
 GRouter.trace_router = true

ginsfsm/examples/inter_event/ap1_banco/banco/main.py

 
     ga = GAplic(
         name=gaplic_name,
-        roles=('banco', '*financiera', '*bolsa', '*publicidad'),
+        roles=('banco',),
         **local_conf)
     set_global_main_gaplic(ga)
     ga.create_gobj(

ginsfsm/examples/inter_event/ap2_financiera/financiera.ini

 GRouter.server = true
 GRouter.localhost_route_ports = 8002
 GRouter.trace_router = true
-GObj.trace_mach = true
+GObj.trace_mach = false
 GObj.trace_creation = false
-GObj.trace_traverse = true
+GObj.trace_traverse = false
 GObj.trace_subscription = false
-GSock.trace_dump = true
+GSock.trace_dump = false
 
 GRouter.static_routes =
     Madrid, bolsa, http://localhost:8003;

ginsfsm/examples/inter_event/ap2_financiera/financiera/main.py

 
     ga = GAplic(
         name=gaplic_name,
-        roles='financiera, *bolsa, *publicidad',
+        roles=('financiera',),
         **local_conf)
     set_global_main_gaplic(ga)
 

ginsfsm/examples/inter_event/ap3_bolsa/bolsa.ini

 GRouter.server = true
 GRouter.localhost_route_ports = 8003
 GRouter.trace_router = true
-GObj.trace_mach = true
+GObj.trace_mach = false
 GObj.trace_creation = false
-GObj.trace_traverse = true
+GObj.trace_traverse = false
 GObj.trace_subscription = false
-GSock.trace_dump = true
+GSock.trace_dump = false
 
 
 # Begin logging configuration

ginsfsm/examples/inter_event/ap3_bolsa/bolsa/main.py

     else:
         raise Exception('You must supply an gaplic name ("gaplic-name")')
 
-    ga = GAplic(name=gaplic_name, roles='bolsa', **local_conf)
+    ga = GAplic(
+        name=gaplic_name,
+        roles=('bolsa',),
+        **local_conf)
     set_global_main_gaplic(ga)
 
     ga.create_gobj(

ginsfsm/examples/inter_event/ap4_publicidad/publicidad.ini

 GRouter.server = true
 GRouter.localhost_route_ports = 8004
 GRouter.trace_router = true
-GObj.trace_mach = true
+GObj.trace_mach = false
 GObj.trace_creation = false
-GObj.trace_traverse = true
+GObj.trace_traverse = false
 GObj.trace_subscription = false
-GSock.trace_dump = true
+GSock.trace_dump = false
 
 
 # Begin logging configuration

ginsfsm/examples/inter_event/ap4_publicidad/publicidad/main.py

     else:
         raise Exception('You must supply an gaplic name ("gaplic-name")')
 
-    ga = GAplic(name=gaplic_name, roles='publicidad', **local_conf)
+    ga = GAplic(
+        name=gaplic_name,
+        roles=('publicidad',),
+        **local_conf)
     set_global_main_gaplic(ga)
 
     ga.create_gobj(

ginsfsm/scaffolds/simple_websocket_server/+package+/main.py_tmpl

     else:
         raise Exception('You must supply an gaplic name ("gaplic-name")')
 
-    ga = GAplic(name=gaplic_name, roles='example_role', **local_conf)
+    ga = GAplic(
+        name=gaplic_name,
+        roles=('example_role',),
+        **local_conf)
     set_global_main_gaplic(ga)
 
     ga.create_gobj(
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.