Skip to content

Commit

Permalink
add latest article on AWS.
Browse files Browse the repository at this point in the history
  • Loading branch information
dieter.jordens committed Feb 14, 2021
1 parent 75db233 commit 1df1ad8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions src/main/java/dj/personal/website/article/ArticleRunner.java
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,13 @@ private Collection<Article> createArticles() {
.category("AI")
.build());

articles.add(Article.builder()
.title("How To Push a Docker Image to Amazon ECR With Jenkins")
.publicationDate(LocalDate.of(2021, Month.FEBRUARY, 12))
.url("https://medium.com/better-programming/how-to-push-a-docker-image-to-amazon-ecr-with-jenkins-ed4b042e141a?source=friends_link&sk=59e1f6ebac8a770086c4245d685c305d")
.category("Other")
.build());

return articleRepository.saveAll(articles);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ void givenRoleAdmin_findArticlesReturnsAllArticlesInJsonFormat() {
.then()
.statusCode(HttpStatus.OK.value())
.contentType(ContentType.JSON)
.body("size()", is(33));
.body("size()", is(34));
}

@Test
Expand Down

0 comments on commit 1df1ad8

Please sign in to comment.