Commit Graph

12 Commits

Author SHA1 Message Date
Nicolas JUHEL
573af6ce3a Package AWS :
- Config Model : add a config model with a golib RouerStatus Config Model to use a AWS connection for API with a request status health check
  - Config Interface : add function GetAccessKey to retrieve the accesskey value currently used into the current connection
  - function Walk (Object, version, ...) : fix bug with pointer of string not initialized

Package Config :
  - interface Component : add status router pointer into the Init function to allow used a global router status for all component status registration as router status component

Package Status :
  - move Status Config as an sub package of Package Status

Package Errors :
  - add CamelCase const

Package Logger :
  - fix following bump dependencies

Global :
  - bump dependencies
  - change init of errors files : change function never call vy panic to prevent an error code collision
2022-09-13 12:31:04 +02:00
Nicolas JUHEL
55aa0c3637 Package AWS:
- Bucket : add function Walk based on list but run a given function for each found bucket
- Object : add function Walk & WalkPrefix based on ListPrefix to run a given function for each returned object
- Object : add function WalkVersion & WalkVersionPrefix based on ListVersion to run a given function for each returned object version
Package logger:
- Fix bug with compat : a nil error not clean when sent to logger
Package Context:
- Fix bug with context/config : the load key return an atomic value instead of the interface stored
2022-08-10 11:11:34 +02:00
Nicolas JUHEL
f0a5a894f2 Pakcage AWS :
+ Add Tag function for object
  + Add Lock function for object
  + Add Attributes function for object
  + Add lifecycle function for bucket
  + Add function to get client in AWS interface
Package Certificates :
  + Add clean certifs function in config
Bump dependencies
2022-08-03 12:13:15 +02:00
Nicolas JUHEL
48b47ec97e Package AWS :
- fix missing commit : version function
- fix missing commut : deleteall function
- add function to load bucket replication configuration
- add AWS feature to create new client for a config based on current client
- add Config feature to change the credentials of current config
2022-04-22 14:37:59 +02:00
Nicolas JUHEL
f073bca2d3 Package AWS :
- Fix issue #136 :
  - add function ForceSignerOptions to pass options funct to signer
  - if not option exist, use default signer v4, else specify the options function list to the new signer
- fix error with multiple ptr identifier on model
- add function to list and cancel multipart uploads
- add function to list, get and delete version object
- add function to delete all objects following the S3 API DeleteObjects function (to send array of object key / version) in one request

Package Config :
- modify component interface :
    - add cpt as custom function parameters to prevent new component still not stored when running custom function
    - re-order mutex on start / reload process

Change :
- Bump dependancies
2022-04-20 12:21:26 +02:00
Nicolas JUHEL
312ce42dc3 Fix issue #132 2022-03-29 08:36:19 +02:00
Nicolas JUHEL
1249f319bc Bump dependancies
- AWS SDK to release v1.0.0
  - other dependancies
Fix Packages :
  - AWS : fix validator function, rules, config model
  - Certificates : fix func NewFrom
  - HTTPServer: fix IsRunning
Fix other :
  - Fix CI/CD job to prevent alert on files modified
  - Fix missing licence comment header
2021-01-25 08:33:18 +01:00
Nicolas JUHEL
cbc0a35ea7 Fix Issue #73 and other bugs:
- Boolean value for EndpointOption
- Optimize CustomConfig IsHTTPS function
- Bucket Creation return
- Bucket Create contraint Region Location
- CustomConfig missing Signing Region
- some AWS errors

Fix Github/Action :
- Add some linter/test as blocked task
2020-11-25 11:51:20 +01:00
Nicolas JUHEL
0290b217c5 Bump aws to release v0.29.0 2020-11-02 10:30:45 +01:00
Nicolas JUHEL
3671701836 Fix linter + working dir for test 2020-10-02 12:51:23 +02:00
Nicolas JUHEL
94f90d7e22 Bump to sdk aws go v2 at release v0.26.0...
Bump dependancies
Refactor / Fix aws to work with sdk-aws-go-v2 at release v0.26.0...
2020-10-02 12:43:08 +02:00
Nicolas JUHEL
8def6ec437 PKG Aws : add aws package to simplify uses of aws sdk + aimplify custom config for custom endpoint or region like use of minio server 2020-09-11 13:56:17 +02:00