summaryrefslogtreecommitdiffstats
path: root/controller-api
Commit message (Collapse)AuthorAgeFilesLines
* Event entries have the highest int valueJon Marius Venstad2020-08-241-1/+1
|
* Revert "Revert "record when endpoint certificates have last been requested""Andreas Eriksen2020-08-122-5/+26
|
* Stick to junit for simple test.Henning Baldersheim2020-08-112-14/+7
|
* Revert "record when endpoint certificates have last been requested (#14026)"Arnstein Ressem2020-08-112-26/+5
| | | | This reverts commit 2489d302d50567e7f145c8aff971bb892c9ce87c.
* record when endpoint certificates have last been requested (#14026)Andreas Eriksen2020-08-112-5/+26
|
* Initial structure and functions (#13789)Amund Bergland Kvalsvik2020-08-105-2/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Initial structure and functions * Finsihed Cluster. Working on MetricsAggregator * WIP. Nearly fixed ClusterMetrics * Debugging getMetrics issues * Renaming and attempting to fix configServer issues * Added some necessary functions. Finishing ConfigServer * Finishing renaming and starting getting ready for impl * Fixed bindings * Finished pipeline. Added Metrics type * Implemented necessary methods to make it pass testing, no unit tests yet * Renamed versioning from metrics * Extracted reused functions to new helper class * Changed format and response structure of ProtonMetrics * Removed list of metrics name * fixed aggregation for proton metrics * updated aggregator to use cluster format and more aligned with metric format * added unit tests and resources * Added correct return object * fixed according to review. added second host. not tested * removes superfluous roles * Fixed ConfigServer to align with previous impl * Updated test to use 2 different hosts and clusters * Added processing to build proper JsonResponse for proton metrics * changed proton metrics format to be consistent * Moved response construction to api handler * Removed unused import. Removed superfluos name * Updated ConfigServerMock to match new ConfigServer * developing metrics test * added working unit test * updated metrics path to ignore instance
* BillingController deletes billing infoOla Aunrønning2020-08-062-0/+9
|
* Add unit testOla Aunrønning2020-08-041-3/+10
|
* Attachment as InputStreamOla Aunrønning2020-07-241-1/+2
|
* Allow restart filtering on cluster id and typeOla Aunrønning2020-07-222-1/+53
|
* Remove unused default implementationMartin Polden2020-07-141-4/+1
|
* Add instrument addressOla Aunrønning2020-07-092-5/+49
|
* Reduce logging from ResourceMeterMaintainerMartin Polden2020-07-081-0/+2
|
* Check if tenant has active deployments, instead of appsOla Aunrønning2020-07-022-2/+2
|
* Merge pull request #13777 from vespa-engine/mpolden/routing-control-weightMartin Polden2020-07-021-0/+1
|\ | | | | Fix routing control for weighted records
| * Fix routing control for weighted recordsMartin Polden2020-07-021-0/+1
| | | | | | | | | | When the weight sum for a record group in a region is 0, we have to remove the record itself to disable routing to that region.
* | Merge pull request #13756 from vespa-engine/olaa/propagate-error-messageOla Aunrønning2020-07-023-4/+39
|\ \ | |/ |/| Propagate error message when setting plan fails
| * Add PlanResult, wrapping optional error messageOla Aunrønning2020-07-013-3/+38
| |
| * Propagate error message when setting plan failsOla Aunrønning2020-06-302-4/+4
| |
* | Support duplicate regions within same global endpointMartin Polden2020-06-303-7/+21
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | To support duplicate regions within a global endpoint we create a combination of latency and weighted alias targets. In the following examples an application exists in `us-west-2`, `us-east-1a` and `us-east-1b`. Before this change global endpoints pointed directly to the zone endpoint: ``` (latency) ALIAS app1.tenant1.global.vespa.example.com -> app1.tenant1.us-west-2.vespa.example.com (latency) ALIAS app1.tenant1.global.vespa.example.com -> app1.tenant1.us-east-1a.vespa.example.com (latency) ALIAS app1.tenant1.global.vespa.example.com -> app1.tenant1.us-east-1b.vespa.example.com ``` After this change we introduce an additional level of names by creating a weighted record per region: ``` (latency) ALIAS app1.tenant1.global.vespa.example.com -> app1.tenant1.us-west-2-w.vespa.example.com |- (weighted) ALIAS app1.tenant1.us-west-2-w.vespa.example.com -> app1.tenant1.us-west-2.vespa.example.com (latency) ALIAS app1.tenant1.global.vespa.example.com -> app1.tenant1.us-east-1-w.vespa.example.com |- (weighted) ALIAS app1.tenant1.us-east-1-w.vespa.example.com -> app1.tenant1.us-east-1a.vespa.example.com |- (weighted) ALIAS app1.tenant1.us-east-1-w.vespa.example.com -> app1.tenant1.us-east-1b.vespa.example.com ``` Toggling global routing status now adjusts the weight (`0 = out`) instead of removing records as this simplified the code.
* Revert "Merge pull request #13726 from ↵Ola Aunrønning2020-06-2915-108/+671
| | | | | | | vespa-engine/revert-13715-olaa/billing-api-handler" This reverts commit 0dbbd3c3be2870681480e73f9cc491e349b06610, reversing changes made to 0a8b5894dfc442d661836fce4ddb6c870bcc0ec0.
* Revert "Add BillingApiHandler"Harald Musum2020-06-2715-671/+108
|
* Add BillingApiHandlerOla Aunrønning2020-06-2615-108/+671
|
* Add weighted alias typeMartin Polden2020-06-253-1/+109
|
* Support multiple types of alias targetsMartin Polden2020-06-244-43/+94
|
* andreer/verify cameo client in cd (#13600)Andreas Eriksen2020-06-192-2/+9
| | | | | | | * add policy and pathgroup for endpoint certificate request api * remove unused imports * suppress warning for @Beta api
* export billing package (#13633)Andreas Eriksen2020-06-181-0/+5
| | | | | | | | | * export billing package * update header Co-authored-by: Valerij Fredriksen <freva@users.noreply.github.com> Co-authored-by: Valerij Fredriksen <freva@users.noreply.github.com>
* allow users to delete trial tenants (#13625)Andreas Eriksen2020-06-186-0/+110
| | | | | | | * move classes to open-source repo * add PlanController to ServiceRegistry * allow tenant administrators to delete tenants if on trial plan
* Merge pull request #13619 from vespa-engine/bratseth/spare-capacity-maintainerJon Bratseth2020-06-181-4/+5
|\ | | | | Bratseth/spare capacity maintainer
| * Add SpareCapacityMaintainerJon Bratseth2020-06-171-4/+5
| |
* | Handle existing A record for config server LBMartin Polden2020-06-171-7/+20
| |
* | verify tenant creation with roles from auth0 (#13594)Andreas Eriksen2020-06-162-0/+6
| |
* | tenant creation for everyone in public (with restrictions/gated by flag) ↵Andreas Eriksen2020-06-113-12/+6
|/ | | | | | | | (#13538) * tenant creation for everyone in public (with restrictions/gated by flag) * always include feature flag value in user api Co-authored-by: Jon Marius Venstad <jonmv@users.noreply.github.com>
* Let only operators read deployment/v1 APIJon Marius Venstad2020-06-053-13/+5
|
* Merge pull request #13445 from vespa-engine/andreer/console-user-dimension-checkHåkon Hallingstad2020-06-032-0/+27
|\ | | | | add check on console user feature flag dimension
| * test for email type validationandreer2020-06-032-5/+26
| |
| * add check on console user feature flag dimensionandreer2020-06-021-0/+6
| |
* | Remove Cloud dependency from OsUpgraderMartin Polden2020-06-021-4/+0
|/
* Merge pull request #13400 from vespa-engine/jonmv/add-system-monitorJon Marius Venstad2020-05-273-0/+37
|\ | | | | Add SystemMonitor and report to it from VersionStatusUpdater
| * Add SystemMonitor and report to it from VersionStatusUpdaterJon Marius Venstad2020-05-273-0/+37
| |
* | Merge pull request #13404 from vespa-engine/olaa/add-billing-pathØyvind Grønnesby2020-05-271-1/+3
|\ \ | | | | | | Add billing/v1/billing to hostedAccountant path group
| * | Add billing/v1/billing to hostedAccountant path groupOla Aunrønning2020-05-271-1/+3
| |/
* | Remove the old Billing interfaceØyvind Grønnesby2020-05-273-28/+0
| |
* | Remove legacy billing codeØyvind Grønnesby2020-05-271-2/+0
|/
* only require rotation endpoints for prod zones (+ unit tests and fixes)andreer2020-05-261-1/+1
|
* Merge pull request #13286 from vespa-engine/mpolden/handle-missing-historyMartin Polden2020-05-181-1/+2
|\ | | | | Handle missing history event
| * Add new agent to API typeMartin Polden2020-05-181-1/+2
| |
* | Provision application roles and include in cfg deploymentMorten Tokle2020-05-181-1/+9
| |
* | Create application iam role serviceMorten Tokle2020-05-184-0/+55
|/
* Merge pull request #13265 from vespa-engine/olaa/invoice-manager-roleOla Aunrønning2020-05-175-5/+19
|\ | | | | Added hosted accountant role