aboutsummaryrefslogtreecommitdiffstats
path: root/configserver
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #13760 from ↵Harald Musum2020-07-012-16/+24
|\ | | | | | | | | vespa-engine/hmusum/create-local-session-on-all-state-changes Try to create local session when session state changes
| * Try to create local session when session state changesHarald Musum2020-07-012-17/+25
| | | | | | | | * If local session does not exist, try to create it when session state changes
* | Merge pull request #13759 from vespa-engine/hmusum/configserver-refactoring-19gjoranv2020-07-0110-40/+35
|\ \ | |/ |/| Config server refactoring, part 19
| * Update/remove comments and javadocHarald Musum2020-07-012-13/+9
| |
| * MockRpc -> MockRpcServerHarald Musum2020-07-013-9/+9
| |
| * Minor refactoring, no functional changesHarald Musum2020-07-015-18/+17
| |
* | Handle app being deleted while maintainer runsHarald Musum2020-06-301-2/+2
|/
* Make constructor protected, need to subclass in system testHarald Musum2020-06-291-5/+6
|
* Remove TenantHandlerProviderHarald Musum2020-06-286-47/+4
|
* Rewrite test to use less low-level codeHarald Musum2020-06-289-57/+84
| | | | Also use TenantHandlerProvider less
* Remove unused argumentHarald Musum2020-06-282-12/+1
|
* Do not hardcode application id in MockTenantProvider and MockRequestHandlerHarald Musum2020-06-289-34/+33
| | | | | Hardcoding makes it really hard to understand what is going on when you try to use something else than the default application id in a test
* Merge branch 'master' into hmusum/add-model-versions-to-responseHarald Musum2020-06-269-99/+91
|\
| * Merge pull request #13714 from ↵Harald Musum2020-06-261-5/+8
| |\ | | | | | | | | | | | | vespa-engine/hmusum/avoid-adding-local-session-twice Avoid adding local session to session cache twice
| | * Method should be privateHarald Musum2020-06-261-1/+1
| | |
| | * Avoid adding local session to session cache twiceHarald Musum2020-06-261-6/+9
| | | | | | | | | | | | | | | createLocalSessionUsingDistributedApplicationPackage already adds the session to session cache
| * | Copy application package atomicallyHarald Musum2020-06-251-1/+17
| |/ | | | | | | | | Fix bug where we don't do this atomically, looks like this can happend when application package is copied at the same time as config server is shut down
| * Inject time of creation in Tenant constructorHarald Musum2020-06-243-21/+24
| |
| * Remove config field, has not been used for yearsHarald Musum2020-06-242-13/+5
| |
| * Remove methodHarald Musum2020-06-242-7/+4
| |
| * Get curator from TenantRepositoryHarald Musum2020-06-244-8/+8
| | | | | | | | | | Will try to remove the need to inject Curator instance in Tenant constructor
| * Remove redundant methodHarald Musum2020-06-242-6/+2
| |
| * Use clock correctly and remove duplicate testHarald Musum2020-06-244-38/+23
| |
* | Use a proper model factory and vespa versionHarald Musum2020-06-231-7/+22
| |
* | Add model versions that exists for an app to responseHarald Musum2020-06-238-32/+68
|/ | | | | GET for an application shows only config generation, include the set of config model versions that exist for the app
* Merge watcher classes for sessions into one classHarald Musum2020-06-225-177/+132
| | | | | Also make sure to add local session to watcher in the case where it is added at a later time than when the watcher was created
* Merge pull request #13652 from vespa-engine/hmusum/configserver-refactoring-14gjoranv2020-06-2223-88/+27
|\ | | | | Config server refactoring, part 14
| * Move MockFileDistributionFactory to another packge as wellHarald Musum2020-06-2010-14/+9
| |
| * Move FileDistributionFactory to a more suitable packageHarald Musum2020-06-206-7/+7
| |
| * Remove reload handler from TenantHandlerProvider interfaceHarald Musum2020-06-209-68/+12
| |
* | Create local session after downloading application packageHarald Musum2020-06-192-13/+28
| |
* | Add getSessionStatePath and use getSessionPath in more placesHarald Musum2020-06-196-38/+28
|/
* Revert "Merge watcher classes for sessions into one class"Harald Musum2020-06-1911-80/+144
|
* Remove unused classHarald Musum2020-06-192-77/+3
|
* Merge branch 'master' into hmusum/configserver-refactoring-13Harald Musum2020-06-196-6/+12
|\
| * Add some more debug loggingHarald Musum2020-06-192-2/+5
| |
| * Log more info about models if in a cd systemHarald Musum2020-06-181-1/+3
| |
| * Revert parts of change to log message in previous commitHarald Musum2020-06-181-1/+1
| |
| * Merge pull request #13623 from ↵Harald Musum2020-06-181-2/+2
| |\ | | | | | | | | | | | | vespa-engine/hmusum/preprocess-application-package-before-distribution Preprocess application package before distributing to other config se…
| | * Preprocess application package before distributing to other config serversHarald Musum2020-06-181-2/+2
| | |
| * | Try to avoid unit tests failing on slow nodes by Increasing default timeoutHarald Musum2020-06-181-1/+1
| |/
* | Merge watcher classes for sessions into one classHarald Musum2020-06-185-32/+51
| |
* | Add getSessionStatePath and use getSessionPath in more placesHarald Musum2020-06-186-38/+28
|/
* Merge pull request #13621 from vespa-engine/hmusum/configserver-refactoring-12gjoranv2020-06-185-35/+33
|\ | | | | Handle no active session existing
| * Use another method for getting active sessionHarald Musum2020-06-183-13/+11
| | | | | | | | | | Do not use a method that will throw an exception if no active session is found, that is a valid case
| * Fix misleading exception messageHarald Musum2020-06-182-2/+2
| |
| * Minor changes to testHarald Musum2020-06-181-7/+8
| |
| * Use Optional for active session idHarald Musum2020-06-171-14/+13
| |
* | Move method to test classHarald Musum2020-06-162-23/+29
| |
* | Move code only used in tests to test classHarald Musum2020-06-163-69/+66
| |