You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
val pubStatus = listenForPubAckAndProcess(FunctionAction.NACK, funcName, 8000)
66
-
if (pubStatus.first ==StatusCode.Failure) logger.error("failed to offload $funcName call by ${reqId.clientId}. Is $cloudId online?")
67
-
elseif(pubStatus.first !=StatusCode.Success)
68
-
logger.error("Unsuccessful sending Nack to ${reqId.clientId}. StatusCode: {}", pubStatus)
69
+
// val pubStatus = listenForPubAckAndProcess(FunctionAction.NACK, funcName, 8000)
70
+
// if (pubStatus.first == StatusCode.Failure) logger.error("failed to offload $funcName call by ${reqId.clientId}. Is $cloudId online?")
71
+
// else if(pubStatus.first != StatusCode.Success)
72
+
// logger.error("Unsuccessful sending Nack to ${reqId.clientId}. StatusCode: {}", pubStatus)
69
73
}
70
74
71
75
funregisterFunctions(functions:Set<GeoFaaSFunction>, fence:Geofence): StatusCode { //FIXME: should update CALL subscriptions in geoBroker when remote FaaS added/removed serving function
72
-
val subscriptions = subscribedFunctionsList()
76
+
val subscriptions:Map<String, List<String>>= subscribedFunctionsList()
73
77
val callSubs = subscriptions.filter { it.value.contains("call") } // assume Cloud either subscribed to both Nack & Call or none
74
78
// val nackSubs = subscriptions.filter { it.value.contains("nack") }
0 commit comments