test_class.declarator: vtnHttpId
test_class.modifier: @Value("${oadr.vtn.myvtn.vtnid}")
  	private
test_class.original_string: @Value("${oadr.vtn.myvtn.vtnid}")
  	private String vtnHttpId;
test_class.type: String
test_class.var_name: vtnHttpId
test_class.declarator: venConfig
test_class.modifier: @Resource
  	private
test_class.original_string: @Resource
  	private VenConfig venConfig;
test_class.type: VenConfig
test_class.var_name: venConfig
test_class.declarator: oadr20bJAXBContext
test_class.modifier: @Resource
  	private
test_class.original_string: @Resource
  	private Oadr20bJAXBContext oadr20bJAXBContext;
test_class.type: Oadr20bJAXBContext
test_class.var_name: oadr20bJAXBContext
test_class.declarator: oadr20bVENEiReportService
test_class.modifier: @Resource
  	private
test_class.original_string: @Resource
  	private Oadr20bVENEiReportService oadr20bVENEiReportService;
test_class.type: Oadr20bVENEiReportService
test_class.var_name: oadr20bVENEiReportService
test_class.file: OpenADRServerVEN20b/src/test/java/com/avob/openadr/server/oadr20b/ven/service/Oadr20bVENEiReportServiceTest.java
test_class.identifier: Oadr20bVENEiReportServiceTest
test_case.body: @Test
  	public void oadrUpdateReportTest()
  			throws Oadr20bApplicationLayerException, Oadr20bMarshalException, Oadr20bUnmarshalException,
  			Oadr20bXMLSignatureValidationException, Oadr20bXMLSignatureException, OadrSecurityException {
  
  		String reportId = "";
  		String reportrequestId = "";
  		String reportSpecifierId = "";
  		ReportNameEnumeratedType reportName = ReportNameEnumeratedType.METADATA_HISTORY_GREENBUTTON;
  		long createdTimestamp = 0L;
  		Long startTimestamp = 0L;
  		String duration = "PT1S";
  		OadrReportType report = Oadr20bEiReportBuilders.newOadr20bUpdateReportOadrReportBuilder(reportId,
  				reportrequestId, reportSpecifierId, reportName, createdTimestamp, startTimestamp, duration).build();
  		OadrUpdateReportType oadrUpdateReport = Oadr20bEiReportBuilders
  				.newOadr20bUpdateReportBuilder("", venConfig.getVenId()).addReport(report)
  				.addReport(Lists.newArrayList(report)).build();
  
  		String request = oadr20bVENEiReportService.request(vtnHttpId, oadr20bJAXBContext.marshalRoot(oadrUpdateReport));
  
  		OadrUpdatedReportType resp = oadr20bJAXBContext.unmarshal(request, OadrUpdatedReportType.class);
  		assertNotNull(resp);
  		assertEquals(resp.getEiResponse().getResponseCode(),
  				String.valueOf(Oadr20bApplicationLayerErrorCode.NOT_RECOGNIZED_453));
  
  	}
test_case.class_method_signature: Oadr20bVENEiReportServiceTest.oadrUpdateReportTest()
test_case.full_signature: @Test public void oadrUpdateReportTest()
test_case.identifier: oadrUpdateReportTest
test_case.invocations: build newOadr20bUpdateReportOadrReportBuilder build addReport addReport newOadr20bUpdateReportBuilder getVenId newArrayList request marshalRoot unmarshal assertNotNull assertEquals getResponseCode getEiResponse valueOf
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void oadrUpdateReportTest()
focal_class.declarator: LOGGER = LoggerFactory.getLogger(Oadr20bVENEiReportService.class)
focal_class.modifier: protected static final
focal_class.original_string: protected static final Logger LOGGER = LoggerFactory.getLogger(Oadr20bVENEiReportService.class);
focal_class.type: Logger
focal_class.var_name: LOGGER
focal_class.declarator: METADATA_REPORT_SPECIFIER_ID = "METADATA"
focal_class.modifier: protected static final
focal_class.original_string: protected static final String METADATA_REPORT_SPECIFIER_ID = "METADATA";
focal_class.type: String
focal_class.var_name: METADATA_REPORT_SPECIFIER_ID
focal_class.declarator: METADATA_REPORT_RID = "METADATA"
focal_class.modifier: protected static final
focal_class.original_string: protected static final String METADATA_REPORT_RID = "METADATA";
focal_class.type: String
focal_class.var_name: METADATA_REPORT_RID
focal_class.declarator: NO_GRANULARITY = "P0D"
focal_class.modifier: protected static final
focal_class.original_string: protected static final String NO_GRANULARITY = "P0D";
focal_class.type: String
focal_class.var_name: NO_GRANULARITY
focal_class.declarator: payloadHandler
focal_class.modifier: @Resource
  	private
