summaryrefslogtreecommitdiffstats
path: root/container-disc/src/test
Commit message (Collapse)AuthorAgeFilesLines
* Make the deconstruct executor private again.gjoranv2020-12-151-17/+26
| | | | - Add helper method in test to wait for deconstruct to finish.
* Optimize imports.gjoranv2020-12-151-2/+1
|
* Switch test to use RECONFIG mode by default.gjoranv2020-12-151-1/+4
| | | | | | - Use SHUTDOWN mode for the latest test that uses a component with the delayed deconstruct method. - Remove the now unnecessary explanation from the class comment.
* Wait for component deconstruction to finish when shutting down.gjoranv2020-12-151-1/+23
| | | | | | | - Wait up to 10 minuts. - Add separate modes for reconfig and shutdown. - Add test ctor for setting the delay before deconstruction starts in RECONFIG mode. (Tests are TBD.)
* Revert "Revert "Revert "Revert "Always deconstruct in reverse creation ↵Jon Marius Venstad2020-12-081-12/+13
| | | | order, including Provider objects""""
* Revert "Revert "Revert "Always deconstruct in reverse creation order, ↵Jon Marius Venstad2020-12-081-13/+12
| | | | including Provider objects"""
* Revert "Revert "Always deconstruct in reverse creation order, including ↵Jon Marius Venstad2020-12-071-12/+13
| | | | Provider objects""
* Revert "Always deconstruct in reverse creation order, including Provider ↵Arnstein Ressem2020-12-071-13/+12
| | | | objects"
* Make executor package visible for shutdown testsJon Marius Venstad2020-12-071-9/+8
|
* Always deconstruct in reverse creation order, including Provider objectsJon Marius Venstad2020-12-071-3/+5
|
* Prepare FilterBindings to allow default filter chains and metricsBjørn Christian Seime2020-11-131-57/+14
| | | | | | | Track and expose filter ids from FilterBindings. Add builder to simplify construction for FilterBindings in provider and unit tests. Move FilterBindings to com.yahoo.jdisc.http.server.jetty package. Encapsulate binding matching in FilterBindings.
* Revert "Remove implicit and potensially false dependency on jdisc_http_service"Bjørn Christian Seime2020-11-111-0/+202
|
* Remove implicit and potensially false dependency on jdisc_http_serviceBjørn Christian Seime2020-11-111-202/+0
| | | | Required for later changes to jdisc_http_service. Removes jdisc_http_service from provided-dependencies.
* Avoid mock thread factory and simplify constructionHåkon Hallingstad2020-10-101-10/+3
|
* Minor unification of tests.Henning Baldersheim2020-08-122-19/+16
|
* Declare fields accessed by multiple threads volatile.gjoranv2020-04-031-2/+2
|
* Ensure that obsolete bundles are uninstalledgjoranv2020-04-021-2/+20
| | | | | | .. even when there are no components to deconstruct. This happens for e.g. pure document-api containers when the user bundle(s) only contain searchers.
* Reapply "Gjoranv/allow duplicate bundles"gjoranv2019-11-051-3/+4
| | | | This reverts commit 2ef1e922a1d845b3cd79e9fb329925e7e9896919.
* Revert "Gjoranv/allow duplicate bundles"gjoranv2019-11-041-4/+3
|
* Support safe component deconstruction in jdisc container.gjoranv2019-10-281-3/+4
| | | | | | | | | - Add allowDuplicates to all Osgi classes - Uninstall bundles in Deconstructor - We no longer refresh bundles because we uninstall old bundles at a later point than the new bundles are installed. Hence, the user must version app bundles that are dependencies used by other app bundles.
* Schedule deconstruct of all components with one call.gjoranv2019-10-261-3/+6
|
* Use mockito-core 3.1.0Håkon Hallingstad2019-10-182-4/+4
|
* Remove deprecated metrics (*MemoryBytes)gjoranv2019-01-211-1/+1
|
* Use full nameHarald Musum2018-10-031-1/+1
|
* Add copyright headerJon Bratseth2018-10-011-0/+1
|
* Fix author tag for SimonBjørn Christian Seime2018-07-057-7/+7
|
* Close servers earlier in the shutdown processOlli Virtanen2018-07-031-2/+0
|
* Switched to Instant/Duration for time, test case cleanupOlli Virtanen2018-06-071-15/+12
|
* JVM Garbage collection metricsOlli Virtanen2018-06-012-1/+64
|
* Introduce simple container watchdogBjørn Christian Seime2018-04-161-1/+4
| | | | | This watchdog uses information from the reference count framework in jdisc_core. Contains no use of System.gc() or WeakReference.
* Remove container watchdogBjørn Christian Seime2018-04-131-5/+2
| | | | | - Remove ActiveContainerDeactivationWatchdog - Move deconstruction enforcer to ActiveContainer
* Revert "Merge pull request #5072 from vespa-engine/revert-4984-mortent/ckms"Morten Tokle2018-02-212-280/+0
| | | | | This reverts commit 6d7b65adfcd1e918da8173dab25bf701074f3cdc, reversing changes made to 2ecdfefd5616743f62691f64a517ab787d6f0c10.
* Revert "Refactor identityprovider. Add SiaIdentityProvider"Morten Tokle2018-02-202-0/+280
|
* Revert "Merge pull request #5072 from vespa-engine/revert-4984-mortent/ckms"Morten Tokle2018-02-202-280/+0
| | | | | This reverts commit 6d7b65adfcd1e918da8173dab25bf701074f3cdc, reversing changes made to 2ecdfefd5616743f62691f64a517ab787d6f0c10.
* Revert "Refactor identityprovider. Add SiaIdentityProvider"Morten Tokle2018-02-202-0/+280
|
* Move identity provider to athenz-identity-provider-service moduleMorten Tokle2018-02-162-280/+0
|
* Added athenz-tenant-cert.expiry metricValerij Fredriksen2018-02-071-6/+25
|
* need more time when run as part of parallel buildArne Juul2018-01-301-1/+1
|
* Add copyright headersJon Bratseth2018-01-251-0/+1
|
* Rename ServiceProviderApi -> IdentityDocumentServiceBjørn Christian Seime2017-11-071-6/+6
|
* Take ManualClock as constructor argumentBjørn Christian Seime2017-11-061-13/+16
|
* Add token refresh to AthenzIdentityProvider implementationBjørn Christian Seime2017-11-061-8/+191
| | | | | | Includes logic for retry: exponential backoff for instance registration, linear backoff for credential updates. Moved instance registration + credentials update logic to new class AthenzCredentialsService.
* Remove unused fieldsBjørn Christian Seime2017-11-061-2/+1
|
* Model ztsEndpoint as URIBjørn Christian Seime2017-11-061-2/+1
|
* Work around akward semantics with TemporalAmount/DurationBjørn Christian Seime2017-11-021-2/+2
|
* Cleanup MetricUpdaterBjørn Christian Seime2017-11-021-19/+23
|
* Flush JcaPEMWriterBjørn Christian Seime2017-10-311-0/+27
|
* Rename AthenzIdentityProviderTest -> AthenzIdentityProviderImplTestBjørn Christian Seime2017-10-271-6/+3
|
* fix testMorten Tokle2017-10-261-1/+1
|
* Update copyrightMorten Tokle2017-10-241-0/+1
|