i want to call view in my controller to check value present in value entity for that i am writing this code.
final CompletionStage<ReferenceDataDomain.ReferenceDataState> refDataView = components().referenceDataView().getAllReferenceData(Any.newBuilder().build()).execute();
refDataView.toCompletableFuture().get(30, TimeUnit.SECONDS)//timeout at this place
But i am getting time out exception .Can some one please help what is the issue?