renaming cream sources
authorMiloš Mulač <mulac@civ.zcu.cz>
Thu, 15 Oct 2009 12:56:12 +0000 (12:56 +0000)
committerMiloš Mulač <mulac@civ.zcu.cz>
Thu, 15 Oct 2009 12:56:12 +0000 (12:56 +0000)
org.glite.lb.common/interface/context.h
org.glite.lb.common/src/context.c
org.glite.lb.state-machine/src/process_event_cream.c

index 91debbb..5eeb137 100644 (file)
@@ -80,8 +80,8 @@ typedef enum _edg_wll_Source {
        EDG_WLL_SOURCE_LRMS,
        EDG_WLL_SOURCE_APPLICATION,
        EDG_WLL_SOURCE_LB_SERVER,
-       EDG_WLL_SOURCE_CREAM_CORE,
-       EDG_WLL_SOURCE_BLAH,
+       EDG_WLL_SOURCE_CREAM_INTERFACE,
+       EDG_WLL_SOURCE_CREAM_EXECUTOR,
        EDG_WLL_SOURCE__LAST            /* marker, for internal use only */
 } edg_wll_Source;
 
index daccea9..ec15f6a 100644 (file)
@@ -279,8 +279,8 @@ static const char* const srcNames[] = {
        "LRMS",
        "Application",
        "LBServer",
-       "CreamCore",
-       "BLAH",
+       "CREAMInterface",
+       "CREAMExecutor",
 };
 
 edg_wll_Source edg_wll_StringToSource(const char *name)
index 34d3761..2f89854 100644 (file)
@@ -95,7 +95,7 @@ int processEvent_Cream(intJobStat *js, edg_wll_Event *e, int ev_seq, int strict,
                case EDG_WLL_EVENT_CREAMCALL:
                        if (USABLE(res)) {
                                // BLAH -> LRMS
-                               if (e->any.source == EDG_WLL_SOURCE_BLAH && e->CREAMCall.callee == EDG_WLL_SOURCE_LRMS) {
+                               if (e->any.source == EDG_WLL_SOURCE_CREAM_EXECUTOR && e->CREAMCall.callee == EDG_WLL_SOURCE_LRMS) {
                                        js->pub.state = EDG_WLL_JOB_SCHEDULED;
                                        js->pub.cream_state = EDG_WLL_STAT_IDLE;
                                }