-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
register custom JAX-RS resource (https://github.com/jbosstm/quickstart/blob/master/rts/lra-examples/cdi-embedded/src/main/java/io/narayana/rts/lra/CdiBasedResource.java) together with manually registered JAX-RS lra-coordinator resource (https://github.com/jbosstm/narayana/blob/master/rts/lra/coordinator/src/main/java/io/narayana/lra/coordinator/api/Coordinator.java#L139-L144 ) is not working.
quickstart error:
```
===== testing service
+ curl -4 -X PUT -I http://localhost:8082/cdi
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 -::- -::- -::- 0
HTTP/1.1 404 Not Found
Narayana-LRA-API-version: 1.0
content-length: 0
++ timeout_adjust 1
++ echo 1
+ sleep 1
++ curl -4 http://localhost:8082/cdi
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 -::- -::- -::- 0
+ '[' '' = '1 completed and 0 compensated' ']'
+ return 1
+ res=1
+ test_recovery
+ echo '===== CdiBasedResource halt the service on pid 548390'
===== CdiBasedResource halt the service on pid 548390
+ curl -4 -X PUT -I 'http://localhost:8082/cdi?fault=haltcdiduring'
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 -::- -::- -::- 0
HTTP/1.1 404 Not Found
Narayana-LRA-API-version: 1.0
content-length: 0
```