aboutsummaryrefslogtreecommitdiffstats
path: root/controller-api
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * Give operators and supporters invoice read privilegesOla Aunrønning2020-05-151-2/+5
| |
| * Added hosted accountant roleOla Aunrønning2020-05-155-5/+16
| |
* | Change attribute nameJon Marius Venstad2020-05-151-1/+1
|/
* Merge pull request #13228 from vespa-engine/ogronnesby/remove-tenant-costØyvind Grønnesby2020-05-144-94/+0
|\ | | | | Remove the TenantCost interface and the tenant cost API
| * Remove unused REST APIØyvind Grønnesby2020-05-131-2/+0
| |
| * Remove the TenantCost interface and the tenant cost APIØyvind Grønnesby2020-05-123-92/+0
| |
* | Send OS upgrade budget in applicable cloudsMartin Polden2020-05-132-2/+11
| |
* | Make Cloud accessible to controllerMartin Polden2020-05-131-0/+4
|/
* Extend invoice management path groupOla Aunrønning2020-05-121-1/+1
|
* Merge pull request #13166 from vespa-engine/bratseth/propagate-cluster-infoJon Bratseth2020-05-069-1/+212
|\ | | | | Bratseth/propagate cluster info
| * Final and unmodifiableJon Bratseth2020-05-062-7/+7
| |
| * Propagate cluster infoJon Bratseth2020-05-069-1/+212
| |
* | Add hashCode and equalsHarald Musum2020-05-031-0/+17
|/
* Merge pull request #13124 from vespa-engine/olaa/cost-of-periodOla Aunrønning2020-04-302-3/+23
|\ | | | | Allow getting tenant cost of any period
| * Allow getting tenant cost of any periodOla Aunrønning2020-04-302-3/+23
| |
* | Remove dead codeHarald Musum2020-04-301-4/+0
|/
* Merge pull request #13102 from ↵Martin Polden2020-04-291-1/+1
|\ | | | | | | | | vespa-engine/hmusum/default-implementation-of-method-to-be-removed Default implementation of unused method to be removed
| * Default implementation of unused method to be removedHarald Musum2020-04-291-1/+1
| |
* | Add invoice management path groupOla Aunrønning2020-04-291-1/+4
|/