Skip to content

Add healthcheck port to docker-compose.yml for svc-bip-api #7

Add healthcheck port to docker-compose.yml for svc-bip-api

Add healthcheck port to docker-compose.yml for svc-bip-api #7

GitHub Actions / Code Coverage succeeded Nov 3, 2023 in 0s

Code Coverage 75.76 %

This run completed at 11/03/2023 19:44:20

Details

Coverage Report: JaCoCo

  • abd_vro
Outcome Value
Code Coverage % 75.76%
✔️ Number of Lines Covered 1178
❌ Number of Lines Missed 377
Total Number of Lines 1555

Details:

gov/va/vro/controller/xample/v3

✔️ XampleController.java

All Lines Covered!

✔️ ResourceMapperImpl.java

All Lines Covered!

❌ ResourceMapper.java

gov/va/vro/propmodel

❌ Contact.java

Lines Missed:

❌ OpenApiProperties.java

Lines Missed:

❌ Info.java

Lines Missed:

❌ License.java

Lines Missed:

❌ Server.java

Lines Missed:

gov/va/vro/routes/xample

✔️ XampleRoutes.java

All Lines Covered!

✔️ BieXampleRoutes.java

All Lines Covered!

✔️ DbHelper.java

All Lines Covered!

gov/va/vro/model/xample

❌ CamelConstants.java

Lines Missed:

✔️ StatusValue.java

All Lines Covered!

✔️ SomeDtoModel.java

All Lines Covered!

❌ SomeDtoModelHeader.java

gov/va/vro/api/xample/v3

❌ ResourceResponse.java
❌ ResourceRequest.java
❌ XampleResource.java

gov/va/vro/camel

❌ ToRabbitMqRouteHelper.java

Lines Missed:

❌ CamelDtoConverter.java

Lines Missed:

    } catch (IOException e) {
    }
❌ CamelConfiguration.java

Lines Missed:

        } catch (IOException e) {
❌ RabbitMqCamelUtils.java

Lines Missed:

        .toTopic(exchangeName, "tap-" + tapName + "-not-used", "")
❌ CamelDtoClassesProperties.java

Lines Missed:

      } catch (ClassNotFoundException e) {
    } catch (IOException ex) {
    } catch (Exception ex) {
❌ FunctionProcessor.java

Lines Missed:

  }
✔️ MessageQueueConfiguration.java

All Lines Covered!

❌ OnExceptionHelper.java

Lines Missed:

            } catch (Exception e) {
❌ CamelEntry.java

Lines Missed:

  }
  }
  }
❌ CamelUtils.java

Lines Missed:

        break;

gov/va/vro/camel/config

❌ MessageQueueEnvVariables.java
❌ MessageQueueProperties.java

gov/va/vro/bip

❌ BipApiApplication.java

Lines Missed:

  }

gov/va/vro/model/biekafka

✔️ ContentionEvent.java

All Lines Covered!

❌ BieMessagePayload.java

gov/va/vro/persistence/repository

❌ AuditEventRepository.java
❌ EvidenceSummaryDocumentRepository.java
❌ VeteranRepository.java
❌ ClaimRepository.java
❌ ExamOrderRepository.java
❌ ContentionEventRepository.java
❌ ClaimSubmissionRepository.java
❌ AssessmentResultRepository.java

gov/va/vro/abddataaccess/model

❌ LighthouseTokenMessage.java
❌ HealthDataAssessment.java
❌ ServiceLocation.java

Lines Missed:

✔️ AbdMedication.java

All Lines Covered!

❌ AbdClaim.java
❌ AbdEvidenceWithSummary.java

Lines Missed:

✔️ AbdCondition.java

All Lines Covered!

✔️ AbdBloodPressure.java

All Lines Covered!

❌ HealthAssessmentSource.java

Lines Missed:

✔️ AbdResponse.java

All Lines Covered!

✔️ AbdEvidence.java

All Lines Covered!

✔️ AbdBpMeasurement.java

All Lines Covered!

✔️ AbdProcedure.java

All Lines Covered!

gov/va/vro/abddataaccess/config/properties

✔️ LighthouseProperties.java

All Lines Covered!

✔️ RabbitMqProperties.java

All Lines Covered!

gov/va/vro/services/xample

❌ ServiceB.java

Lines Missed:

❌ JavaMicroserviceApplication.java

Lines Missed:

              }
❌ XampleJavaMicroservice.java

Lines Missed:

    } catch (Throwable t) {
    }

gov/va/vro/abddataaccess/exception

✔️ AbdException.java

All Lines Covered!

gov/va/vro/config

❌ LhApiProps.java
✔️ LhApiConfig.java

All Lines Covered!

✔️ SecurityConfig.java

All Lines Covered!

❌ OpenApiConfiguration.java

Lines Missed:

gov/va/vro

❌ ApiGatewayRestController.java

Lines Missed:

✔️ VroConfig.java

All Lines Covered!

❌ HomePageModel.java
❌ GatewayConfiguration.java

Lines Missed:

❌ VroApplication.java

Lines Missed:

  }
❌ OpenApiConfiguration.java

Lines Missed:

❌ HomePageController.java

Lines Missed:

❌ GatewayApplication.java

Lines Missed:

  }

