Hi All,
I've completed the Kata #2: User-Defined APIs but after I upload the automation script, I don't get the click box to create User-Defined API. The window where you add your URL and select a token. Are User-Defined APIs only available as an added feature or version of DataMiner? or am I doing something wrong?
Note - I can't see User-Defined APIs in System Center...
Thanks
Dave
Hi David,
I would like to help you get the points for Kata #2. Since you are running version of DM that has user defined APIs and you think the issue is lack of indexing engine I will go through steps to install Elasticsearch locally.
First download the Elasticsearch installer from here.
Unzip the content and open the folder.
Run run_localhost_configuration.bat (you may need to run this as admin).
Open CMD and navigate to the extracted folder and run the following command:
SLDataGateway.Installers.Elastic.Runner.exe run-stand-alone -c localhost_configuration.xml
After installation finishes you will need to configure DM to use Elastic. Stop the DataMiner and navigate to Skyline DataMiner installation folder and open db.xml.
Add the following XML under existing one for Cassandra:
<DataBase search="true" active="true" local="true" type="Elasticsearch">
<ConnectString />
<DBServer>localhost</DBServer>
<DSN />
<DB>SLDMADB</DB>
<UID>elastic</UID>
<PWD></PWD>
</DataBase>
Lastly you will need to configure Elasticsearch, technically you may not need to do this step, but it could save you some trouble in the future.
Navigate to Elasticsearch installation folder and open config folder. Open elasticsearch.yml and change network.publish_host: 0.0.0.0 to network.publish_host: _local_.
Next you need to restart Elasticsearch service for changes to take effect.
Open start menu and type Service. Find Elasticsearch 6.8.23(elasticsearch-service-x64) and click Restart on the left side.
That should be it, start DM and enjoy your points.
Do note that this is just for local configuration. I know DM complains if you try to install Elastic through Cube if you have only one drive on your machine, but that warning is only valid in production environment. Locally you shouldn't have any issues with Elastic and Cassandra sharing the drive. You can find more information on Elastic installation process here
Let me know if you have any further questions or issues.
Hi Dave,
Just double checking, what DMA version are you running?
You need to run at least 10.3.6 to have this feature:
https://docs.dataminer.services/user-guide/Advanced_Modules/UserDefinedAPIs/UD_APIs.html