Error in creating a resource with partition enabled. No interceptor provided a value for pointcut: STORAGE_PARTITION_IDENTIFY_READ

47 views
Skip to first unread message

Raghu Govardhan

unread,
Sep 16, 2021, 11:30:24 PM9/16/21
to HAPI FHIR
Hi,

The hook is invoked for search operation

2021-09-17 08:55:08.457 [http-nio-8080-exec-4] DEBUG c.u.f.j.s.SearchCoordinatorSvcImpl [?:?] Registering new search 59901c9c-8e1f-4750-9cf7-510f76dfd414
2021-09-17 08:55:08.460 [http-nio-8080-exec-4] INFO  c.u.f.j.e.i.RequestTenantPartitionInterceptor [?:?] <<<<<<<<<<<<<<<<< READ PARTITION>>>>>>>>>>>>> null
2021-09-17 08:55:08.464 [http-nio-8080-exec-4] DEBUG c.u.f.j.s.SearchCoordinatorSvcImpl [?:?] Search initial phase completed in 5ms

For Create resource it is not invoked
2021-09-17 08:53:43.300 [http-nio-8080-exec-9] DEBUG c.u.f.jpa.provider.BaseJpaProvider [?:?] Request headers: [accept, accept-encoding, authorization, connection, content-length, content-type, host, postman-token, user-agent]
2021-09-17 08:53:43.300 [http-nio-8080-exec-9] DEBUG c.u.f.jpa.provider.BaseJpaProvider [?:?] Request is from address: 0:0:0:0:0:0:0:1
2021-09-17 08:53:43.331 [http-nio-8080-exec-9] DEBUG ca.uhn.fhir.jpa.dao.BaseHapiFhirDao [?:?] Starting entity update
2021-09-17 08:53:43.341 [http-nio-8080-exec-9] DEBUG ca.uhn.fhir.jpa.dao.BaseHapiFhirDao [?:?] Entity has published time: Fri Sep 17 08:53:43 IST 2021
2021-09-17 08:53:43.461 [http-nio-8080-exec-9] DEBUG c.u.f.j.d.i.DaoResourceLinkResolver [?:?] Automatically creating empty placeholder resource: null
2021-09-17 08:53:43.465 [http-nio-8080-exec-9] ERROR c.u.f.r.s.i.ExceptionHandlingInterceptor [?:?] Failure during REST processing
ca.uhn.fhir.rest.server.exceptions.InternalErrorException: No interceptor provided a value for pointcut: STORAGE_PARTITION_IDENTIFY_READ
at ca.uhn.fhir.jpa.partition.RequestPartitionHelperSvc.validatePartition(RequestPartitionHelperSvc.java:193)
at ca.uhn.fhir.jpa.partition.RequestPartitionHelperSvc.determineReadPartitionForRequest(RequestPartitionHelperSvc.java:105)
at ca.uhn.fhir.jpa.dao.BaseHapiFhirResourceDao.doUpdate(BaseHapiFhirResourceDao.java:1449)
at ca.uhn.fhir.jpa.dao.BaseHapiFhirResourceDao.lambda$update$12(BaseHapiFhirResourceDao.java:1414)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:140)
at ca.uhn.fhir.jpa.dao.tx.HapiTransactionService.execute(HapiTransactionService.java:65)
at ca.uhn.fhir.jpa.dao.BaseHapiFhirResourceDao.update(BaseHapiFhirResourceDao.java:1414)
at ca.uhn.fhir.jpa.dao.BaseHapiFhirResourceDao.update(BaseHapiFhirResourceDao.java:1394)
at ca.uhn.fhir.jpa.dao.BaseHapiFhirResourceDao.update(BaseHapiFhirResourceDao.java:1389)
at ca.uhn.fhir.jpa.dao.BaseHapiFhirResourceDao.update(BaseHapiFhirResourceDao.java:1374)
at ca.uhn.fhir.jpa.dao.BaseHapiFhirResourceDao$$FastClassBySpringCGLIB$$5578fb67.invoke(<generated>) 

Please suggest what is missing in the configuration to make this work
Reply all
Reply to author
Forward
0 new messages