00743c425c
Add configurable logging levels, selected from command line argument ( #12 )
...
* [config,parseargs] Accept v/verbose command line argument
* [parseargs] lowercase program name
* [logging] Log messages based on command line argument
* [readme] update usage
2019-05-16 21:59:40 +01:00
ed6550e134
[sync] use listObjects and show count of files uploaded at end
2019-05-16 16:09:32 +01:00
74be5ec1ac
[awssdk] add listObjects
2019-05-15 07:06:10 +01:00
64bf42921d
[awssdk] Typo/rename class Throp* => Thorp*
2019-05-14 20:14:08 +01:00
11cbcb2312
Use logging in place of println
2019-05-11 20:18:55 +01:00
6761fb0ade
[log4j] Configure logging level
2019-05-11 19:59:09 +01:00
0931f82414
[sync] remove unneeded for-comprehension
2019-05-11 06:26:23 +01:00
5b397ce181
[s3client] upload returns S3's md5hash of the uploaded file
2019-05-10 22:35:01 +01:00
bc1bffc345
[awssdk] Rewritten and simplified AWS SDK interface
2019-05-10 19:35:35 +01:00
4c1cf89d51
Consistent logging format
2019-05-10 08:52:39 +01:00
27d1d1b99f
[s3metadataenricher] remove quotes from remote hash
2019-05-10 08:39:18 +01:00
be266e0d41
[s3uploader] simplify logging
2019-05-10 08:29:59 +01:00
b61499ed8f
[reactives3client] remove logging
2019-05-10 08:24:40 +01:00
c93bebb1e5
[reactives3client] handle NoSuchKeyException
2019-05-10 07:57:53 +01:00
1944d6620c
[reactives3client] objectHead response okay then return Some
2019-05-09 22:50:15 +01:00
3eddc09a20
[catsios3client] Extract as trait
2019-05-09 21:11:46 +01:00
69029730e2
[reactives3client] Remove try with no catches
2019-05-09 18:47:52 +01:00
232ea40be6
[reactives3client] add console logging
2019-05-09 18:46:25 +01:00
e43b7dc0e3
[s3uploader] implement with (basic) test
2019-05-09 18:34:17 +01:00
befd6975fa
[s3metadataenricher] rename intermediate function
2019-05-09 18:33:48 +01:00
6af5b8cafc
[keygenerator] Extract as a trait
2019-05-09 18:33:29 +01:00
b348f18142
[s3client] Add upload method
...
Add DummyS3Client to help tests
2019-05-09 18:32:44 +01:00
e8a656ae4c
[sync] rename type aliases to MD5Hash and RemoteKey
2019-05-09 18:29:42 +01:00
ebec3b1564
[s3uploader] Extract as trait
2019-05-09 17:37:06 +01:00
7d688954f7
[uploadselectionfilter] implement with tests
2019-05-09 17:34:17 +01:00
5090a78baa
[uploadselectionfilter] Extracted as trait
2019-05-09 16:55:57 +01:00
86a53bf712
[awssdk] Move AWS SDK wrapper and trait to seperate package
2019-05-09 11:50:59 +01:00
e75b2a4892
[s3metadataenricher] enrich with metadata when remote exists returns metadata
2019-05-09 08:45:57 +01:00
df0df49624
[s3metadataenricher] remove putStrLn
2019-05-09 08:29:18 +01:00
4e2729ae26
[reactives3client] handle key not found
2019-05-09 07:41:50 +01:00
7af4004c75
[s3client] objectHead returns an IO[Option[...]]
...
If the remote file is missing then return None.
S3MetaDataEnricher.enrichWithS3MetaData now returns an IO[Either[File,
S3MetaData]]. If objectHead returns None, the this returns the file,
otherwise, the Some[Hash, LastModified] from objectHead is used to
create the S3MetaData as before.
2019-05-09 07:11:27 +01:00
9107e6f3eb
[Reactives3client] use for-comprehension
2019-05-08 13:00:03 +01:00
837ab362c3
[Reactives3client] use S3CatsIOClient
2019-05-08 10:05:30 +01:00
387904d1af
[ReactiveS3Client] Added
2019-05-08 08:37:45 +01:00
ae3243ad21
[sync] Convert to a class
2019-05-08 07:06:58 +01:00
c5044e2ff7
[s3metadataenricher] generate key for file and stub headobject
2019-05-08 07:03:11 +01:00
b87495cfb5
Replace use of Path with use of File
2019-05-07 22:36:33 +01:00
04b5d4eded
[s3metadataenricher] extend S3Client
2019-05-07 22:16:09 +01:00
c948f70b99
fix compile errors
2019-05-07 20:40:48 +01:00
a500e1f9d3
[config] Use Bucket type
2019-05-07 20:33:55 +01:00
605e62b957
[sync] add type Bucket
2019-05-07 20:32:05 +01:00
f618d73fa2
[s3client] Create triat
2019-05-07 20:30:54 +01:00
6eab5ada1e
[s3metadata] extract to file
2019-05-07 17:53:18 +01:00
9d3c124b6e
[S3MetaDataEnricher] Extract as trait
2019-05-07 17:53:18 +01:00
326fd7d4cc
[LocalFileStream] extract as trait
2019-05-07 17:53:18 +01:00
f9b3840a67
[sync] reformat to enhance ide code folding
2019-05-07 08:18:08 +01:00
21b48b1089
[sync] flesh out s3metadata fields
2019-05-07 07:23:38 +01:00
1982686e00
[sync] log files found
2019-05-06 22:37:16 +01:00
2153f109aa
[sync] sketch out rest of sync process
2019-05-06 22:09:38 +01:00
294966759c
[sync] streamDirectoryPaths (recursivly)
2019-05-06 19:37:42 +01:00