Releases: hhru/nuts-and-bolts
Releases · hhru/nuts-and-bolts
[4.2.3] Fix compressed stack config and jersey integration
[4.2.2] update Jetty version
Jetty version updated to 9.4.8.v20171121
[4.2.1] Improve NabTestBase
Changes:
- 6dc7c00 Add
NabTestBase
and removeNabJerseyTestBase
. - 30f9591 Up
hh-java-logging
and clear dependencies (remove old version ofsping-aop
from dependencies).
Migration instructions:
NabJerseyTestBase
is replaced withNabTestBase
, so you may need to refactor some of your unit tests.
[4.2.0] Integration of Jersey and Spring
Changes:
- 05892eb Up jersey=2.27
- 8b654c2 Add wrapper for Jetty server
- 09aac8f Integration of Jersey and Spring
- 7a311d4 NabJerseyTestBase
Migration instructions:
- Remove Jersey resources from Spring context and register Jersey resources via overriding DefaultServletConfig:
NabApplication.run(new DefaultServletConfig() {
@Override
public void registerResources(ResourceConfig resourceConfig) {
resourceConfig.packages("ru.hh.relations.resource");
}
}, ExampleProdConfig.class);
JettyStarterTestBase
is replaced withNabJerseyTestBase
, so you may need to refactor some of your unit tests.
[4.0.4] Add registerShutdownHook
nuts-and-bolts-parent-4.0.4 [maven-release-plugin] copy for tag nuts-and-bolts-parent-4.0.4
[4.0.3] Move embedded postgres to nab-testbase
Changes:
- 298ee13 Refactoring of nab-datasource
- 7dc74d4 Add some new unit tests
- b1583c1 Rename nab-starter-tests to nab-tests
- 13e0b4a Move embedded postgresql to nab-testbase
Migration instructions:
- Rename
ru.hh.nab.hibernate.HibernateTestConfig
toru.hh.nab.testbase.hibernate.HibernateTestBaseConfig
.
[4.0.2] Add datacenter config parameter
Now datacenter config parameter is mandatory
[4.0.1] Various improvements
- NabApplicationContext now extends AnnotationConfigWebApplicationContext
- DefaultServletConfig now adds RequestContextListener
- JettyStarterTestBase is now a
@WebAppConfiguration
- JettyStarterTestBase launches a minimum required number of Jetty instances
- up hh-metrics version
[4.0.0] New application starter, bug-fix, refactoring of packages and class names
Changes:
- 4c55101 New application starter. Class
Launcher
is removed. - d858ea0 BugFix: exit application if Spring context is not started.
- 2ae4907 Update README
- 43ace59 Added NabApplicationContext and some new unit-tests
- 79b06c6 The package
ru.hh.nab.core
renamed toru.hh.nab.starter
- 2608874 Spring context classes renamed
Migration instructions:
- Update your Maven build: use artifact
nab-starter
instead ofnab-core
- Change imports:
import ru.hh.nab.core.*
toimport ru.hh.nab.starter.*
- Use
NabProdConfig
instead of removedCoreProdConfig
- Use
NabCommonConfig
instead of removedCoreCommonConfig
- Use
JettyStarterTestBase
instead ofJettyLauncherTestBase
/JerseyTest
- Change your main method to use class
NabApplication
instead ofLauncher
(see https://github.com/hhru/nuts-and-bolts#getting-started).
[3.9.0] Rename nab-core to nab-starter and refactor modules
nab-core
artifact was renamed tonab-starter
JerseyTest
from nab-testbase was renamed toJettyLauncherTestBase
- New module nab-starter-tests which contains tests for nab-starter (to resolve cyclic dependency with nab-testbase)
- SkippableFilter implementation was added to nab-starter
Migration instructions:
- Update your Maven build: use artifact
nab-starter
instead ofnab-core
. - Use
JettyLauncherTestBase
instead ofJerseyTest