summaryrefslogtreecommitdiffstats
path: root/configserver
Commit message (Collapse)AuthorAgeFilesLines
* Add test dependency for application to get all test depsgjoranv2018-07-251-0/+7
| | | | .. that aren't provided runtime in jdisc.
* Add one more zone to set where we should load minimal set of config model ↵Harald Musum2018-07-191-1/+1
| | | | versions
* Split out code to find versions to load into a methodHarald Musum2018-07-191-18/+21
|
* Move redeployment when bootsrapping logic to boostrap classHarald Musum2018-07-192-59/+64
|
* just exit on out of memoryArne Juul2018-07-181-1/+1
| | | | | | * asking java to fork 'kill -9 %p' will often fail with "os::fork_and_exec failed: Cannot allocate memory (12)" message. * instead, use a newish option (from JDK 8u92) to just exit
* Delete expired sessions in all statesHarald Musum2018-07-171-1/+1
|
* Merge pull request #6391 from vespa-engine/hmusum/delete-expired-remote-sessionsHarald Musum2018-07-167-21/+76
|\ | | | | Delete expired remote sessions
| * Delete expired remote sessionsHarald Musum2018-07-167-21/+76
| | | | | | | | For now, only delete in CD
* | Fix javadocHarald Musum2018-07-161-1/+1
|/
* Merge pull request #6387 from ↵Harald Musum2018-07-161-4/+9
|\ | | | | | | | | vespa-engine/musum/remove-deletion-of-default-flavor-overrides No need to delete default flavor override from zookeeper anymore
| * No need to delete default flavor override from zookeeper anymoreHarald Musum2018-07-131-4/+9
| |
* | Add a method for getting zoneHarald Musum2018-07-131-6/+9
|/
* Use new delete application code in more zonesHarald Musum2018-07-111-3/+11
|
* Build minimal set of config modelsHarald Musum2018-07-114-11/+18
| | | | | | * Build minimal set for all zones in cd and two prod zones, in addition to all non-prod zones * Add feature flag to be able to turn the feature off
* Only create model for wanted vespa version on hosted vespaHarald Musum2018-07-104-6/+78
| | | | | | | When not on hosted vespa, there will be only the latest model version available, so make sure not to try to create wanted version (the one stored in zookeeper, since wanted version is not used anywhere else)
* Merge pull request #6364 from ↵Jon Bratseth2018-07-0910-59/+106
|\ | | | | | | | | vespa-engine/hmusum/delete-inactive-sessions-in-maintainer Move deletion of inactive sessions to a maintainer
| * Move deletion of inactive sessions to a maintainerHarald Musum2018-07-0910-59/+106
| |
* | Merge pull request #6356 from vespa-engine/hmusum/configurable-sleepJon Bratseth2018-07-093-4/+7
|\ \ | | | | | | Make sleep time configurable (avoid spending a long time in unit tests)
| * | Make sleep time configurable (avoid spending a long time in unit tests)Harald Musum2018-07-063-4/+7
| | |
* | | If we manage to download file, make sure to serve file immediatelyHarald Musum2018-07-081-20/+28
| |/ |/|
* | Use exact method parameters in specHarald Musum2018-07-062-11/+12
|/ | | | Use boolean for flag
* Do not upgrade applications to current version when bootstrapping in ↵Harald Musum2018-07-064-27/+58
| | | | manually deployed zones
* Merge pull request #6342 from vespa-engine/hmusum/remove-unused-methodsHarald Musum2018-07-051-2/+4
|\ | | | | Remove unused methods and default implementations
| * Remove unused methods and default implementationsHarald Musum2018-07-051-2/+4
| |
* | Replace 'tonytv' with full name in author tagsBjørn Christian Seime2018-07-053-3/+3
|/
* Merge pull request #6333 from ↵Martin Polden2018-07-041-0/+3
|\ | | | | | | | | vespa-engine/hmusum/add-sleep-before-retrying-redeploy-of-all-applications Add a sleep before retrying redeployment of failed applications
| * Add a sleep before retrying redeployment of failed applicationsHarald Musum2018-07-041-0/+3
| |
* | Use new ValidationParameter class instead of booleansHarald Musum2018-07-0410-18/+26
|/
* Merge pull request #6327 from vespa-engine/hmusum/fix-access-control-validatorgjoranv2018-07-0410-51/+121
|\ | | | | Fix AccessControlValidator not working when loading minimal set of config model versions
| * Remove TODOHarald Musum2018-07-041-2/+0
| |
| * Wire in isFirstDeployment to AccessControlValidatorHarald Musum2018-07-034-3/+12
| | | | | | | | | | Use a boolean that is set correctly no matter what versions are loaded to decide when to use AccessControlValidator
| * Add test for issue with AccessControlValidator not working when loading ↵Harald Musum2018-07-036-48/+111
| | | | | | | | | | | | minimal set of config model versions Test works, since loading minimal set of config model versions has been disabled
* | Use new delete application code in two main zonesHarald Musum2018-07-041-3/+5
|/ | | | | Add config switch for delete application to make it possible to turn it off without code changes
* Disable loading minimal set of config model versions in prodHarald Musum2018-07-031-1/+6
| | | | | | | | | | AccessControlValidator uses the existence of a model for the version it validates to check if this is a first time deployment. If config server has loaded the minimal set of versions (1, 3) and there comes a new deployment with version 2 (e.g. because we have just released 3 and it is not rolled out completely yet), there will exist no version 2 and AccessControlValidator will think that this is a firsst time deployment and fail if access control has not been enabled.
* Merge pull request #6320 from ↵Harald Musum2018-07-021-4/+5
|\ | | | | | | | | vespa-engine/hmusum/use-new-delete-application-code-in-CD Use new code for deleting applications in CD too
| * Use new code for deleting applications in CD tooHarald Musum2018-07-021-4/+5
| |
* | Remove unnecessary OptionalHarald Musum2018-07-022-6/+5
|/
* Merge pull request #6314 from ↵Kristian Aune2018-06-291-0/+1
|\ | | | | | | | | vespa-engine/hmusum/remove-unused-zk-data-for-default-flavor-override Remove unused zk data for default flavor override
| * Remove unused zk data for default flavor overrideHarald Musum2018-06-291-0/+1
| |
* | Merge pull request #6309 from ↵Jon Bratseth2018-06-292-0/+15
|\ \ | |/ |/| | | | | vespa-engine/bratseth/application-deploy-inhibits-maintenance-deploy Application deployments inhibits periodic redeploys for a while
| * Implement additional methodJon Bratseth2018-06-291-0/+6
| |
| * Application deployments inhibits periodic redeploys for a whileJon Bratseth2018-06-281-0/+9
| | | | | | | | | | | | | | | | Why? 1) Too many redeploys are unecessary and have a cost 2) If restartOnDeploy is turned on, we may end up not able to respect it to make sure config is actually deployed if a periodic redeploy follows right after an application deploy.
* | Build only the minimal set of models neededHarald Musum2018-06-291-6/+1
| |
* | Merge pull request #6308 from ↵Harald Musum2018-06-2920-102/+310
|\ \ | | | | | | | | | | | | vespa-engine/hmusum/suppoert-application-delete-on-any-config-server Support deleting an application on any config server
| * | Support deleting an application on any config serverHarald Musum2018-06-2820-102/+310
| |/ | | | | | | | | | | Support application delete on any config server, not just the one the application was deployed to. Legacy method that does it the old way kept and used in most places until we have got some expericence with the new one.
* / Add exception to log message when redeploying application failsHarald Musum2018-06-291-1/+1
|/
* Add HTTPS binding for /statusMartin Polden2018-06-281-0/+1
|
* Handle varying SocketTimeoutException messageMartin Polden2018-06-281-9/+23
|
* Add javadoc to public methodsMartin Polden2018-06-272-48/+51
|
* Rewrite other tests to use WireMockMartin Polden2018-06-272-123/+131
|