{"id":36,"date":"2023-01-16T10:19:33","date_gmt":"2023-01-16T10:19:33","guid":{"rendered":"https:\/\/bernado.cat\/?page_id=36"},"modified":"2024-04-10T20:31:15","modified_gmt":"2024-04-10T20:31:15","slug":"36-2","status":"publish","type":"page","link":"https:\/\/bernado.cat\/","title":{"rendered":"Inici"},"content":{"rendered":"\n<div class=\"wp-block-group has-global-padding is-layout-constrained wp-block-group-is-layout-constrained\"><ul style=\"padding-top:0;padding-bottom:0;padding-left:0;padding-right:0;margin-top:0;margin-bottom:0\" class=\"wp-block-latest-posts__list has-dates has-author has-link-color wp-elements-1 wp-block-latest-posts is-layout-flow wp-block-latest-posts-is-layout-flow\"><li><a class=\"wp-block-latest-posts__post-title\" href=\"https:\/\/bernado.cat\/index.php\/en\/2024\/11\/12\/simplebus-an-implementation-of-command-bus-for-spring-boot\/\">SimpleBus: An implementation of Command Bus for Spring Boot<\/a><div class=\"wp-block-latest-posts__post-author\">per Oriol<\/div><time datetime=\"2024-11-12T21:45:34+00:00\" class=\"wp-block-latest-posts__post-date\">12 de novembre de 2024<\/time><div class=\"wp-block-latest-posts__post-excerpt\">Recently, I\u2019ve been working on several projects with Spring Boot, and I found myself looking for ways to transfer some of the concepts I commonly use with Symfony to the world of Java and Spring Boot. One of the patterns I always try to apply is CQRS (Command Query Responsibility Segregation), particularly the use of\u2026 <a class=\"wp-block-latest-posts__read-more\" href=\"https:\/\/bernado.cat\/index.php\/en\/2024\/11\/12\/simplebus-an-implementation-of-command-bus-for-spring-boot\/\" rel=\"noopener\">M\u00e9s informaci\u00f3<span class=\"screen-reader-text\">: SimpleBus: An implementation of Command Bus for Spring Boot<\/span><\/a><\/div><\/li>\n<li><a class=\"wp-block-latest-posts__post-title\" href=\"https:\/\/bernado.cat\/index.php\/2024\/09\/28\/simplebus-una-implementacio-de-command-bus-per-a-spring-boot\/\">SimpleBus: Una implementaci\u00f3 de Command Bus per a Spring Boot<\/a><div class=\"wp-block-latest-posts__post-author\">per Oriol<\/div><time datetime=\"2024-09-28T20:10:09+00:00\" class=\"wp-block-latest-posts__post-date\">28 de setembre de 2024<\/time><div class=\"wp-block-latest-posts__post-excerpt\">Darrerament, he estat treballant en diversos projectes amb Spring Boot, i m&#8217;he trobat buscant formes de traslladar alguns dels conceptes que utilitzo habitualment amb Symfony al m\u00f3n de Java i Spring Boot. Un dels patrons que sempre intento aplicar \u00e9s el CQRS (Command Query Responsibility Segregation), especialment l&#8217;\u00fas d&#8217;un Command Bus per gestionar les comandes.\u2026 <a class=\"wp-block-latest-posts__read-more\" href=\"https:\/\/bernado.cat\/index.php\/2024\/09\/28\/simplebus-una-implementacio-de-command-bus-per-a-spring-boot\/\" rel=\"noopener\">M\u00e9s informaci\u00f3<span class=\"screen-reader-text\">: SimpleBus: Una implementaci\u00f3 de Command Bus per a Spring Boot<\/span><\/a><\/div><\/li>\n<li><a class=\"wp-block-latest-posts__post-title\" href=\"https:\/\/bernado.cat\/index.php\/en\/2024\/09\/13\/phpunit-pr-coverage-check-2\/\">Phpunit PR coverage check<\/a><div class=\"wp-block-latest-posts__post-author\">per Oriol<\/div><time datetime=\"2024-09-13T20:21:53+00:00\" class=\"wp-block-latest-posts__post-date\">13 de setembre de 2024<\/time><div class=\"wp-block-latest-posts__post-excerpt\">https:\/\/github.com\/orbeji\/phpunit-pr-coverage-check This is a project I created to quickly check if a Pull Request has created all the necessary tests. Until now, we have been using https:\/\/github.com\/richardregeer\/phpunit-coverage-check, which tells you the total percentage of code coverage and fails if it doesn&#8217;t meet the indicated percentage. The problem we encountered with this is that often a\u2026 <a class=\"wp-block-latest-posts__read-more\" href=\"https:\/\/bernado.cat\/index.php\/en\/2024\/09\/13\/phpunit-pr-coverage-check-2\/\" rel=\"noopener\">M\u00e9s informaci\u00f3<span class=\"screen-reader-text\">: Phpunit PR coverage check<\/span><\/a><\/div><\/li>\n<li><a class=\"wp-block-latest-posts__post-title\" href=\"https:\/\/bernado.cat\/index.php\/en\/2024\/09\/12\/delete-local-branches-in-git\/\">Delete local branches in GIT<\/a><div class=\"wp-block-latest-posts__post-author\">per Oriol<\/div><time datetime=\"2024-09-12T20:15:17+00:00\" class=\"wp-block-latest-posts__post-date\">12 de setembre de 2024<\/time><div class=\"wp-block-latest-posts__post-excerpt\">Command to delete local branches in GIT that we no longer have in the repository. I filtered out master, main and develop just in case.<\/div><\/li>\n<li><a class=\"wp-block-latest-posts__post-title\" href=\"https:\/\/bernado.cat\/index.php\/2024\/04\/21\/phpunit-pr-coverage-check\/\">Phpunit PR coverage check<\/a><div class=\"wp-block-latest-posts__post-author\">per Oriol<\/div><time datetime=\"2024-04-21T20:17:26+00:00\" class=\"wp-block-latest-posts__post-date\">21 d&#8217;abril de 2024<\/time><div class=\"wp-block-latest-posts__post-excerpt\">https:\/\/github.com\/orbeji\/phpunit-pr-coverage-check Aquest \u00e9s un projecte que he fet per a poder veure de manera r\u00e0pida si una Pull Request ha fet tots els tests necessaris. Fins ara hem fet servir https:\/\/github.com\/richardregeer\/phpunit-coverage-check el qual et diu quin % en total tens del codi cobert i falla si no arriba al % indicat. El problema que ten\u00edem\u2026 <a class=\"wp-block-latest-posts__read-more\" href=\"https:\/\/bernado.cat\/index.php\/2024\/04\/21\/phpunit-pr-coverage-check\/\" rel=\"noopener\">M\u00e9s informaci\u00f3<span class=\"screen-reader-text\">: Phpunit PR coverage check<\/span><\/a><\/div><\/li>\n<\/ul><\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-36","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/bernado.cat\/index.php\/wp-json\/wp\/v2\/pages\/36","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bernado.cat\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/bernado.cat\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/bernado.cat\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bernado.cat\/index.php\/wp-json\/wp\/v2\/comments?post=36"}],"version-history":[{"count":4,"href":"https:\/\/bernado.cat\/index.php\/wp-json\/wp\/v2\/pages\/36\/revisions"}],"predecessor-version":[{"id":51,"href":"https:\/\/bernado.cat\/index.php\/wp-json\/wp\/v2\/pages\/36\/revisions\/51"}],"wp:attachment":[{"href":"https:\/\/bernado.cat\/index.php\/wp-json\/wp\/v2\/media?parent=36"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}