focal_class.original_string: @Resource
  	private PayloadHandler payloadHandler;
focal_class.type: PayloadHandler
focal_class.var_name: payloadHandler
focal_class.declarator: multiVtnConfig
focal_class.modifier: @Resource
  	private
focal_class.original_string: @Resource
  	private MultiVtnConfig multiVtnConfig;
focal_class.type: MultiVtnConfig
focal_class.var_name: multiVtnConfig
focal_class.file: OpenADRServerVEN20b/src/main/java/com/avob/openadr/server/oadr20b/ven/service/Oadr20bVENEiReportService.java
focal_class.identifier: Oadr20bVENEiReportService
focal_class.class_method_signature: Oadr20bVENEiReportService.selfOadrRegisterReport(String requestId, String venId, String reportRequestId)
focal_class.full_signature: public OadrRegisterReportType selfOadrRegisterReport(String requestId, String venId, String reportRequestId)
focal_class.identifier: selfOadrRegisterReport
focal_class.modifiers: public
focal_class.parameters: (String requestId, String venId, String reportRequestId)
focal_class.return: OadrRegisterReportType
focal_class.signature: OadrRegisterReportType selfOadrRegisterReport(String requestId, String venId, String reportRequestId)
focal_class.class_method_signature: Oadr20bVENEiReportService.oadrUpdateReport(VtnSessionConfiguration vtnConfig,
  			OadrUpdateReportType oadrUpdateReportType)
focal_class.full_signature: public OadrUpdatedReportType oadrUpdateReport(VtnSessionConfiguration vtnConfig,
  			OadrUpdateReportType oadrUpdateReportType)
focal_class.identifier: oadrUpdateReport
focal_class.modifiers: public
focal_class.parameters: (VtnSessionConfiguration vtnConfig,
  			OadrUpdateReportType oadrUpdateReportType)
focal_class.return: OadrUpdatedReportType
focal_class.signature: OadrUpdatedReportType oadrUpdateReport(VtnSessionConfiguration vtnConfig,
  			OadrUpdateReportType oadrUpdateReportType)
focal_class.class_method_signature: Oadr20bVENEiReportService.oadrRegisterReport(VtnSessionConfiguration vtnConfig,
  			OadrRegisterReportType oadrRegisterReportType)
focal_class.full_signature: public OadrRegisteredReportType oadrRegisterReport(VtnSessionConfiguration vtnConfig,
  			OadrRegisterReportType oadrRegisterReportType)
focal_class.identifier: oadrRegisterReport
focal_class.modifiers: public
focal_class.parameters: (VtnSessionConfiguration vtnConfig,
  			OadrRegisterReportType oadrRegisterReportType)
focal_class.return: OadrRegisteredReportType
focal_class.signature: OadrRegisteredReportType oadrRegisterReport(VtnSessionConfiguration vtnConfig,
  			OadrRegisterReportType oadrRegisterReportType)
focal_class.class_method_signature: Oadr20bVENEiReportService.oadrCreateReport(VtnSessionConfiguration vtnConfig,
  			OadrCreateReportType oadrCreateReportType)
focal_class.full_signature: public OadrCreatedReportType oadrCreateReport(VtnSessionConfiguration vtnConfig,
  			OadrCreateReportType oadrCreateReportType)
focal_class.identifier: oadrCreateReport
focal_class.modifiers: public
focal_class.parameters: (VtnSessionConfiguration vtnConfig,
  			OadrCreateReportType oadrCreateReportType)
focal_class.return: OadrCreatedReportType
focal_class.signature: OadrCreatedReportType oadrCreateReport(VtnSessionConfiguration vtnConfig,
  			OadrCreateReportType oadrCreateReportType)
focal_class.class_method_signature: Oadr20bVENEiReportService.oadrCreatedReport(VtnSessionConfiguration vtnConfig, OadrCreatedReportType oadrCreatedReportType)
focal_class.full_signature: public void oadrCreatedReport(VtnSessionConfiguration vtnConfig, OadrCreatedReportType oadrCreatedReportType)
focal_class.identifier: oadrCreatedReport
focal_class.modifiers: public
focal_class.parameters: (VtnSessionConfiguration vtnConfig, OadrCreatedReportType oadrCreatedReportType)
focal_class.return: void
focal_class.signature: void oadrCreatedReport(VtnSessionConfiguration vtnConfig, OadrCreatedReportType oadrCreatedReportType)
focal_class.class_method_signature: Oadr20bVENEiReportService.oadrCancelReport(VtnSessionConfiguration vtnConfig,
  			OadrCancelReportType oadrCancelReportType)
focal_class.full_signature: public OadrCanceledReportType oadrCancelReport(VtnSessionConfiguration vtnConfig,
  			OadrCancelReportType oadrCancelReportType)
focal_class.identifier: oadrCancelReport
focal_class.modifiers: public
focal_class.parameters: (VtnSessionConfiguration vtnConfig,
  			OadrCancelReportType oadrCancelReportType)
focal_class.return: OadrCanceledReportType
focal_class.signature: OadrCanceledReportType oadrCancelReport(VtnSessionConfiguration vtnConfig,
  			OadrCancelReportType oadrCancelReportType)
focal_class.class_method_signature: Oadr20bVENEiReportService.handle(VtnSessionConfiguration multiConfig, OadrPayload oadrPayload)
focal_class.full_signature: public Object handle(VtnSessionConfiguration multiConfig, OadrPayload oadrPayload)
focal_class.identifier: handle
focal_class.modifiers: public
focal_class.parameters: (VtnSessionConfiguration multiConfig, OadrPayload oadrPayload)
focal_class.return: Object
focal_class.signature: Object handle(VtnSessionConfiguration multiConfig, OadrPayload oadrPayload)
focal_class.class_method_signature: Oadr20bVENEiReportService.request(String username, String payload)
focal_class.full_signature: public String request(String username, String payload)
focal_class.identifier: request
focal_class.modifiers: public
focal_class.parameters: (String username, String payload)
focal_class.return: String
focal_class.signature: String request(String username, String payload)
focal_method.body: public OadrUpdatedReportType oadrUpdateReport(VtnSessionConfiguration vtnConfig,
  			OadrUpdateReportType oadrUpdateReportType) {
  
  		String requestID = oadrUpdateReportType.getRequestID();
  
  		return Oadr20bEiReportBuilders.newOadr20bUpdatedReportBuilder(requestID,
  				Oadr20bApplicationLayerErrorCode.NOT_RECOGNIZED_453, vtnConfig.getVenSessionConfig().getVenId())
  				.build();
  	}
focal_method.class_method_signature: Oadr20bVENEiReportService.oadrUpdateReport(VtnSessionConfiguration vtnConfig,
  			OadrUpdateReportType oadrUpdateReportType)
focal_method.full_signature: public OadrUpdatedReportType oadrUpdateReport(VtnSessionConfiguration vtnConfig,
  			OadrUpdateReportType oadrUpdateReportType)
focal_method.identifier: oadrUpdateReport
focal_method.invocations: getRequestID build newOadr20bUpdatedReportBuilder getVenId getVenSessionConfig
focal_method.modifiers: public
focal_method.parameters: (VtnSessionConfiguration vtnConfig,
  			OadrUpdateReportType oadrUpdateReportType)
focal_method.return: OadrUpdatedReportType
focal_method.signature: OadrUpdatedReportType oadrUpdateReport(VtnSessionConfiguration vtnConfig,
  			OadrUpdateReportType oadrUpdateReportType)