<div>Hi Folks,</div><div><br></div><div>I am working on Jcloud and Openstack. We have application(using jcloud) to connect Hp cloud service.</div><div><br></div><div>But for each request to HP cloud service, we created  restContext (RestContext<NovaApi, NovaAsyncApi> restContext = computeContext.unwrap();), </div>
<div>then get NovaAPi (  NovaApi novaApi = restContext.getApi();). once task is finished, we closed restContext, so this is not efficient. since each request to create restconects, then closed once job is done.</div><div>
There is any way to reuse this restContext and NoavaApi? do i need to build a connection pool to reuse it? I am not sure originally why engineers did in this way. it may for security reason since each request we ask token from service. </div>
<div><br></div><div>Thank you, </div><div><br></div><div>Chwang</div>