* Adding CDN metadata functions
* Fixing compile error
* adding shim for downloading code from other CDN
* using events in the diff struct
* Implementing mergeDB
* Op => EventOp
* modifying olympus DB information
to connect to athens DB
* Op => EventOp
* making loops continue instead of bailing out
also adding logs on errors
* Adding TODO tests
* redesign
* add codecov
* move env vars to env section
* remove vet since it is integrated into go test
* forgot global
* covermode atomic
* move minio vars to before_script and hope for the best
* try to see if it was a random error
* basic structure
* added olympus endpoint for fetching log
* broken test
* added backing buffalo job
* slightly reshuffled, todo more shuffling
* reshuffle more
* breaking things up
* more breaking up
* hook to 101
* added redis to docker compose file
* working!
* a
* build fix
* first batch of changes towards new arch"
* first batch of comments resolved
* override for olympus endpoint
* styling
* osFs fix
* fixed in memory storage
* in-mem storage and test (#166)
* tests and partial implementation, failing
* Implementation complete for FS only
afero.MemMapFs is not working
* fix to allow use of MemMapFs in tests
* use encoding/json instead of gob
* no need to keep test data file
* add comment regarding use of json vs gob encoding
* Incorporate Review Changes
+ fix ordering in test require.Equal
+ make function calls that only return an error more compact
+ reduce map lookups in LookupPointer func
+ clean up old comment
* no longer defer f.Close
* defer close on open files
* add rdbms support for cdn metadata storage
* move cdn metadata model to the metadata pkg
* simplify get
* add mongo saver and test
* remove 'stutters'
* change default table name
* missing cdn metadata pkg rename
* using the right DB names in the proxy database file
* using the right DB names in the olympus database file
and the right ports
* using the right DB name in the docker-compose
* adding mongo URL to the buffalo env file
* adding mongo URL to the proxy env file
* updating port for the proxy DB
* updating DB schemas for olympus and the proxy
* making the readme a little more up to date
* Making code generic between athens and olympus
* removing support in athens for "registry mode"
that is now olympus :)
* fixing compile err
* add a test target for the makefile
* add basic mongo implementation of pointer registry
+ includes LookupPointer only for now
* complete implementation of mongo pointer registry
+ add RegiteredEventlog type for storage in registry
+ add unique index with key 'deployment' to match struct tag
+ add SetPointer implementation
+ update LookupPointer to use new struct type
* mongo pointer registry tests
+ test creation of new Registry
+ test for addition, update and missing entry
* use keyed fields for go vet
* Adding a pointer registry interface
For use in storing event log pointers for 1 or more Olympus deployments
* Adding a merger strict
* Adding a storage deleter
The deleter will be used in event log delete operations
Reminder: delete operations will be exceptional (i.e. security
vulnerabilities)
* Adding a reference to a deleter in the merger
* adding docs to the event log merger
* adding docs to the event log pointer registry
* Adding an ErrNotFound error to the CDN package
* Adding a CDN deleter
* Adding more docs
* Making the merger use CDN actions only
* Removing the CDN type
It's not used anywhere
* Starting to build the merger
* remove out-of-scope changes
They'll be added as appropriate in follow-ups
* Add .info to upload payload
everywhere else as well
+ Upload payload includes Info
+ CLI uploads `version.info` as blob to storage
+ Getter and Saver methods updated for all storages implemented
+ Migration updated to include Info column
+ Tests no longer check RevInfo, now checking for Info same as Zip
+ Updated docs
* newline in .fizz
* change RevInfo.Info to []byte
+ change to []byte instead of io.Reader
+ adjust tests to check for info byte contents directly
+ add error check for minio client GetObject `pkg/storage/minio/getter.go`
* endpoint for cache misses from proxies
* upgrade mongo to mitigate docker/for-linux/issues/58
allow running tests against postgres
* add test for cache miss route
* replace fs operations with afero
* fix goget test
* fix test
* fix test again...
* remove empty lines
* fix merge
setupTmp - return 3, not 2 values
* just to start new travis build
got The command "go get github.com/golang/lint/golint" failed and exited with 1 during . I hope it was a temp problem.
Eventlog is append-only log.
Will be used in
- Olympus as a log of backed modules
- Proxy as a log of backed modules
- Proxy as a log of registered cache misses (clearable after read)
Multiple backing storages should be supported, for now, mongo is implemented.
Preparation for Olympus reader, which is remote reader of Olympus event log, is in place without implementation, this implementation is for proxies to read logs from Olympus, and Olympus instances between each other (Pull synchronization)
* Add rdbms backend
* Remove unused imports
* Fix ci
* Fix problems
* Now test works
* Fix lint errors
* Change name to more descriptive
* Add logic to support rdbms storage
* Update to new newStorage logic
* UI: Start UI
* link to github auth
* save point
* simplify the UI a lot
* make a separate renderer for proxy vs registry
* get rid of debug
* update deps
* remove unneeded assets
* gomod parsers tests
* gomod parsers tests. combining with #71
* gomod parsers tests. make it simpler
* gomod parsers tests. go fmt
* gomod parsers tests. add new case
* gomod parsers tests. add new case