Skip to content

v0.1.15

Latest
Compare
Choose a tag to compare
@romangithub1024 romangithub1024 released this 25 Jun 01:57
· 99 commits to master since this release

Changelog

63709f6 linked superuser blog post + OpenDev youtube demo
d4bb15e removed service model video
926ce16 removed thumbnail which was not used
7e28d62 new language picture with the new terminology
d208769 semantically correct definition of ServiceConsumer role - consume services, not bundles
9253660 don't print "criteria: null" for service in UI when clicking "Edit"
86f27b8 renamed Contract -> Service
346af7b renamed Service -> Bundle
6e43fc8 last change from depIds -> claimIds
8c6f8ec renamed Dependency -> Claim (including lang, CLI/API/UI, examples, scripts, images) part of #302 refactoring
2fb153b Retry last revision every "interval" in enforcer if there were errors during apply Also, print stack trace on panic Fixes #339
1dcf300 print stack trace on panic in actual state updater
37316ed Exclude sending http response from mutex under policy apply, policy delete and state enforce Fixes #344
5b6564f Make full lints always instead of starting from some revision
a64df00 Drop not anymore use gometalinter (lint-old) target from Makefile
0bba5b2 Drop new db layer experiments from master
2b7aebe Some more prototyping for new db layer
2ce5c5c Convert todo.txt in new db layer work to issue #341
36e210d Initial steps on db layer rework - planning and prototyping
a846a21 check object right before we add it to the policy, not after
8f40926 make lint-all now passes (fixed all govet and goconst)
d6b226d deleted gometalinter config
2429754 fixed goimports
ba5ddb1 supressed most of errcheck linter errors, the rest handled in the code
f60c0f9 use own ACLRule struct instead of aliasing to Rule, Fixes #343
a6a6943 uploading the same cluster does not result in an error, Fixes #342
31eb2b0 make sure we can apply aclrules+rules+clusters+policyobjects at the same time also add this scenario into smoke tests Fixes #340
10b5b40 Make lint make target depend on embed-ui due to the code generation
3b2cb7c Unset BUILD_NUMBER for goveralls exec (publishing coverage report)
a76eb6b CI: build before running lint to have webui generated
a1d5968 Instrument actions with basic metrics
4695d29 Rename Prom Handler to MetricsHandler
0b88067 Rename action.Base to action.Interface
8c0f655 Add missed comment on exported function
b413f09 Impl desired state enforcement duration collection
a8ee0f6 Enable enforcements counter and prom API metrics middleware
aea563a Enable /metrics api endpoint to report prom metrics
65ffa87 Implement prometheus middleware for catching API metrics
29efb89 Add prometheus go client directly and update dependencies
ae8f91e Apply goimports
ff842f0 Enable goimports for better imports structure
7d9e50c Switch to golangci-lint instead of the slow gometalinter
db34832 Add golangci-lint config
445eda7 Remove obsolete comments in server.go
4facbff Fix linter in desired state object
832ce0c Remove fixed todo about saving desired state
90a80e9 Save desired state for each revision in DB
556ebf7 Fix new revision creation by using updated desired state
928b613 Fetch the latest k8s from 1.10 branch
ad0f749 state enforce api handler semantics change + DELETE changed to POST
45e75b2 #318 - big rework working with revisions - store revision on policy update/delete/enforce - enforces just takes a revision and applies it
b074321 removed leftover bool variable in the constructor of PolicyResolution
fe00d88 removed GetFirstRevisionForPolicy
e8beec0 fixed how EdgesOut was used - no longer used in actual state fixed UI for actual state as well
b51c6a5 do not use DependencyInstanceMap in desired/actual state as a side benefot, reworked how conflicts in component instances are handled
38d3e4a made all calls to calculate desired state more explicit
72ef95b removed EdgesIn all together (not required anymore)
7cb3bfa renamed method to avoid confusion with EdgesIn
e26a011 renamed var to avoid confusion with EdgesIn
acc9c24 fix for install script --with-examples
0f8a7cf updated most packages to address vulnerabilities (used npm audit)
33cdda2 fixed project dependencies + lowercased logrus
643d549 Remove some more deps not used directly
938575a Remove some dependencies that aren't directly used
ec8a780 Remove no more used cors dependency
205d63e Switch to the latest 1.10 release branch for k8s
9460e67 Cleanup glide
81bf4f8 Add .aptomi-install-cache to git ignore
cdf2f7e Fix status fetching for unsupported strategies
2a8b0ce Fix imports ordering
a4610c8 Fix status fetching for unsupported objects and strategies
82c33af Fix k8s status usage after upgrading to new k8s and helm
05ffc58 Switch to the 2.9.1 tiller
1497e91 Fix ensureNamespace to not fail if namespace created in background
0b918d1 tools/setup-apimachinery.sh no more needed
285aee5 First steps for switching to helm 2.9.x
5940a05 Update and fix dependencies
460f14a fixed a bug in dependency status - we should skip a component instance instead of returning
6be0313 if dependency is not Resolved, set Deployed/Ready to false
16eea63 retrieve dependency resources in parallel (speed up UI)
478bdea no need to check for nil codePlugin anymore
0b4ffd1 removed unsyncronized access to actual state from plugins
637f196 actualStateUpdater supports noop mode for smoke tests
12168a4 action should use context.EventLog to write log messages
87e5a4f implemented endpoints in ActualStateUpdater, checked with aptomictl
2105994 empty implementation of actual state updater
e83bcc1 faster status for dependencies (save 1 API CALL)
1cf8f8e better handling of panics when executing action plan concurrently
54d799b fixed dependency status retrieval (in parallel)
c51723e made action execution parallel, with concurrently limited by "enforcer.MaxConcurrentActions"
602930e refactored actual state updater (prep for parallel action execution + separation of endpoints)
c7c95e4 removed commented out fmt.Println code
fb2ef9c Fix linter
797f548 Fix typo in endpoints: result of fmt.Errorf call not used
e56e41e Enable readiness check for StatefulSet as well
89b0f6c Fix typo in endpoints processing error
7f01fd4 Stop retying failed endpoints fetch as it'll be retried during next enforce
e5094ca Merge remote-tracking branch 'origin/master'
81ca77b fixed UI to show default namespace
aab9a3d switched example to a single cluster and setting namespace via policy - changed gen cluster - changed example - changed docs - changed smoke tests
f29aa37 simplified statement (linter fix)
af90cc3 returned lost line during the refactoring
42692ca changed contextual data for Cluster -> Target
6e133e0 dealt with default NS
71fabbf Don't generate endpoints action if component deleted
bbde8f4 fix component instance validation to use cluster NS
6e8d403 Remove obsolete todos in endpoints code
6d32b3c Set bigger timeout for getting helm charts from repo
44a8601 big rework of target label, allowing to specify deployment namespace in policy Fixes #278
b6cee16 use String() instead of ToString()
2d028eb switched 'cluster'->'target' label for specifying placement during deployment Fixes #303
387d3ba do not allow modification of clusters via API. Fixes #253
1cc5df2 increased write timeout on the server side to 5 min - the client still uses 60 sec timeout by default
9cbc53b default client 15s timeout is often not enough to receive a reply from the server (e.g. receiving endpoints)
fd417f4 switched from wait-attempts to wait-time, fixed #331
70cb785 just some stylistic improvements
63d10fa nocyclo for buildActions(). this function is complicated
68e7616 simplified "if" condition
e83d3e6 correct mechanism for keeping endpoints up-to-date for component instances - now Aptomi will correctly retry to retrieve endpoints, if update/endpoints action failed in the previous revision - Fixes #330
133f5d9 Increase LB address waiting timeout in k8s/endpoints to 15 minutes
41c54e8 Fix lint in k8s/endpoints code
9a326a5 Remove code dup in Service type LB endpoints support
c3884e8 Initial impl for Service type LoadBalancer support for endpoints

Docker images

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