Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-07-05 | Use StorageConfig functionality via Instance() | Maksim Denisov | |
...to track changes during refactoring easier. | |||
2024-07-05 | Move functionality from StorageConfig to related classes. | Maksim Denisov | |
2024-07-04 | Replace the Auth and Auth::TLS singletons | Paul Cristian Sarbu | |
Use a builder pattern for creation and validation, in a manner that allows also other authentication methods to be added in the future besides the current TLS/SSL. The main Auth instances are built early and then passed by not_null const pointers, to avoid passing temporaries, replacing the previous Auth::TLS instances passed by simple nullable const pointers. Where needed, these passed Auth instances are also stored, by const ref. Tests also build Auth instances as needed, either with the default 'no certification' or from the test environment arguments. | |||
2024-07-04 | Pass Auth::TLS instance to serve and execute clients | Paul Cristian Sarbu | |
2024-07-04 | Use ApiBundle's Auth::TLS instance in serve and execute servers | Paul Cristian Sarbu | |
2024-07-04 | Pass Auth::TLS instance to BazelApi and ServeApi | Paul Cristian Sarbu | |
2024-07-04 | Use Auth and TLS configurations via Instance() | Paul Cristian Sarbu | |
...to more easily keep track of changes during refactoring. | |||
2024-07-04 | Mark more constructors 'explicit' | Paul Cristian Sarbu | |
Since c++17 the 'explicit' keyword has use also for constructors with more than one argument and it is recommended to use it by default whereever implicit conversions are not expected bahaviour. | |||
2024-06-28 | Use (un)expected for CAS utils | Oliver Reiche | |
2024-06-28 | Use (un)expected for CAS access | Oliver Reiche | |
2024-06-28 | Use (un)expected for parsing dispatch info | Oliver Reiche | |
2024-06-27 | Use a raw pointer for passing optional RepositoryConfig | Maksim Denisov | |
...instead of std::optional<gsl::not_null<RepositoryConfig const*>>. | |||
2024-06-27 | Use a raw pointer for passing optional IExecutionApi | Maksim Denisov | |
...instead of std::optional<gsl::not_null<IExecutionApi const*>> | |||
2024-06-25 | Introduce a type allias for an optional ptr to IExecutionApi | Maksim Denisov | |
...and replace verbose constructions. | |||
2024-06-25 | Make IExecutionApi::Ptr a shared pointer to const | Maksim Denisov | |
...and use it in ApiBundle. | |||
2024-06-25 | Pass IExecutionApi to ServerImpl, Archive by reference | Maksim Denisov | |
...instead of not_null const ptr. | |||
2024-06-25 | Pass IExecutionApi to IExecutionApi by reference | Maksim Denisov | |
...instead of not_null const ptr. | |||
2024-06-25 | Mark IExecutionApi's methods constant | Maksim Denisov | |
2024-06-25 | Remove CreateExecutionApi | Maksim Denisov | |
2024-06-25 | Pass ApiBundle to ServerImpl | Maksim Denisov | |
2024-06-25 | Instantiate LocalApi and BazelApi at once | Maksim Denisov | |
...to properly fallback to local api if needed. | |||
2024-06-17 | Use c++20 standard in clang-format | Maksim Denisov | |
2024-06-07 | Move reading functionality to BazelNetworkReader | Maksim Denisov | |
...to enable validation of received blobs. | |||
2024-06-07 | Validate all blobs received over the network. | Maksim Denisov | |
2024-06-07 | Use BaselCasClient in BazelNetworkReader | Maksim Denisov | |
...bypassing BazelNetwork layer. | |||
2024-06-07 | Mark methods constant in BazelCasClient. | Maksim Denisov | |
2024-06-07 | Remove unused code | Maksim Denisov | |
2024-06-07 | Remove unused code. | Maksim Denisov | |
IExecutionApi::UploadFile was introduced to handle adding of a temporary file to the storage. The call was redirected to LocalCAS internal methods that do the similar thing, so this virtual method can be removed. | |||
2024-06-04 | blob containers: Store and upload taking into account content size | Paul Cristian Sarbu | |
Update logic populating containers to use the new method which is aware of the maximum transfer limit. | |||
2024-06-04 | common_api: Add method to help limit memory footprint of containers... | Paul Cristian Sarbu | |
...by proactively calling the Upload method for large blobs and containers as soon as the transfer limit is reached. | |||
2024-06-04 | bazel_network: Change UploadBlobs to also accept an rvalue | Paul Cristian Sarbu | |
This unifies the signature of all uploader functions consuming a BlobContainer type. | |||
2024-06-04 | ContentBlobContainer: Add content size field | Paul Cristian Sarbu | |
As the ContentBlobContainer is used to store actual content needed to be transferred, it is useful to automatically keep track of the running (bytes) size of the data being stored. | |||
2024-05-28 | Use shared_ptr for data in ContentBlob | Maksim Denisov | |
...to reduce the "price" of copying. | |||
2024-05-28 | Use ArtifactBlobContainer in IExecutionApi | Maksim Denisov | |
...instead of BazelBlobContainer to not bring bazel_re::Digest to IExecutionApi. | |||
2024-05-28 | Use ArtifactBlob in BlobTree instead of BazelBlob. | Maksim Denisov | |
2024-05-28 | Move blob_tree to the common stage since it is used only there. | Maksim Denisov | |
2024-05-28 | Rename BlobContainer to BazelBlobContainer | Maksim Denisov | |
2024-05-28 | Convert BlobContainer to a template | Maksim Denisov | |
...where the template parameter is the type of a digest. | |||
2024-05-28 | Use TransformedRange in BlobContainer | Maksim Denisov | |
...instead of various iterators. | |||
2024-05-28 | Copy digest before emplacing in BlobContainer | Maksim Denisov | |
...fixing potentially dangerous code (evaluation order is unspecified). | |||
2024-05-28 | Move CreateBlobFromPath since it is only used in tests. | Maksim Denisov | |
2024-05-27 | Fix headers in local_cas and bazel_network. | Maksim Denisov | |
2024-05-27 | Use common interface for stream dumping | Maksim Denisov | |
...in LocalApi and BazelApi. | |||
2024-05-27 | Use common interface for reading tree entries and leafs | Maksim Denisov | |
...in LocalApi and BazelApi. | |||
2024-05-23 | Execution APIs: Extract common implementation into separate library | Paul Cristian Sarbu | |
This reduces the code duplication between the local and bazel APIs and improves code maintainability. | |||
2024-05-23 | execution_api: Cleanup of includes | Paul Cristian Sarbu | |
2024-05-23 | bazel_api: Remove extra complexity in RetrieveToCasSplitted | Paul Cristian Sarbu | |
We can avoid doing extra work in converting between bazel digests and artifact digests by actually using the API interface. | |||
2024-05-22 | Avoid memory usage duplication | Maksim Denisov | |
2024-05-22 | Remove unused code | Maksim Denisov | |
2024-05-21 | Ignore corrupted blobs during transfer while reading. | Maksim Denisov | |