Hi
There is an pxGrid sdk with many examples. To make it run/debug in a IDE it takes some time.
I did it for Netbeans IDE. Check Class "com.cisco.pxgrid.samples.ise.GenericClient"
As an example I started this class with the following Params:
-Dtopic-name="EPS"
-Dclient-mode="publisher"
-DPXGRID_GROUP="EPS"
-DPXGRID_HOSTNAMES="SERVER.DOMAIN.ch"
-DPXGRID_KEYSTORE_FILENAME="C:\samples\ws-31n-client.jks"
-DPXGRID_KEYSTORE_PASSWORD="cisco123"
-DPXGRID_TRUSTSTORE_FILENAME="C:\samples\ws-31n-root.jks"
-DPXGRID_TRUSTSTORE_PASSWORD="cisco123"
-DPXGRID_USERNAME="REST_SessMgr"
-Dlogback.configurationFile="C:\samples\conf"
-Dsmack.debugEnabled=true
-DPXGRID_DESCRIPTION="TEST123"
NOTE:
The param "PXGRID_USERNAME" must be a valid user existing on Cisco ISE with the required Permissions.
For testing purpose assign "Admin" rights..
Hope that helps!
Kind regards,
Thomas