summaryrefslogtreecommitdiffstats
path: root/jdisc_core_test
Commit message (Collapse)AuthorAgeFilesLines
* Update copyrightJon Bratseth2023-10-0991-91/+91
|
* Remove dead code and handle API changesBjørn Christian Seime2023-09-041-30/+0
|
* Reapply "Clean up bundles and allowed duplicates after a failed reconfig."gjoranv2022-09-011-7/+9
| | | | This reverts commit f869fa7fc3fbce76bc19745201bb62484dfc8efe.
* Revert "Clean up bundles and allowed duplicates after a failed reconfig."gjoranv2022-08-311-9/+7
| | | | This reverts commit b0a398eaeadfaf12e31bcfef2e41892439db1149.
* Clean up bundles and allowed duplicates after a failed reconfig.gjoranv2022-08-251-7/+9
|
* Set project version to 8-SNAPSHOTgjoranv2022-06-0838-76/+76
|
* Remove deprecated APIs in yolean.gjoranv2022-06-081-1/+0
|
* Don't provide any felix artifacts via 'container'gjoranv2022-06-081-1/+0
| | | | | | | | | | | | | + Stop exporting felix.log packages (org.osgi.service.log) + Completely remove felix.main (the felix launcher including everything in felix.framework). This was probably never needed by vespa. * Add explicit felix.framework dep to vespa-osgi-testrunner and standalone-container, as it's no longer included in container-dev. (The packages are still exported by jdisc_core, so imports will be generated.) * Add felix.framework to 'application', as it's needed for unit tests. * Exclude animal-sniffer-annotations from felix.framework in parent. Not needed anywhere by Vespa.
* Stop providing guice.assistedinject, not used by vespa or tenants.gjoranv2022-06-081-1/+0
| | | | | - Artifact: com.google.inject.extensions:guice-assistedinject - Package that was exported: com.google.inject.assistedinject
* Remove javax.annotation-api as provided dependency.gjoranv2022-06-081-1/+0
| | | | .. and from jdisc_core
* Readd integration test for log frameworks.gjoranv2022-05-121-0/+56
| | | | | - Test was deleted by accident instead of renamed (old name: OsgiLogServiceIntegrationTest)
* Test vespa log instead of osgi log reader.gjoranv2022-05-101-63/+0
|
* Don't embed annotations in osgi bundlesBjørn Christian Seime2022-05-041-0/+6
|
* JDK 17: Add java.security.cert to cert-kgjoranv2022-04-211-2/+3
| | | | + suppress "removal" warnings.
* Update 2020 Oath copyrights.gjoranv2021-10-271-1/+1
|
* Skip modules that should not be deployed with the Nexus plugin.Arnstein Ressem2021-10-071-0/+1
|
* Update 2018 copyright notices.gjoranv2021-10-071-1/+1
|
* Update 2017 copyright notices.gjoranv2021-10-0790-90/+90
|
* Make it possible to deploy on Maven Central with maven.Arnstein Ressem2021-09-281-0/+1
|
* Add/corect copyright headersJon Bratseth2020-01-031-0/+1
|
* Skip deployment for pure test modules.gjoranv2019-11-291-0/+6
|
* Implement FindHook for a consistent view of the installed bundles.gjoranv2019-10-161-2/+86
| | | | | - Add FelixFramework.getBundles that takes a bundle context to retrive bundles for.
* Allow duplicate bsn+version for a given set of bundles.gjoranv2019-10-1610-1/+218
| | | | | | | | | | - Set 'org.osgi.framework.bsnversion' to 'managed' - Add bundle collision/event hook to handle duplicates and their lifecycle. - Add unit tests for duplicate bundles. o Add bundle 'l1-dup' which is a duplicate of the existing 'l1', but returns a different value from its implemented class. o Add bundle 'ml-dup' that is exactly the same as 'ml'
* Remove commons-daemon from all pom files.gjoranv2019-10-031-2/+0
| | | | | - Has not been needed since we stopped using JSVC. - NOTE: this commit stops providing it from Jdisc.
* Remove unused BootstrapDaemongjoranv2019-10-033-60/+0
|
* Move copy-dependencies to a later phase, to allow 'mvn compile'gjoranv2019-03-061-2/+2
|
* Upgrade maven-dependency-plugin to 3.1.1gjoranv2019-03-064-1/+60
| | | | | | | - Build jdisc_core_test test bundles right after compile phase to still allow running 'mvn test'. - Note that 'mvn compile' still fails because the integration_test module tries to copy test jars in that phase.
* 6-SNAPSHOT -> 7-SNAPSHOTArnstein Ressem2019-01-2136-72/+72
|
* Open necessary packages to the unnamed module.gjoranv2019-01-211-1/+4
| | | | | - To avoid warnings due to Felix accessing non-public apis with reflection.
* Remove Vespa 7 TODO that is unfeasible.gjoranv2019-01-211-1/+0
|
* Retrieve the ServiceReference via the service's own bundle.gjoranv2019-01-211-3/+13
| | | | | | | | | | | | | | | - Going via the framework/bundleContext does not work, because it's class is loaded by the AppClassLoader, which will then be used to lookup the service class. Since this is a unit test, the class will be found on the class path but, since it's a different class than the service class in the bundle, a class cast check will fail, and the returned service ref will be null. - Note that this worked on Felix <6.0 because an exception was thrown (because the framework bundle does not export our service class), which led to the class cast check being skipped altogether. See felix/framework:ExtensionManager.getClassByDelegation (commit 3c147cb58a5)
* Ignore test that fails with Felix 6.0.gjoranv2019-01-211-0/+2
| | | | | - The jdisc_core "bundle" now exports java.* packages, which only the felix.framework system bundle is allowed to.
* Add copyright headerJon Bratseth2018-10-011-0/+1
|
* Create separate packages for activator test bundles.gjoranv2018-09-268-12/+12
| | | | | - When running tests in IntelliJ, classes from the two bundles are confused.
* Fix author tag for SimonBjørn Christian Seime2018-07-0549-49/+49
|
* Use our bundle-plugin for one of the integration test bundles.gjoranv2018-07-032-8/+9
|
* Remove commented packages from test.gjoranv2018-06-271-51/+0
|
* Add com.sun.activation packages to integration test.gjoranv2018-06-271-0/+2
|
* Java 9: Add dependencies and exports needed for jaxb support.gjoranv2018-06-272-14/+16
| | | | | | | | | | * Upgrade jaxb-api to 2.3.0 (packaged as osgi bundle) => our (and customer) bundles may now import this version instead of the Java_SE one. (Exposed via the container dependency.) * Add TODO to remove org.w3c.dom.* packages from ExportPackages. * Remove explicit org.w3c.dom from ExportPackages (It was doubly present also with Java 8.)
* Java 9: Support extension bundles in integration tests.gjoranv2018-06-261-4/+24
| | | | | | .. by opening package java.base/jdk.internal.loader (See felix:ExtensionManager.addExtensionBundle and SO post #50991819)
* Revert "Gjoranv/java9 prep 12 2"Harald Musum2018-06-263-40/+18
|
* Java 9: Add dependencies and exports needed for jaxb support.gjoranv2018-06-252-14/+16
| | | | | | | | | | * Upgrade jaxb-api to 2.3.0 (packaged as osgi bundle) => our (and customer) bundles may now import this version instead of the Java_SE one. (Exposed via the container dependency.) * Add TODO to remove org.w3c.dom.* packages from ExportPackages. * Remove explicit org.w3c.dom from ExportPackages (It was doubly present also with Java 8.)
* Java 9: Support fragment bundles in integration tests.gjoranv2018-06-251-4/+24
| | | | | .. by opening package java.base/jdk.internal.loader (See felix:ExtensionManager.addExtensionBundle)
* Revert "Gjoranv/java9 prep 12"gjoranv2018-06-253-40/+18
|
* Java 9: Add dependencies and exports needed for jaxb support.gjoranv2018-06-252-14/+16
| | | | | | | | | | * Upgrade jaxb-api to 2.3.0 (packaged as osgi bundle) => our (and customer) bundles may now import this version instead of the Java_SE one. (Exposed via the container dependency.) * Add TODO to remove org.w3c.dom.* packages from ExportPackages. * Remove explicit org.w3c.dom from ExportPackages (It was doubly present also with Java 8.)
* Java 9: Support fragment bundles in integration tests.gjoranv2018-06-251-4/+24
| | | | | .. by opening package java.base/jdk.internal.loader (See felix:ExtensionManager.addExtensionBundle)
* Java 9: Class.newInstance() is deprecated.gjoranv2018-05-031-2/+2
|
* Rename test parent artifact for clarity.gjoranv2018-05-033-3/+3
|
* Java 9: Class.newInstance() is deprecated.gjoranv2018-05-021-1/+1
|
* Java 9: Add jaxb-api dependency and remove some package referencesgjoranv2018-05-022-43/+52
| | | | | | | - javax.xml classes are moved to module java.xml.ws ("which is not in the module graph") - The cert-k test bundle referenced a lot of packages that are moved to other modules, but are unlikely to be used.