<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: GEP DEV sample definition/property issue in ArcGIS GeoEvent Server Questions</title>
    <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/gep-dev-sample-definition-property-issue/m-p/457915#M1975</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/41129" target="_blank"&gt;Minxue Chen&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;working with property files is a little bit tricky. I think in a way they are cached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all you could go to SampleInboundAdapterDefinition and just replace the property reference with your own String to test if it works like expected:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"${sample.gep.sample-adapter.ADAPTER_IN_LABEL}"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
 
&lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"My Sample Adapter"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;I 'am not absolutely sure what to do to get rid of the caching. I guess you could stopp GeoEvent, delete the content of the data folder and start it again. In this case all bundles gets recreated. But this is nothing you always want to do if anything changes in your property file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;By the way, be carefull when changing other stuff later on. Like the artifact or group id of the project. This will also affect that you have to rename the folder where your property files are stored. Check the GeoEvent Developer Guide for more information on that.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Best,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Stefan&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 20:22:46 GMT</pubDate>
    <dc:creator>Stefan_Jung</dc:creator>
    <dc:date>2021-12-11T20:22:46Z</dc:date>
    <item>
      <title>GEP DEV sample definition/property issue</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/gep-dev-sample-definition-property-issue/m-p/457914#M1974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I copied one of the GEP sample: "sample-adapter" to another directory. I was able to build it and import it to GEP.&amp;nbsp;Then I did two&amp;nbsp;changes:&lt;/P&gt;&lt;P&gt;1. Deleting all the properties files with a 'locale' so that there is only the 'sample-adapter.properties' left.&lt;/P&gt;&lt;P&gt;2. In the 'sample-adapter.properties' file, I changed the label value and the description value.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/475113_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;However, after importing the new adapter, the result still shows in a local language. (The version number looks strange too because I thought it is from the pom.xml where I don't see 10.5.0)&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/475114_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me with it?&amp;nbsp; I tried with the other samples, the results are the same.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2019 01:52:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/gep-dev-sample-definition-property-issue/m-p/457914#M1974</guid>
      <dc:creator>MinxueChen</dc:creator>
      <dc:date>2019-12-03T01:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: GEP DEV sample definition/property issue</title>
      <link>https://community.esri.com/t5/arcgis-geoevent-server-questions/gep-dev-sample-definition-property-issue/m-p/457915#M1975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/41129" target="_blank"&gt;Minxue Chen&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;working with property files is a little bit tricky. I think in a way they are cached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all you could go to SampleInboundAdapterDefinition and just replace the property reference with your own String to test if it works like expected:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"${sample.gep.sample-adapter.ADAPTER_IN_LABEL}"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
 
&lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"My Sample Adapter"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;I 'am not absolutely sure what to do to get rid of the caching. I guess you could stopp GeoEvent, delete the content of the data folder and start it again. In this case all bundles gets recreated. But this is nothing you always want to do if anything changes in your property file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;By the way, be carefull when changing other stuff later on. Like the artifact or group id of the project. This will also affect that you have to rename the folder where your property files are stored. Check the GeoEvent Developer Guide for more information on that.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Best,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Stefan&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 20:22:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geoevent-server-questions/gep-dev-sample-definition-property-issue/m-p/457915#M1975</guid>
      <dc:creator>Stefan_Jung</dc:creator>
      <dc:date>2021-12-11T20:22:46Z</dc:date>
    </item>
  </channel>
</rss>

