cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
888
Views
0
Helpful
2
Replies

CS Lab vs Prod

Frederic Doyle
Cisco Employee
Cisco Employee

Hi,

I have compile and run my import program in Lab mode.  It works.

Now, I understand that if I want to test with CCX IPIVR and Finesse 11.0, I need to compile in prod.

I havent found a way to "Register" in prod, apparently there is not difference at the Registration level.

the only thing I have change is at the initialization of the service config.addProperty("LAB_MODE", false); ... see bellow:

// Initialize Client Connection
ContextServiceClient contextServiceClient = ConnectorFactory.getConnector(ContextServiceClient.class);
System.out.println("ContextServiceClient version : " + contextServiceClient.getVersion());

BaseConfiguration config = new BaseConfiguration();
config.addProperty("LAB_MODE", false);
config.addProperty("REQUEST_TIMEOUT", 10000);
config.addProperty("RETRIES", 2);
try {
   contextServiceClient.init(CONNECTIONDATA, connInfo, config);
   System.out.println("\n\n*** Client Connector Connected ***\n\n");
}
catch (ApiException e) {
   System.out.println("Error! Could not init client connector: " + e);
}


is it the only thing to change to run in prod?


thanks,


Fred

1 Accepted Solution

Accepted Solutions

ankparik
Cisco Employee
Cisco Employee

Fred,

You're correct! Setting Lab Mode to false will compile your program in Context Service production mode.

Thank you

Ankit Parikh

View solution in original post

2 Replies 2

ankparik
Cisco Employee
Cisco Employee

Fred,

You're correct! Setting Lab Mode to false will compile your program in Context Service production mode.

Thank you

Ankit Parikh

Thanks Ankit