Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
4db4a28
Merge pull request #14 from hamzanassour/master
lokeshgupta1981 Apr 6, 2023
38110b1
Spring boot xml response
lokeshgupta1981 Apr 6, 2023
1569281
Updated READ Me
lokeshgupta1981 Apr 6, 2023
cbd02d6
Merge pull request #16 from hamzanassour/master
lokeshgupta1981 Apr 7, 2023
ee70672
Refactor
lokeshgupta1981 Apr 11, 2023
0e002aa
Merge pull request #17 from hamzanassour/master
lokeshgupta1981 Apr 15, 2023
134ecb2
Moving code to new oauth2 repository
lokeshgupta1981 Apr 15, 2023
75ee35d
Bulkhead and rate limit
PrajAmit Apr 15, 2023
9fa8f1f
Merge pull request #18 from PrajAmit/master
lokeshgupta1981 Apr 16, 2023
26f86ae
Multipart file upload skeleton
lokeshgupta1981 Apr 18, 2023
070a78c
Compilation issue
lokeshgupta1981 Apr 18, 2023
a21c480
Merge pull request #19 from hamzanassour/master
lokeshgupta1981 Apr 22, 2023
31b4ded
Refactoring Dependencies
lokeshgupta1981 Apr 22, 2023
a12bc11
Refactoring Dependencies
lokeshgupta1981 Apr 25, 2023
feb9df6
Removed module
lokeshgupta1981 Apr 25, 2023
af07e63
Merge pull request #22 from hamzanassour/master
lokeshgupta1981 Apr 28, 2023
4c793b9
Refactoring
lokeshgupta1981 Apr 28, 2023
9b748a1
Beanstalk config
lokeshgupta1981 Apr 28, 2023
6d7b659
Merge pull request #23 from hamzanassour/master
lokeshgupta1981 May 7, 2023
7ac5a75
keycloak search users
lokeshgupta1981 May 7, 2023
4420ef4
Merge pull request #4 from lokeshgupta1981/master
Bayvao May 7, 2023
de02768
spring-aws-dynamodb-example
Bayvao May 7, 2023
842ed4d
improved test class
Bayvao May 7, 2023
ac7741d
Merge pull request #24 from Bayvao/master
lokeshgupta1981 May 7, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions JUnit4-Tests/src/main/java/com/howtodoinjava/demo/App.java
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package com.howtodoinjava.demo;

/**
* Hello world!
*
*/
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class App
{
public static void main( String[] args )
{
System.out.println( "Hello World!" );
SpringApplication.run(App.class, args);
}
}
159 changes: 82 additions & 77 deletions Testing-Libraries/pom.xml
Original file line number Diff line number Diff line change
@@ -1,84 +1,89 @@
<?xml version="1.0" encoding="UTF-8"?>

<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>spring-boot-examples</artifactId>
<groupId>com.howtodoinjava.demo</groupId>
<version>1.0-SNAPSHOT</version>
</parent>
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>spring-boot-examples</artifactId>
<groupId>com.howtodoinjava.demo</groupId>
<version>1.0-SNAPSHOT</version>
</parent>

<modelVersion>4.0.0</modelVersion>
<artifactId>Testing-Libraries</artifactId>
<name>Testing-Libraries</name>
<modelVersion>4.0.0</modelVersion>
<artifactId>Testing-Libraries</artifactId>
<name>Testing-Libraries</name>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
</properties>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
</properties>

<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-webflux</artifactId>
</dependency>
<dependency>
<groupId>com.github.tomakehurst</groupId>
<artifactId>wiremock-jre8</artifactId>
<version>2.33.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<version>4.10.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>mockwebserver</artifactId>
<version>4.10.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.projectreactor</groupId>
<artifactId>reactor-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.easymock</groupId>
<artifactId>easymock</artifactId>
<version>4.3</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jmockit</groupId>
<artifactId>jmockit</artifactId>
<version>1.49</version>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.2</version>
<configuration>
<suiteXmlFiles>
<suiteXmlFile>
src\test\resources\hello_testng_suite.xml
</suiteXmlFile>
</suiteXmlFiles>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-webflux</artifactId>
</dependency>
<dependency>
<groupId>com.github.tomakehurst</groupId>
<artifactId>wiremock-jre8</artifactId>
<version>2.35.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<version>4.10.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>mockwebserver</artifactId>
<version>4.10.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.projectreactor</groupId>
<artifactId>reactor-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.easymock</groupId>
<artifactId>easymock</artifactId>
<version>4.3</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jmockit</groupId>
<artifactId>jmockit</artifactId>
<version>1.49</version>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>7.7.0</version>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.2</version>
<configuration>
<suiteXmlFiles>
<suiteXmlFile>
src\test\resources\hello_testng_suite.xml
</suiteXmlFile>
</suiteXmlFiles>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>
56 changes: 30 additions & 26 deletions caching/pom.xml
Original file line number Diff line number Diff line change
@@ -1,34 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>

<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>spring-boot-examples</artifactId>
<groupId>com.howtodoinjava.demo</groupId>
<version>1.0-SNAPSHOT</version>
</parent>
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>spring-boot-examples</artifactId>
<groupId>com.howtodoinjava.demo</groupId>
<version>1.0-SNAPSHOT</version>
</parent>

<modelVersion>4.0.0</modelVersion>
<groupId>com.howtodoinjava.app</groupId>
<artifactId>caching</artifactId>
<name>caching</name>
<modelVersion>4.0.0</modelVersion>
<groupId>com.howtodoinjava.app</groupId>
<artifactId>caching</artifactId>
<name>caching</name>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
</properties>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
</properties>

<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-cache</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
</dependencies>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-cache</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
</dependency>
</dependencies>

</project>
10 changes: 7 additions & 3 deletions caching/src/test/java/com/howtodoinjava/app/AppTest.java
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
package com.howtodoinjava.app;

import static org.testng.AssertJUnit.assertTrue;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
public class AppTest {
public void shouldAnswerWithTrue() {
assertTrue(true);

@Test
public void contextLoads() {

}
}
Loading