Use SSH Key Exchange with BitBucket instead of HTTPS

By default, my BitBucket Git repository uses the HTTPS URL instead of the SSH. As a result, I get prompted for my password every time I push code to my BitBucket Git repository. [code language=”bash”] $ git push Password for ‘https://<repo_owner>@bitbucket.org’: [/code] You should see your BitBucket account username in place…

Continue reading

Code Analysis with Java and AngularJS Project via SonarQube

Code Analysis with Java and AngularJS Project via SonarQube

Many Java based projects are shifting away from more traditional Java based frontend technologies, such as JSP, JSF, and GWT. Today, they are moving to Single Page Application technologies like AngularJS. This leaves Java as the language for the backend. As a result, you will likely experience a project using…

Continue reading

How to Point BitBucket Webhook to Jenkins on Localhost

If you want to host your Jenkins locally on your computer for testing, but are interested in leveraging BitBucket’s webhooks to point to your localhost, then you need to expose your computer to the outside world.  There are several ways to do this, but the easiest I have found is…

Continue reading

2018 Search Engine Optimization with AngularJS 1.x Single Page Application

Search engine optimization with single page applications

Creating a Single Page Application (SPA) comes with many modern advantages to a traditional web site that can improve the user experience. These advantages include faster user experiences typically due to not having to reload the entire application in order to display changes in the content. This leads to an…

Continue reading

Spring Boot, Spring Data REST and Query Parameters

I have Spring Data REST repository that takes query parameters. It uses a PagingAndSortingRepository and looks like this: [code language=”java”] @RepositoryRestResource @CrossOrigin(origins = "http://localhost:8000") public interface IRestaurantRepository extends PagingAndSortingRepository<Restaurant, Long> { public Page<Restaurant> findByNameContaining(String name, Pageable pageable); } [/code] You would get an error if you were to execute the…

Continue reading