Description
I’m using VSCode and getting this error at times when building an SPL file from a folder that doesn’t have a info.xml file defined:
2019-10-03T17:00:14.970+0000 sc -M HeadsTails -t $STREAMS_INSTALL/toolkits:../toolkits
2019-10-03T17:00:19.141+0000 CDISP0127E ERROR:The following toolkit file is out of date:../toolkits/undefined/toolkit.xml. This file is newer: ../toolkits/undefined/com.ibm.streamsx.slack/SendSlackMessage/SendSlackMessage.xml..
I’m not sure what happened but it goes away if I try again, or if I trigger a refresh of the toolkits directory by changing it to a different folder and then changing it back.
I have these toolkits in my toolkit directory, not sure if it matters.
com.ibm.streamsx.nlp
com.ibm.streamsx.objectstorage
com.ibm.streamsx.inet
com.ibm.streamsx.slack
Sample app
public composite SubscribeToBusLocations
{
type
/** @exclude */
JsonS = rstring jsonString ;
NextBusData = rstring bus_id, float32 lat, float32 lon, float32 speed, rstring last_seen, int64 last_seen_ms;
graph
stream<JsonS> JsonData = com.ibm.streamsx.topology.topic::Subscribe()
{
param
topic : "bus_locations";
streamType : JsonS ;
}
@view(name = "ParsedJSONFromMicroservice", port = ParsedData, sampleSize = 20, bufferSize = 50,
activateOption = firstAccess)
@parallel(width = 3)
stream<NextBusData> ParsedData = com.ibm.streamsx.json::JSONToTuple(JsonData)
{
param
inputAttribute: jsonString;
}
() as Sink2 = Custom (ParsedData as in0){
logic
onTuple in0: {
printStringLn (" Incoming: "
+ ((rstring)in0));
}
}
}