cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
392
Views
1
Helpful
1
Replies
Highlighted
Beginner

Example for Provider code

Can anyone please give an example code for a Provider/Publisher program preferably in Java? Or is there any reference link where I can check the code? Any help would be greatly appreciated.

Thanks.

Everyone's tags (2)
1 REPLY 1
tlz Beginner
Beginner

Re: Example for Provider code

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

CreatePlease to create content
Content for Community-Ad
August's Community Spotlight Awards
This widget could not be displayed.