Thinking about new application architecture with Spring Cloud with Netflix OSS I’ve stuck on a problem of time you need to wait until the Ribbon client is ready to serve. It looks by default you need to wait 30s before server list is fetched from Eureka server and Ribbon load balancer can be used to route traffic to specific service. This is a pain in dev env because here we frequently need to restart services and test some results again and again. 30s is not an option, so I’ve been looking for decreasing this time what finally turned out to be a difficult thing.
Read the full articleJetBrains Hub is an user management tool enabling single sign-on across all JetBrains web applications (like YouTrack or Upsource). But it also can work as a standalone oauth2/saml provider what brings to mind to use it as a central users repository for a number of different applications. Like for example GitLab. They provide oauth2 profile for GitLab to allow sign-in to Hub using GitLab credentials (GitLab acts as oauth2 provider) but we’d like to do something opposite - to use Hub working as oauth2 provider for GitLab, and to sign-in to GitLab with Hub credentials.
Read the full articleThe most of project management methods assume projects in the project stage, what means for me this happy time of development, when you just have requirements, deadlines and team and you can slice time into iterations and play. You can use different project management methodologies and different approaches of branches management (like Trunk Based or Feature Branch) and finally come to conclusion that with a good team you can effectively get it done in whatever you’ve currently chosen.
Going to production changes the game, though. In my opinion a lot of project management tools are focused only on the project stage and don’t really support production stage. On the other hand techniques related to branches management seem to fight agains each other for being the best and only reasonable. I personally don’t believe in this. Here I’d like to show our development process in mature web application. Especially how we can mix different branching approaches with our favourite ticketing tool YouTrack to have a successful development process.
Read the full articleHere I’d like to describe another interesting case I’ve been struggling with for recent few days. This involves the following use case: enable asynchronous events support for Tomcat/Spring multi-tenancy SaaS application, that can be pushed to listening client groups. To be specific, the event should be channeled to following groups: to specific user, to all users of specific tenant and to all users.
Read the full articleToday I was playing a little about Play Framework. This is very nice lightweight application framework for Java and Scala. I was trying to make an app and deploy to Heroku, which is a PaaS platform where you can host you Play applications for free (with some limitations of course).
Read the full articleIf you have a Spring 2 application using MuleESB in 2.x version, and you initialize the mule using SpringXmlConfigurationBuilder
, you may notice that this simply doesn’t work in Spring 3 ;)
Yesterday I’ve been struggling with setting up Eclipse to work with some project having multi level Maven project structure. Eclipse uses its own flat project layout and isn’t able to handle this properly. I’ve tried multiple approaches to achieve this project working, being built and debug in Eclipse. Finally I’ve found some workaround.
Read the full article