@@ -0,0 +1,3025 @@
+import com.example.ssm.*;%0Aimport org.junit.jupiter.api.*;%0Aimport software.amazon.awssdk.regions.Region;%0Aimport java.io.*;%0Aimport java.net.URISyntaxException;%0Aimport java.util.*;%0Aimport static org.junit.jupiter.api.Assertions.*;%0Aimport software.amazon.awssdk.services.ssm.SsmClient;%0Aimport software.amazon.awssdk.services.ssm.model.*;%0A%0A@TestInstance(TestInstance.Lifecycle.PER_METHOD)%0A@TestMethodOrder(MethodOrderer.OrderAnnotation.class)%0Apublic class AWSSSMIntegrationTest %7B%0A%0A    private static SsmClient ssmClient;%0A    private static String paraName=%22%22;%0A    private static String title=%22%22;%0A    private static String source=%22%22;%0A    private static String category=%22%22;%0A    private static String severity=%22%22;%0A    private static String opsItemId =%22%22;%0A%0A    @BeforeAll%0A    public static void setUp()%7B%0A%0A        Region region = Region.US_EAST_1;%0A        ssmClient = SsmClient.builder()%0A                .region(region)%0A                .build();%0A%0A        try (InputStream input = AWSSSMIntegrationTest.class.getClassLoader().getResourceAsStream(%22config.properties%22)) %7B%0A%0A            Properties prop = new Properties();%0A%0A            if (input == null) %7B%0A                System.out.println(%22Sorry, unable to find config.properties%22);%0A                return;%0A            %7D%0A%0A            //load a properties file from class path, inside static method%0A            prop.load(input);%0A%0A            // Populate the data members required for all tests%0A            paraName = prop.getProperty(%22paraName%22);%0A            title = prop.getProperty(%22title%22);%0A            source = prop.getProperty(%22source%22);%0A            category = prop.getProperty(%22category%22);%0A            severity = prop.getProperty(%22severity%22);%0A%0A        %7D catch (IOException ex) %7B%0A            ex.printStackTrace();%0A        %7D%0A    %7D%0A%0A%0A    @Test%0A    @Order(1)%0A    public void whenInitializingAWSService_thenNotNull() %7B%0A        assertNotNull(ssmClient);%0A        System.out.println(%22Test 1 passed%22);%0A    %7D%0A%0A    @Test%0A    @Order(2)%0A    public void CreateOpsItem()%7B%0A        opsItemId = CreateOpsItem.createNewOpsItem(ssmClient, title, source, category, severity) ;%0A        assertTrue(!opsItemId.isEmpty());%0A        System.out.println(%22Test 2 passed%22);%0A    %7D%0A%0A    @Test%0A    @Order(3)%0A    public void GetOpsItem()%7B%0A        GetOpsItem.getOpsItem(ssmClient, opsItemId);%0A        System.out.println(%22Test 3 passed%22);%0A    %7D%0A%0A    @Test%0A    @Order(4)%0A    public void DescribeOpsItems() %7B%0A        DescribeOpsItems.describeItems(ssmClient);%0A        System.out.println(%22Test 4 passed%22);%0A    %7D%0A%0A    @Test%0A    @Order(5)%0A    public void DescribeParameters() %7B%0A        DescribeParameters.describeParams(ssmClient);%0A        System.out.println(%22Test 5 passed%22);%0A    %7D%0A%0A    @Test%0A    @Order(6)%0A    public void GetParameter() %7B%0A        GetParameter.getParaValue(ssmClient, paraName);%0A        System.out.println(%22Test 6 passed%22);%0A    %7D%0A%0A    @Test%0A    @Order(7)%0A    public void ResolveOpsItem() %7B%0A        ResolveOpsItem.setOpsItemStatus(ssmClient, opsItemId);%0A        System.out.println(%22Test 7 passed%22);%0A    %7D%0A%0A%7D%0A

Create AWSSSMIntegrationTest.java