gov/va/vro/abddataaccess/service

❌ LighthouseApiService.java

Lines Missed:

    } catch (IOException
    } catch (NullPointerException e) {
    } catch (IOException e) {
    } catch (RestClientException e) {
❌ FhirClient.java

Lines Missed:

    } catch (RestClientException ex) {
    } catch (DataFormatException dfEx) {
        continue; // skip it if both systolic and diastolic values are missing.
            FieldExtractor.getDefaultBpMeasurement(FieldExtractor.BpMeasure.DIASTOLIC));
            FieldExtractor.getDefaultBpMeasurement(FieldExtractor.BpMeasure.SYSTOLIC));
    } catch (AbdException e) {
        } catch (ParseException e) {
        }
      } else {
❌ AbdRabbitReceiver.java

Lines Missed:

        claim.getClaimSubmissionId());
    } catch (Exception e) {
✔️ AbdDomain.java

All Lines Covered!

❌ FieldExtractor.java

Lines Missed:

    }
              .filter(d -> d.hasRoute() && d.getRoute().hasText())

gov/va/vro/model/biekafka/test

❌ BieMessagePayloadFactory.java

Lines Missed:

gov/va/vro/openapi/provider

✔️ DefaultJwtBearerSecuritySchemeProvider.java

All Lines Covered!

✔️ DefaultOauthScopeConfigurer.java

All Lines Covered!

✔️ DefaultOauthSecuritySchemeProvider.java

All Lines Covered!

gov/va/vro/abddataaccess/config

✔️ AppProperties.java

All Lines Covered!

✔️ AppConfig.java

All Lines Covered!

✔️ RabbitMqConfig.java

All Lines Covered!

gov/va/vro/config/propmodel

✔️ OpenApiProperties.java

All Lines Covered!

✔️ Server.java

All Lines Covered!

gov/va/vro/security

❌ InvalidTokenException.java

Lines Missed:

  }
❌ JwtValidator.java

Lines Missed:

    } catch (Exception ex) {
    } catch (RuntimeException exception) {
  }
        }
  }
    } catch (RuntimeException exception) {
    } catch (NullPointerException ex) {
      }
❌ ApiAuthKeyFilter.java

Lines Missed:

❌ ApiAuthKeys.java
❌ ApiAuthKeyManager.java

Lines Missed:

      } catch (InvalidTokenException invalidTokenException) {
      }

gov/va/vro/openapi/spi

❌ CustomOauthScopeConfigurer.java
❌ CustomSecuritySchemeProvider.java
❌ CustomSchemaProvider.java

gov/va/vro/persistence/model

✔️ ClaimEntity.java

All Lines Covered!

✔️ VeteranFlashIdEntity.java

All Lines Covered!

✔️ AssessmentResultEntity.java

All Lines Covered!

✔️ ClaimSubmissionEntity.java

All Lines Covered!

✔️ ExamOrderEntity.java

All Lines Covered!

✔️ ContentionEventEntity.java

All Lines Covered!

✔️ AuditEventEntity.java

All Lines Covered!

✔️ BaseEntity.java

All Lines Covered!

    return id == null;
✔️ VeteranEntity.java

All Lines Covered!

✔️ EvidenceSummaryDocumentEntity.java

All Lines Covered!

✔️ ContentionEntity.java

All Lines Covered!

gov/va/vro/services/bie/config

❌ MessageExchangeConfig.java

Lines Missed:

✔️ BieProperties.java

All Lines Covered!

gov/va/vro/camel/processor

❌ RequestAndMerge.java

Lines Missed:

        .processorUtils(new ProcessorUtils())
        .build();
  }
✔️ ProcessorUtils.java

All Lines Covered!

❌ InOnlySyncProcessor.java

Lines Missed:

  }
❌ FunctionProcessor.java

Lines Missed:

        .processorUtils(new ProcessorUtils())
        .build();

gov/va/vro/bip/config

✔️ GetClaimContentionsConfig.java

All Lines Covered!

✔️ UpdateClaimContentionConfig.java

All Lines Covered!

✔️ UpdateClaimStatusConfig.java

All Lines Covered!

❌ BipApiConfig.java

Lines Missed:

    } catch (NoSuchAlgorithmException | KeyStoreException | KeyManagementException e) {
✔️ ConfigForGetClaimDetails.java

All Lines Covered!

✔️ ConfigForSetClaimToRfdStatus.java

All Lines Covered!

❌ RabbitMqConfig.java

Lines Missed:

gov/va/vro/services/bie/service

✔️ BieRabbitService.java

All Lines Covered!

❌ AmqpMessageSender.java

gov/va/vro/abddataaccess

❌ AbdApplication.java

Lines Missed:

  }

gov/va/vro/bip/service

❌ RabbitMqController.java

Lines Missed:

✔️ BipApiProps.java

All Lines Covered!

❌ BipException.java

Lines Missed:

  }
❌ IBipApiService.java
❌ BipApiService.java

Lines Missed:

    } catch (RestClientException e) {
    } catch (RestClientException | JsonProcessingException e) {
    } catch (RestClientException e) {
      boolean statusIsOK = response.getStatusCode() == HttpStatus.OK;
    } catch (Exception e) {
✔️ ClaimProps.java

All Lines Covered!