summaryrefslogtreecommitdiffstats
path: root/application-model/src
Commit message (Collapse)AuthorAgeFilesLines
* Preserve serviceStatus in service instance for backwards compatibilityHåkon Hallingstad2019-01-251-0/+2
|
* Metadata about /state/v1/health statusHåkon Hallingstad2019-01-252-7/+108
| | | | | | | | | | | | | The service monitor uses /state/v1/health to monitor config servers and the host admins (but not yet tenant host admins). This commit adds some metadata about the status of a service: - The time the status was last checked - The time the status changed to the current This can be used to e.g. make more intelligent decisions in the Orchestrator, e.g. only allowing a service to suspend if it has been DOWN longer than X seconds (to avoid spurious DOWN to break redundancy and uptime guarantees).
* Nonfunctional changes onlyJon Bratseth2019-01-211-0/+1
|
* Support monitoring health of tenant hostsHåkon Hallingstad2019-01-161-5/+0
|
* Revert "Revert "Add infrastructure applications to DuperModel""Håkon Hallingstad2018-12-031-0/+3
|
* Revert "Add infrastructure applications to DuperModel"Harald Musum2018-12-031-3/+0
|
* Add infrastructure applications to DuperModelHåkon Hallingstad2018-11-301-0/+3
| | | | | | | | | | | | | | | | | | | | | | | DuperModel is (will be) responsible for both active tenant applications (through SuperModel) and infrastructure applications. This PR is one step in that direction: - All infrastructure applications (config, confighost, controller, controllerhost, and proxyhost) are owned and managed by DuperModel. - The InfrastructureProvisioner retrieves all possible infra apps from the DuperModel (through a reduced API), and "activates" each of them if target is set and there are any nodes etc. - The InfrastructureProvisioner then notifies the DuperModel which apps have been activated, and with which hosts. - The DuperModel can then build delegate artificially create ApplicationInfo, which gets translated into the application model, and finally the service model. - The resulting service model has NOT_CHECKED for each hostadmin service instance. This is sufficient for goal 1 of this sprint. - The config server application currently has health, so that's kept as-is for now. - Feature flags have been tried and works and allows 1. to disable adding the infra apps in the DuperModel, and 2. to enable the infra configserver instead of the currently created configserver w/health.
* Support reporting UP for node admin outside zone appHåkon Hallingstad2018-02-262-0/+7
| | | | | | | | | If the nodeAdminInContainer ConfigserverConfig has been set, with this PR, the service monitor will always report the node admin container service as UP, thereby avoiding issues related to standalone node admin seemingly being down when not running as part of the application. This postpones checking /status/v1/health for later.
* Avoid recursive toStringHåkon Hallingstad2017-10-252-4/+0
|
* Avoid recursive hashCode and equalsHåkon Hallingstad2017-10-252-6/+4
|
* Provide more info in host Orchestrator REST APIHåkon Hallingstad2017-10-252-6/+36
|
* Remove status type parameter in application model classesHåkon Hallingstad2017-10-224-15/+26
|
* Nonfunctional changesJon Bratseth2017-08-3011-0/+17
|
* Update copyright headersJon Bratseth2017-06-1412-1/+12
|
* Revert "Update copyright headers"Jon Bratseth2017-06-1412-12/+1
|
* Update copyright headersJon Bratseth2017-06-1412-1/+12
|
* Revert "Copyright header"Jon Bratseth2017-06-1312-12/+1
|
* Copyright headerJon Bratseth2017-06-1312-1/+12
|
* Adds classes to give the Orchestrator policy classes a simplified view of Vespa.Håkon Hallingstad2017-04-282-1/+10
| | | | | | | | | This should be a no-op. The only changes that actually could have an impact are the changes to getting the cluster controllers, but it should be functionally equivalent. This PR will make it easier to change the Orchestrator policy to allow suspending several nodes (NodeGroup) in an application on a single Docker host.
* Remove non-working provider for custom ObjectMapperBjørn Christian Seime2016-11-168-8/+8
|
* Replace Scala case classes with Java POJOsBjørn Christian Seime2016-11-1623-165/+547
|
* Revert "Bjorncs/rewrite to java"Harald Musum2016-11-1623-547/+165
|
* Remove non-working provider for custom ObjectMapperBjørn Christian Seime2016-11-168-8/+8
|
* Replace Scala case classes with Java POJOsBjørn Christian Seime2016-11-1623-165/+547
|
* Use Github username as authorBjørn Christian Seime2016-06-2910-10/+10
|
* PublishJon Bratseth2016-06-1513-0/+170