-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Arcgis. Error when change the unique field value after a working persistence #2347
Comments
I'm not able or reproduce it just with a poor sink pointed to nowhere time=2024-02-29T14:05:01.423Z | lvl=DEBUG | corr=a44e5a54-da33-42a9-b957-f936fcd30331; cbnotif=1 | trans=f69ea31f-e027-4efa-a01d-af64bb98c3a3 | srv=base | subsrv=/path/FeatureServer/0 | comp=cygnus-ngsi | op=tryRegister | msg=org.eclipse.jetty.io.FillInterest[79] : interested FillInterest@41ce330e{AC.ReadCB@c4280a{HttpConnection@c4280a::SocketChannelEndPoint@4f3ed5a6{l=/172.17.0.11:5059,r=/172.17.0.16:47174,OPEN,fill=FI,flush=-,to=0/30000}{io=0/0,kio=0,kro=1}->HttpConnection@c4280a[p=HttpParser{s=START,0 of -1},g=HttpGenerator@310e0bf7{s=START}]=>HttpChannelOverHttp@41f92231{s=HttpChannelState@45c6bed6{s=IDLE rs=BLOCKING os=OPEN is=IDLE awp=false se=false i=true al=0},r=1,c=false/false,a=IDLE,uri=null,age=0}}} time=2024-02-29T14:05:01.425Z | lvl=DEBUG | corr=a44e5a54-da33-42a9-b957-f936fcd30331; cbnotif=1 | trans=f69ea31f-e027-4efa-a01d-af64bb98c3a3 | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=persistAggregation | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink[402] : PersistAggregation Error: com.telefonica.iot.cygnus.errors.CygnusRuntimeError: CygnusRuntimeError (com.telefonica.iot.cygnus.errors.CygnusRuntimeError). Error creating new persistence Backend. (CygnusRuntimeError. [arcgis-sinkError creating Persistence backend: -1 - Can´t parse token generation url, MalformedURLException. localhost/base/path/FeatureServer/0 - localhost. ). time=2024-02-29T14:05:01.425Z | lvl=ERROR | corr=a44e5a54-da33-42a9-b957-f936fcd30331; cbnotif=1 | trans=f69ea31f-e027-4efa-a01d-af64bb98c3a3 | srv=N/A | subsrv=N/A | comp=cygnus-ngsi | op=persistBatch | msg=com.telefonica.iot.cygnus.sinks.NGSIArcgisFeatureTableSink[310] : [arcgis-sink] Error persisting batch, CygnusRuntimeError.CygnusRuntimeError (com.telefonica.iot.cygnus.errors.CygnusRuntimeError). Error creating new persistence Backend. (CygnusRuntimeError. [arcgis-sinkError creating Persistence backend: -1 - Can´t parse token generation url, MalformedURLException. localhost/base/path/FeatureServer/0 - localhost. ). |
fixed by #2348 |
Cygnus version: 3.5.0
Having a subscription in CB for arcgis sink which is working and getting persistence, if I change the value of
type
(unique field) the sink is not able to prepare the query properly getting the following error:How to reproduce the error:
Example working httpCustom in subs:
After some notifications, change the type
s value by
name`The sink performs the following query:
in which
where
param is using the original type's value and is not setting the entityId inside parenthesis.The text was updated successfully, but these errors were encountered: