Class MockRunDataStore
java.lang.Object
com.yahoo.vespa.hosted.controller.api.integration.stubs.MockRunDataStore
- All Implemented Interfaces:
RunDataStore
- Author:
- jonmv
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(com.yahoo.config.provision.ApplicationId id) Deletes all data associated with the given application.voidDeletes the run logs and test report for the given deployment job.Optional<byte[]>Returns the run logs of the given deployment job, if existent.Fetches Vespa logs for the run.Optional<byte[]>getTestReport(RunId id) Returns the test report og the given deployment job, if presentvoidStores the given log for the given deployment job.voidputLogs(RunId id, boolean tester, InputStream logs) Stores Vespa logs for the run.voidputTestReport(RunId id, byte[] report) Stores the test report for the given deployment job
-
Constructor Details
-
MockRunDataStore
public MockRunDataStore()
-
-
Method Details
-
get
Description copied from interface:RunDataStoreReturns the run logs of the given deployment job, if existent.- Specified by:
getin interfaceRunDataStore
-
put
Description copied from interface:RunDataStoreStores the given log for the given deployment job.- Specified by:
putin interfaceRunDataStore
-
getTestReport
Description copied from interface:RunDataStoreReturns the test report og the given deployment job, if present- Specified by:
getTestReportin interfaceRunDataStore
-
putTestReport
Description copied from interface:RunDataStoreStores the test report for the given deployment job- Specified by:
putTestReportin interfaceRunDataStore
-
delete
Description copied from interface:RunDataStoreDeletes the run logs and test report for the given deployment job.- Specified by:
deletein interfaceRunDataStore
-
delete
public void delete(com.yahoo.config.provision.ApplicationId id) Description copied from interface:RunDataStoreDeletes all data associated with the given application.- Specified by:
deletein interfaceRunDataStore
-
putLogs
Description copied from interface:RunDataStoreStores Vespa logs for the run.- Specified by:
putLogsin interfaceRunDataStore
-
getLogs
Description copied from interface:RunDataStoreFetches Vespa logs for the run.- Specified by:
getLogsin interfaceRunDataStore
-