Skip to content

v0.1.14

Compare
Choose a tag to compare
@romangithub1024 romangithub1024 released this 30 May 17:54
· 222 commits to master since this release

Changelog

be921fa fixed an issue with map of endpoints being not initialized
f916798 if dependency is not deployed, it's logical to report that it's not ready either
10fb357 fixed bug with endpoints getting overwritten
a249fc7 replaced some panic() with log.Fatal() to avoid printing stacktraces - also, fixed minor spelling errors
941587d use dependency in rules, uppercase Service and Dependency
05c28ca fmt typo
3e68558 added test for allocations keys
88c19f2 use spew to dump objects into logs
f55d9ff better error reporting - show object names with NS when validating policy
c55f237 final logging restructuring: replaced bool -> AddConsoleHook in event log - also, server writes logs on Info vs. Debug level based on debug=false/true
ea9769d logging restructuring + fixed a bug in merging log records - reviewed/removed method WithFields - careful review of NewErrorWithDetails usages and passed params/details - fixed a bug with merging log records and printing to console - lowercased errors in the engine - checked logs manually to verify that everything is correct
93cf988 added NoFields() instead of WithFields(Fields{})
80074d0 got rid of eventlog.LogError()
78b0f81 LogWarning is no longer needed
8227802 renamed files into hook_ for consistency
c8bf00d added fixedFields instead of attachedObjects
d8e8563 only attach dependency, contract and service to log entries
dcfddb3 removed log field and IsLog() from event log
08fc2f8 implemented "state enforce" and reworked waiting for revisions, fixes #314 - state enforce is implemented, similarly to policy apply/delete - state enforce supports noop and wait flags - state enforce can only be performed by domain admin - policy apply/delete and state enforce always wait for specific revision - specific revision to wait for is returned in PolicyUpdateResult - no longer relying on first policy revision
390f957 Fixed #328 - rare smoke test failures - the problem is that append to actionPlan.Actions was not synchronized, so sometimes it resulted in nil entries being added to the slice
1833d62 smoke test script prints last 100 lines of server log in case of failure - easier to debug
1cbc26a attach/detach actions affect status of specific dependencies instead of all dependencies Fixes #324
aee1e41 print full stack trace on client/server panics
8ac28fb switched to coreos/bbolt, supported version of Bolt DB
0cd4493 more consistent logging through hookconsole
f86cb1a fix linter
5742099 fixed #321 - components in actual state don't get rewritten anymore
4b6b84f changed logging to console (removed hook_logger)
0560003 support tracing for the server (see 'go tool trace') - stress script also supports TRACE_PROFILE env variable
fcea606 stress.sh script supports DB and CPU_PROFILE options - DB specifies existing db.bolt file (allowing to start from non-empty db) - CPU_PROFILE specifies where to write cpu profiling information
f322443 server supports --cpuprofile to produce CPU profiling info (pprof)
82dd4c2 stress test script which makes a lot of policy modifications (new generations)
4923297 fixed a major issue with duplicate rules and dependencies - got rid of GlobalRules and GlobalDependencies all together - added test which checks that policy.AddObject idempotent - added test for policy.RemoveObject
656c1f3 fixed smoke test script not to fail when grepping for errors in server logs
2690cef grep for error messages in server log & fail smoke tests if there are any
c1b16a6 updated error message to be less scary
a266506 call appendData only on fully initialized components (don't call on empty)
94fc8bb better comments while appending data for resolved component instances
bf249e6 Switch to latest spark chart version to fix permissions issue on newer K8s cluster
61411b4 another test fix for endpoints
9c24d51 fix tests for endpoints
d643900 fix linter
e656370 Language doc revisions
1140c3e workaround for endpoints
38cd6cd Add initial readiness check support for Deployments, Services and PVC
f6a361a Extend code plubin interface with status method for readiness checks
f1b3492 Shorter and more clear names for dep status
8949c37 Update dependendencies
94abd02 fixed UI to show dependency resources using new API
5fe20ba fixed UI to show dependency endpoints using new API
70da1e8 fixed UI to show dependency state using new API
d20d48a do not log actions during benchmark
d12181f removed the old method for getting dependency status
66acb7b implemented "dependency endpoints", Fixes #298
ae5aaff added TODO to use common.Format() in the future
6ac9a06 smoke tests for "dependency status --wait"
8035928 removed empty lines
6994d71 no need to return error from textMarshal
a6123bc linter fixes
101985a implemented "dependency status" with --wait and --state
9b20a7c initial implementation of "dependency status"
aa1d060 implemented --noop and showing resolution logs in client - fixes #313 (now users can test policy changes without applying and see logs) - fixes #293 (--noop and action plan) - fixes #295 (always comparing desired states on resolution)
86cc4d2 implemented action plan (PlanAsText) -> pretty string format, prep for #293
25898f0 do not generate endpoints action for attach/detach
5e32bee linter fix
4c55f92 large rework of revisions/apply to avoid global revision 'error' status Fixes #292
63bb766 backend part for issue 292 (avoid global error status for revisions)
1b16ba3 fixed progress to show correct numbers for console progress bar (instead of +1)
0d215fe make action.WrapSequential more explicit in unit tests
4e3a68f everything is ready for parallel action execution
79da9ef fixed 'make test-race'
f6d3092 added todo to show dependency status in CLI
816f6df added test for service sharing (do not generate duplicate actions) also, do not generate endpoints actions for non-code components
c109332 introduced action plan with a graph of actions, Fixes #290
d0e1572 comment fix
6e62c96 typo
bed7356 switch from global policy resolution errs to dependency-local, Fixes #291
eee54ce updated comments for policy resolver
69903b5 fixed a bug when server would block when another policy change is pending (Fixes #274) - stupid bug as default channel size is 0
efa02a9 noop plugin doesn't hang forever on validation and cleanup (useful for testing with noop)
85e5b64 help for all commands starts with upper case letters
6646b89 typo in help for "aptomi server"
a8103e5 improved error reporting, Fixes #285
7b64f5b bumped min version for go validator
a321583 made all pipelines triggered manually
987404e another fix for install script (affects '--with-example')
d7b20e2 fixed install script

Docker images

  • docker pull aptomi/aptomictl:0
  • docker pull aptomi/aptomictl:0.1
  • docker pull aptomi/aptomi:0
  • docker pull aptomi/aptomictl:0.1.14
  • docker pull aptomi/aptomi:0.1
  • docker pull aptomi/aptomictl:latest
  • docker pull aptomi/aptomi:0.1.14
  • docker pull aptomi/aptomi:latest