test_class.declarator: tfWorkingPath = Paths.get(System.getProperty("user.dir"), ".tfproject")
test_class.original_string: Path tfWorkingPath = Paths.get(System.getProperty("user.dir"), ".tfproject");
test_class.type: Path
test_class.var_name: tfWorkingPath
test_class.file: tf-build-tools/tf-maven-plugin/src/test/java/com/deliveredtechnologies/maven/terraform/TerraformGetMavenRootArtifactTest.java
test_class.identifier: TerraformGetMavenRootArtifactTest
test_case.body: @Test
    public void getArtifactZipGetsMavenZipArtifactNameWithoutGroupId() {
      String artifact = "groupId:artifactId:0.1";
      Assert.assertEquals(TerraformGetMavenRootArtifact.getArtifactZip(artifact), "artifactId-0.1.zip");
      Assert.assertEquals(TerraformGetMavenRootArtifact.getArtifactZip(String.format("%1$s.zip", artifact)), "artifactId-0.1.zip");
      Assert.assertEquals("artifactId-0.1.zip", "artifactId-0.1.zip");
    }
test_case.class_method_signature: TerraformGetMavenRootArtifactTest.getArtifactZipGetsMavenZipArtifactNameWithoutGroupId()
test_case.full_signature: @Test public void getArtifactZipGetsMavenZipArtifactNameWithoutGroupId()
test_case.identifier: getArtifactZipGetsMavenZipArtifactNameWithoutGroupId
test_case.invocations: assertEquals getArtifactZip assertEquals getArtifactZip format assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void getArtifactZipGetsMavenZipArtifactNameWithoutGroupId()
focal_class.declarator: workingPath = Paths.get(System.getProperty("user.dir"), ".tfproject")
focal_class.modifier: private
focal_class.original_string: private Path workingPath = Paths.get(System.getProperty("user.dir"), ".tfproject");
focal_class.type: Path
focal_class.var_name: workingPath
focal_class.declarator: mainTfPath
focal_class.modifier: private
focal_class.original_string: private Path mainTfPath;
focal_class.type: Path
focal_class.var_name: mainTfPath
focal_class.declarator: tfRootDir
focal_class.modifier: private
focal_class.original_string: private String tfRootDir;
focal_class.type: String
focal_class.var_name: tfRootDir
focal_class.declarator: artifact
focal_class.modifier: private
focal_class.original_string: private String artifact;
focal_class.type: String
focal_class.var_name: artifact
focal_class.declarator: log
focal_class.modifier: private
focal_class.original_string: private Log log;
focal_class.type: Log
focal_class.var_name: log
focal_class.file: tf-build-tools/tf-maven-plugin/src/main/java/com/deliveredtechnologies/maven/terraform/TerraformGetMavenRootArtifact.java
focal_class.identifier: TerraformGetMavenRootArtifact
focal_class.interfaces: implements TerraformOperation<String>
focal_class.class_method_signature: TerraformGetMavenRootArtifact.TerraformGetMavenRootArtifact(String artifact, Log log)
focal_class.full_signature: public  TerraformGetMavenRootArtifact(String artifact, Log log)
focal_class.identifier: TerraformGetMavenRootArtifact
focal_class.modifiers: public
focal_class.parameters: (String artifact, Log log)
focal_class.signature:  TerraformGetMavenRootArtifact(String artifact, Log log)
focal_class.class_method_signature: TerraformGetMavenRootArtifact.TerraformGetMavenRootArtifact(String artifact, String tfRootDir, Log log)
focal_class.full_signature: public  TerraformGetMavenRootArtifact(String artifact, String tfRootDir, Log log)
focal_class.identifier: TerraformGetMavenRootArtifact
focal_class.modifiers: public
focal_class.parameters: (String artifact, String tfRootDir, Log log)
focal_class.signature:  TerraformGetMavenRootArtifact(String artifact, String tfRootDir, Log log)
focal_class.class_method_signature: TerraformGetMavenRootArtifact.execute(Properties properties)
focal_class.full_signature: @Override public String execute(Properties properties)
focal_class.identifier: execute
focal_class.modifiers: @Override public
focal_class.parameters: (Properties properties)
focal_class.return: String
focal_class.signature: String execute(Properties properties)
focal_class.class_method_signature: TerraformGetMavenRootArtifact.getArtifactFromMavenRepo(Invoker invoker, InvocationRequest request)
focal_class.full_signature: final void getArtifactFromMavenRepo(Invoker invoker, InvocationRequest request)
focal_class.identifier: getArtifactFromMavenRepo
focal_class.modifiers: final
focal_class.parameters: (Invoker invoker, InvocationRequest request)
focal_class.return: void
focal_class.signature: void getArtifactFromMavenRepo(Invoker invoker, InvocationRequest request)
focal_class.class_method_signature: TerraformGetMavenRootArtifact.expandMavenArtifacts()
focal_class.full_signature: final Path expandMavenArtifacts()
focal_class.identifier: expandMavenArtifacts
focal_class.modifiers: final
focal_class.parameters: ()
focal_class.return: Path
focal_class.signature: Path expandMavenArtifacts()
focal_class.class_method_signature: TerraformGetMavenRootArtifact.getArtifactZip(String artifact)
focal_class.full_signature: static String getArtifactZip(String artifact)
focal_class.identifier: getArtifactZip
focal_class.modifiers: static
focal_class.parameters: (String artifact)
focal_class.return: String
focal_class.signature: String getArtifactZip(String artifact)
focal_method.body: static String getArtifactZip(String artifact) {
      String artifactZip = artifact.indexOf(':') > 0 ? artifact.substring(artifact.indexOf(':') + 1).replace(":", "-") : artifact;
      return artifactZip.endsWith(".zip") ? artifactZip : String.format("%1$s.zip", artifactZip);
    }
focal_method.class_method_signature: TerraformGetMavenRootArtifact.getArtifactZip(String artifact)
focal_method.full_signature: static String getArtifactZip(String artifact)
focal_method.identifier: getArtifactZip
focal_method.invocations: indexOf replace substring indexOf endsWith format
focal_method.modifiers: static
focal_method.parameters: (String artifact)
focal_method.return: String
focal_method.signature: String getArtifactZip(String artifact)