Task/bael 10829 (#5844)

* BAEL-10829 Clean up the parent pom of the tutorials project

- Cleaned up projects list for default-first and integration-lite-first profiles

* BAEL-10829 Fixing unit test in JGit

* BAEL-10829 Clean up the parent pom of the tutorials project

-Updated modules list for default-second and integration-lite-second profiles

* BAEL-10829 Fixed repository for structurizr libraries and api changes done in StructurizrSimple to incorporate new version
This commit is contained in:
Dhawal Kapil
2018-12-10 23:07:46 +05:30
committed by Eugen
parent 22d22c7c4e
commit 36decb42b9
6 changed files with 617 additions and 355 deletions
@@ -4,12 +4,10 @@ import java.io.File;
import java.io.StringWriter;
import com.structurizr.Workspace;
import com.structurizr.api.StructurizrClient;
import com.structurizr.api.StructurizrClientException;
import com.structurizr.componentfinder.ComponentFinder;
import com.structurizr.componentfinder.ReferencedTypesSupportingTypesStrategy;
import com.structurizr.componentfinder.SourceCodeComponentFinderStrategy;
import com.structurizr.componentfinder.SpringComponentFinderStrategy;
import com.structurizr.analysis.ComponentFinder;
import com.structurizr.analysis.ReferencedTypesSupportingTypesStrategy;
import com.structurizr.analysis.SourceCodeComponentFinderStrategy;
import com.structurizr.analysis.SpringComponentFinderStrategy;
import com.structurizr.io.WorkspaceWriterException;
import com.structurizr.io.plantuml.PlantUMLWriter;
import com.structurizr.model.Component;
@@ -112,11 +110,6 @@ public class StructurizrSimple {
view.addAllContainers();
}
private static void uploadToExternal(Workspace workspace) throws StructurizrClientException {
StructurizrClient client = new StructurizrClient("e94bc0c9-76ef-41b0-8de7-82afc1010d04", "78d555dd-2a31-487c-952c-50508f1da495");
client.putWorkspace(32961L, workspace);
}
private static void exportToPlantUml(View view) throws WorkspaceWriterException {
StringWriter stringWriter = new StringWriter();
PlantUMLWriter plantUMLWriter = new PlantUMLWriter();