Aditya Manthramurthy
6d3925d597
Fix XML generator tests ( #187 )
...
- Differences in quoting of XML content does not impact the equality of
XML docs, so we parse generated XML docs and compare for equality.
2023-04-26 11:18:07 -07:00
Aditya Manthramurthy
d59f45fec4
Hlint fixes ( #173 )
...
* Hlint fixes
- Will require major version bump as some types were changed from data
to newtype
* ormolu fixes after hlint
2022-05-27 14:33:05 -07:00
Aditya Manthramurthy
bdac380c77
Replace protolude with relude and build with GHC 9.0.2 ( #168 )
...
- relude is a better and more commonly used library
- Add compiler warnings and fixes
- Update stack lts to 18.24
- Add explicit deriving strategies
2022-02-11 13:48:08 -08:00
Aditya Manthramurthy
b8cc1e57ee
Update formatting with latest ormolu 1.4 ( #163 )
2021-03-03 16:11:45 -08:00
Aditya Manthramurthy
73bc5b64a0
Fix XML generation test for S3 SELECT ( #161 )
...
- Test was failing because of non-unique ordering of CSV properties. It is fixed
by sorting the CSV properties before serialization.
2021-03-03 15:44:12 -08:00
Aditya Manthramurthy
23fecbb469
Update code formatting and update dependencies (unliftio, protolude) ( #152 )
...
* Format code with ormolu
* Use latest unliftio-core
* Use latest protolude
2020-06-14 10:06:41 -07:00
Aditya Manthramurthy
b39127778e
Add oiUserMetadata to ObjectInfo to return user metadata ( #132 )
2019-07-24 13:30:03 -07:00
Aditya Manthramurthy
04d1193201
Switch to more performant map data type ( #131 )
2019-07-24 12:52:18 -07:00
ebozduman
af3b75e29e
MinIO & min.io replaces Minio & minio.io respectively ( #114 )
2019-04-13 00:25:25 +05:30
Aditya Manthramurthy
72bf08129c
Add support for S3Select API ( #108 )
2019-03-08 15:54:36 -08:00
Krishnan Parthasarathi
44bbd66719
Improve initializing ConnectInfo ( #101 )
...
- Remove ConnectInfo's Default instance
- Add support for reading from well-known credential files and
environment variables
2018-06-29 18:28:17 -07:00
Krishnan Parthasarathi
7564cbd514
Infer XML namespace using connectHost ( #96 )
...
While GCS is S3 v4 compatible, it uses a different xml namespace url
than AWS (and Minio).
2018-06-07 18:28:59 -07:00
Harshavardhana
d0ddd7f057
Add setConfig/getConfig API ( #95 )
2018-06-07 16:20:43 -07:00
Harshavardhana
0cda51804b
Add admin heal API ( #94 )
2018-06-05 15:19:03 -07:00
Krishnan Parthasarathi
952c0b0342
Add getServerInfo admin API ( #91 )
...
- Add Admin API helper functions like buildAdminRequest
2018-05-31 18:06:24 -07:00
Aditya Manthramurthy
d25c7ef1dc
Drop dependency on exceptions lib ( #87 )
2018-05-14 06:48:07 +05:30
Aditya Manthramurthy
522d49452f
Remove dependency on text-format lib and fix bucket policy test ( #86 )
2018-05-11 17:48:34 -07:00
Harshavardhana
37940ad170
Add putObjectOptions for PutObject ( #71 )
2018-01-16 14:29:17 +05:30
Aditya Manthramurthy
0d8f5c08e8
Add Bucket Notification APIs ( #59 )
...
- Adds get, put and remove operations
- Also adds more sections to the haddock API doc to make it more
friendly.
2017-10-25 08:43:35 +00:00
Harshavardhana
c26af265ec
Add ListObjectsV1 API support ( #66 )
...
This is added for legacy requirements
2017-10-15 22:38:06 -07:00
Aditya Manthramurthy
8456034d9e
Fix concurrency bug in limitedMapConcurrently ( #53 )
...
Also simplifies implementation using lifted `bracket_` and async
routines, instead of lifted control operations like `liftBaseOp_`
Adds a test.
2017-08-21 11:52:06 -07:00
Aditya Manthramurthy
e8a75a8fdb
Add bucket and object name validation ( #45 )
2017-03-28 16:27:23 +05:30
Krishnan Parthasarathi
b333ed6345
Make MinioErr flatter and make examples work. ( #25 )
2017-03-09 16:51:56 +05:30
Krishnan Parthasarathi
7be42dd011
Add copyright header to all source files. ( #20 )
2017-03-02 16:01:59 +05:30
Krishnan Parthasarathi
4ec362918e
listIncompleteUploads returns upload size like other SDKs ( #15 )
2017-03-01 17:01:52 +05:30
Aditya Manthramurthy
99d9879cb5
Rename types ( #12 )
...
* Rename PartInfo -> PartTuple
* Rename ListPartInfo -> ObjectPartInfo
2017-02-28 18:14:16 +05:30
Krishnan Parthasarathi
abdc9fe320
Use bucket region cache to minimize getLocation requests ( #3 )
2017-02-25 16:42:23 +05:30
Aditya Manthramurthy
e4e2576c74
Add copyObject API: ( #5 )
...
* Performs server side copy of an object by creating a new object that
is a copy of an existing object or part of an existing object.
* The user may specify an object on server of any size, and optionally
specify a byte range to only copy a part of the object.
* Copy conditions are also supported.
2017-02-23 14:04:08 +05:30
Aditya Manthramurthy
f26fbc82a7
Refactor error types returned by the library
2017-02-13 16:03:42 +05:30
Krishnan Parthasarathi
5f1ee7fc67
Implement list object parts of an ongoing multipart upload.
2017-02-13 16:03:42 +05:30
Krishnan Parthasarathi
512c455fde
Add unit test for parse completemultipart upload response
2017-02-13 16:03:42 +05:30
Krishnan Parthasarathi
41d86e86ff
Add listIncompleteUploads s3 api.
2017-02-13 16:03:42 +05:30
Aditya Manthramurthy
a12fa8a077
Align imports
2017-02-13 16:03:42 +05:30
Krishnan Parthasarathi
0d9235b86a
Add unit test for parseListObjectsResponse
2017-02-13 16:03:42 +05:30
Aditya Manthramurthy
2817d4654d
Fix warnings
2017-02-13 16:03:42 +05:30
Krishnan Parthasarathi
06214c1cae
Clean up xml gen/parsing unit tests
2017-02-13 16:03:42 +05:30
Aditya Manthramurthy
2070a8e13f
PutObjectPart and CompleteMultipartUpload with basic tests
...
- Functional tests are refactored
2017-02-13 16:03:42 +05:30
Aditya Manthramurthy
aabcf3dfec
Restructure tests
2017-02-13 16:03:42 +05:30
Krishnan Parthasarathi
19eda8622f
Add unit-tests for parseLocation in XmlParser.Test
2017-02-13 16:03:42 +05:30
Krishnan Parthasarathi
1f73204e38
tests: Move tests to modules corresponding to modules (unit) being tested
2017-02-13 16:03:42 +05:30