POST
|
Hi Adam Repsher, another option could be to create a batch script that will copy the file from the network share to a the local directory. In this case GeoEvent can watch this local folder. You can create a task in the Windows Task Scheduler to run this batch script ever x hours. The batch script could look like this: net use \\remoteserver\sharedfolder /user:domain1\user1 password
xcopy \\remoteserver\sharedfolder\file.csv C:\Temp\GeoEventWatch\ /Y
net use \\remoteserver\sharedfolder /delete First of all you could test if this works like expected. It should do the same job that you already do manually. Next step would be to use the Task Scheduler to run the script as often as you want. Best, Stefan
... View more
03-23-2020
08:44 AM
|
1
|
5
|
1882
|
POST
|
Hi Murugesa Pandian, if you check the PropertyDefinition class in the api you will find a method called setDependsOn, this method can be used to define the dependency. Have a look at the "sample-adapter-properties". This is one of the examples that comes with the GeoEvent installation (samples\adapters\sample-adapter-properties) and shows how to work with allowed values and dependencies. A few lines of code of the SampleInboundAdapterDefinition: PropertyDefinition purpleShadeProperty = new PropertyDefinition(PURPLE_SHADE_PROPERTY, PropertyType.String, "Grape", "${sample.gep.sample-adapter-properties.ADPATER_IN_PURPLE_SHAPE_LBL}", "${sample.gep.sample-adapter-properties.ADPATER_IN_PURPLE_SHAPE_DESC}", false, false, purpleShadeAllowedValues);
// Then set it's dependency.
purpleShadeProperty.setDependsOn(FAVORITE_COLOR_PROPERTY + "=Purple");
propertyDefinitions.put(PURPLE_SHADE_PROPERTY, purpleShadeProperty); Best, Stefan
... View more
03-16-2020
03:05 AM
|
2
|
1
|
642
|
POST
|
Hi James Madden, please make sure that you have installed the following patch: ArcGIS Server Security 2019 Update 2 Patch This patch addresses the following issue: BUG-000117633 - In 10.6.1 and prior, the message bus platform service may not be initialized correctly in all environments. That should normally fix your issue. There have been some timing issues. This would also explain why it works some time when restarting it a few times. Best, Stefan
... View more
03-16-2020
02:20 AM
|
0
|
0
|
995
|
POST
|
Hi Murugesa Pandian, I did not had any problems working with dependsOn or getting the value of a dropdown list. I can show you a simple example how I realized the Property Configuration. In this case databaseType will be a dropdown list with three values. Only if the selected value is SQLServer the other property will be shown: <propertyDefinition propertyName="databaseType" label="${...PARAMETER_DATABASE_TYPE_LABEL}" description="${...PARAMETER_DATABASE_TYPE_DESC}"
propertyType="String" mandatory="true" readOnly="false" defaultValue="PostgreSQL">
<allowedValues>
<value label="${...PARAMETER_DATABASE_TYPE_OPTION_POSTGRESQL}">PostgreSQL</value>
<value label="${...PARAMETER_DATABASE_TYPE_OPTION_SQLSERVER}">SQLServer</value>
<value label="${...PARAMETER_DATABASE_TYPE_OPTION_ORACLE}">Oracle</value>
</allowedValues>
</propertyDefinition>
<propertyDefinition propertyName="...somePropertyForSQLServer" label="${...SOME_LABEL}"
description="${...SOME_DESC}"
propertyType="String" defaultValue="" mandatory="false" readOnly="false" dependsOn="databaseType=SQLServer">
</propertyDefinition> To get the selected value of the databaseType this works fine for me: if (hasProperty("databaseType")) {
..
... = getProperty("databaseType").getValue().toString();
..
} Are you defining the properties by XML or by Java Code? If my snippets does not help you, it would be the best if you provide an example that does not work like expected. Best, Stefan
... View more
03-11-2020
08:08 AM
|
2
|
3
|
642
|
POST
|
So you might forgot to map the GeoEvent Definition. The Definition that is received by the Ouput must match the one that has been used for publishing the service.
... View more
02-19-2020
07:48 AM
|
0
|
1
|
1462
|
POST
|
First of all i would check the log-files if you find any error trying to write to the output. Maybe there is a missmatch of the geoevent defnition that has been used for publishing the service and is now used to write. For debugging I would also suggest you to create a new output connector: Push Text to an External TCP Socket and use the GeoEvent Logger (installed with GeoEvent Server) to see what data is send to the output.
... View more
02-19-2020
07:29 AM
|
1
|
3
|
1462
|
POST
|
Creating a flat geoevent definition is always a good idea if the data will be used in a relational table. Just be careful if you have fields with Cardinality many. And which output connector works best depends on what are you planning to do with the data. There is not just one correct answer. If you want to save all the incoming data for analysis and if you receive a lot of data than the Spatiotemporal Big Data Store might be best for you. If you want save and update the last location of your incoming vehicles the Standard Data Store might be enough. If you want to have a smooth visualization of the current position of each vehicle maybe Stream Service is your choice. Best Stefan
... View more
02-19-2020
07:19 AM
|
0
|
0
|
1462
|
POST
|
Hi Sara Abasi, the easiest way would be to use "Construct Geometry From Fields" in your input connector. This will work pretty fine if you always have the same JSON structure that contains a geometry. Just add a new field to your geoevent definition with the Type Geometry and the Tag GEOMETRY In the Advanced section if your input configuration you can try this: That should work Best, Stefan
... View more
02-19-2020
06:49 AM
|
0
|
7
|
1462
|
POST
|
Hi Hanoch Kalmanovich, yes you got me. Currently ArcGIS Enterprise is 10.7.1 but GeoEvent is still 10.6.1. This is because we had to roll back GeoEvent cause of some issues and we currently wait for the 10.7.1 Patch, that should be released soon. Next time I will mention the version numbers, my fault - but thanks a lot. So this two versions are not compatible in that way. Best Stefan
... View more
02-17-2020
12:11 AM
|
0
|
0
|
698
|
POST
|
Hey, I am trying to just Create a Datasource in the Spatiotemporal Big Data Store via GeoEvent Server. For testing purpose the GeoEvent Definition is a simple one with just a track_id, name and geometry. With the default configuration options I am always getting the following error message: Data source "NAME_OF_GEOEVENT_DEFINITION" cannot be created.
Failed to create the DataSource. Error: {"error":{"root_cause":
[{"type":"illegal_argument_exception","reason":"Rejecting mapping update to
[bc11eb20-f339-421f-b99f-1c49de0e147c_es5-5-0] as the final mapping
would have more than 1 type: [---metadata---,
NAME_OF_GEOEVENT_DEFINITION]"}],"type":"illegal_argument_exception",
"reason":"Rejecting mapping update to [bc11eb20-f339-421f-b99f-1c49de0e147c_es5-5-0]
as the final mapping would have more than 1 type: [---metadata---,
NAME_OF_GEOEVENT_DEFINITION]"},"status":400} Does anyone have an idea what causes the problem? Best Stefan
... View more
02-14-2020
07:47 AM
|
0
|
2
|
834
|
POST
|
Hi James Madden, your GeoEvent Input will always return a status code 200 as long as the REST Endpoint is running and GeoEvent is able to parse the incoming JSON. In this case the JSON is now converted to a "GeoEvent-Object" for internal processing in the GeoEvent Service. So the Client will not get any feedback if further processing in the GeoEvent is successful or not. Now your output connector is trying to write the data to the feature service. This is also more or less stateless. So it is possible that even the output connector cannot tell you if the feature was written successfully. The connector is sending a request to REST API of the ArcGIS Server to write the features. Now it is up to ArcGIS Server to write the features into the database. If ArcGIS Server is returning a error message to the GeoEvent you should find it in the logfiles of the GeoEvent. But as far as i know there will not be a second attempt from GeoEvent in this case. Long story short, i don't know if the insert is going to fail while recycling. But i still hope the understanding how GeoEvent behaves in this case helps you a little bit Best Stefan
... View more
02-03-2020
01:05 AM
|
0
|
0
|
533
|
POST
|
Hi Sowjanya Sunkara, if you publish a Stream Layer to your ArcGIS Enterprise you also just add a item to your ArcGIS Enterprise Portal. The Stream Layer itself will be hosted on the ArcGIS Server part of the GeoEvent Server with a underlying WebSocket that is hosted on the GeoEvent Server. So I would say right now it is not possible to publish a Stream Layer in ArcGIS Online. ArcGIS Analytics for IoT will bring real-time capability to ArcGIS Online, so let's see what will be possible in the future. Best Stefan
... View more
01-29-2020
05:34 AM
|
1
|
1
|
593
|
POST
|
Hi Jeremy Roberts, you are absolutely right, that would be nice to do this on server side. As far as I know there is currently no way to do this to filter it on the server using Stream Layer or the out of the box websocket output. Sure you could create a few outputs and filter which data will be send via which output, but an output will always send all data it receives regardless of the client. Best Stefan
... View more
01-21-2020
01:03 AM
|
0
|
0
|
157
|
POST
|
Hey, I 'am currently developing a custom transporter and combined it with an out of the box adapter. But I'am struggeling with the connector lifecycle. If a special error occures in the transporter I want the connector to shutdown or be permanently in an error state. But if I set the RunningState to error or try to shutdown/stop the transporter, GeoEvent always trys to start the transport again. I could skip the startup by start by using an additional error state and just return in the startup method, but i hope there is a better way to handle it. Furthermore I receive a lot of log messages like this one while the transporter is starting because the initialization might take a few seconds. If i try to solve my issue by skipping the Startup I would also receive a lof of these messages: com.esri.ges.manager.stream.internal.StreamBase Stream (ConnectorName) is trying to start its Transport (de.esri.ges.transport/TransportName/10.7.1) .. Grateful for any hint, Stefan
... View more
01-16-2020
04:55 AM
|
0
|
0
|
238
|
Title | Kudos | Posted |
---|---|---|
1 | 10-22-2020 11:33 PM | |
1 | 05-15-2022 11:41 PM | |
1 | 11-12-2020 04:59 AM | |
1 | 01-08-2021 01:27 AM | |
1 | 01-08-2021 02:28 AM |
Online Status |
Offline
|
Date Last Visited |
10-17-2023
08:02 AM
|