Skip to content

Commit

Permalink
Index.html changes
Browse files Browse the repository at this point in the history
  • Loading branch information
g-goulis committed Sep 24, 2024
1 parent bb0d113 commit 7831ed0
Show file tree
Hide file tree
Showing 2 changed files with 146 additions and 110 deletions.
104 changes: 99 additions & 5 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,104 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<title>My Project Documentation</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CIMET2 Project Home</title>
<style>
code {
font-size:15px;
background-color: rgba(129, 199, 132, 0.2);
}

/* Button Styles */
.os-btn {
background-color: #81c784;
color: white;
border: none;
padding: 10px 20px;
margin: 5px;
cursor: pointer;
border-radius: 5px;
transition: background-color 0.3s ease;
}

.os-btn:hover {
background-color: #66bb6a;
}

.os-btn.active {
background-color: #004d40;
}
</style>
</head>
<body>
<h1>Welcome to My Project</h1>
<p>Navigate to the <a href="javadoc/index.html">API Documentation</a>.</p>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap" rel="stylesheet">
<body style="font-family: 'Poppins', sans-serif; margin: 0; padding: 0; background-color: #f0f8f4; color: #333;">

<header style="background-color: #81c784; color: #fff; padding: 20px; text-align: center;">
<h1 style="margin: 0;">CIMET2</h1>
<h3 style="margin: 0;">Change Impact Microservice Evolution Tool v2</h3>
</header>

<section style="padding: 20px; background-color: #ffffff; margin: 20px auto; max-width: 800px; box-shadow: 0 4px 8px rgba(0,0,0,0.1); border-left: 10px solid #81c784;">
<h2 style="border-bottom: 2px solid #81c784; padding-bottom: 10px;">Project Motivation</h2>
<p>
CIMET2 allows developers to avoid degrading the architecture of their Microservice Systems <strong>BEFORE</strong>
changes are implemented. In a world where Microservice Systems rule them all developers need a way to navigate the complex interconnections between services and understand how
new changes impact them. Our tool disrupts the traditional development process of Microservice Systems, save time, save money and use CIMET2!
</p>
</section>

<section style="padding: 20px; background-color: #ffffff; margin: 20px auto; max-width: 800px; box-shadow: 0 4px 8px rgba(0,0,0,0.1); border-left: 10px solid #81c784;">
<h2 style="border-bottom: 2px solid #81c784; padding-bottom: 10px; font-weight: 600;">Setup</h2>
<button class="os-btn" onclick="showInstructions('windows')">Windows</button>
<button class="os-btn" onclick="showInstructions('macos')">macOS</button>
<button class="os-btn" onclick="showInstructions('linux')">Linux</button>
<!-- Subsection: Prerequisites -->
<h3 style="font-weight: 600; margin-top: 20px;">Prerequisites</h3>
<p style="font-weight: 300;">
Before you begin, ensure you have met the following requirements:
<ul style="margin-left: 20px;">
<li>Operating system: Windows, macOS, or Linux</li>
<li>Git <a style="color: #004d40;" href="https://git-scm.com/downloads/">Download</a></li>
<li>Java 17+ <a style="color: #004d40;" href="https://www.oracle.com/java/technologies/downloads/">Download</a></li>
<li>Maven 3.0+ <a style="color: #004d40;" href="https://maven.apache.org/download.cgi">Download</a></li>

</ul>
</p>

<!-- Subsection: Installation -->
<h3 style="font-weight: 600; margin-top: 20px;">Installation</h3>
<p style="font-weight: 300;">
To install the project, follow these steps:
<ol style="margin-left: 20px;">
<li>Clone the repository: <code>git clone https://github.com/cloudhubs/cimet2.git</code></li>
<li>Navigate to the project directory: e.g. <code>cd repository</code></li>
<li>Install dependencies: <code>mvn install</code></li>
</ol>
</p>

<!-- Subsection: Running the Project -->
<h3 style="font-weight: 600; margin-top: 20px;">Running the Project</h3>
<p style="font-weight: 300;">
After the installation is complete, you can run the project by executing the following command:
<ul style="margin-left: 20px;">
<li>To Generate an IR: <code>mvn clean compile -P run-ir</code></li>
<li>To Generate an Delta: <code>mvn clean compile -P run-delta</code></li>
<li>To Generate an Merge: <code>mvn clean compile -P run-merge</code></li>
<li>To Generate Historical Data: <code>mvn clean compile -P run-history</code></li>
</ul>
</p>
</section>

<section style="padding: 20px; background-color: #ffffff; margin: 20px auto; max-width: 800px; box-shadow: 0 4px 8px rgba(0,0,0,0.1); border-left: 10px solid #81c784;">
<h2 style="border-bottom: 2px solid #81c784; padding-bottom: 10px;">Footnotes</h2>
<p>
</p>
</section>

<footer style="background-color: #81c784; color: #fff; padding: 20px; text-align: center;">
<p>For more information and documentation, <a href="#" style="color: #004d40;">click here</a>.</p>
</footer>

</body>
</html>
152 changes: 47 additions & 105 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
<compiler-plugin.version>3.8.1</compiler-plugin.version>

</properties>


<dependencies>
<!-- new dependencies -->
<dependency>
Expand All @@ -39,11 +37,6 @@
<artifactId>gson</artifactId>
<version>2.8.9</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.9</version>
</dependency>
<dependency>
<groupId>org.eclipse.jgit</groupId>
<artifactId>org.eclipse.jgit</artifactId>
Expand All @@ -64,64 +57,12 @@
<artifactId>jgrapht-core</artifactId>
<version>1.5.2</version>
</dependency>
<dependency>
<groupId>javax.json</groupId>
<artifactId>javax.json-api</artifactId>
<version>1.1.4</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.5.13</version>
</dependency>
<dependency>
<groupId>org.glassfish</groupId>
<artifactId>javax.json</artifactId>
<version>1.1.4</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.11.0</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>RELEASE</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>3.2.4</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-yaml</artifactId>
<version>2.13.0</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>2.13.0</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.13.0</version>
</dependency>
<dependency>
<groupId>uk.co.jemos.podam</groupId>
<artifactId>podam</artifactId>
<version>8.0.1.RELEASE</version>
</dependency>
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
Expand All @@ -134,22 +75,16 @@
</dependency>
</dependencies>

<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>

<build>
<plugins>
<!-- Maven Exec Plugin to run Java classes -->
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>${compiler-plugin.version}</version>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>${surefire-plugin.version}</version>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>3.3.0</version>
<configuration>
<mainClass>${mainClass}</mainClass>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down Expand Up @@ -181,44 +116,51 @@
</plugin>
</plugins>
</build>

<profiles>
<!-- Profile for Main Class 1 -->
<profile>
<id>native</id>
<activation>
<property>
<name>native</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
<version>${surefire-plugin.version}</version>
<executions>
<execution>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
<configuration>
<systemPropertyVariables>
<native.image.path>
${project.build.directory}/${project.build.finalName}-runner
</native.image.path>
<java.util.logging.manager>org.jboss.logmanager.LogManager
</java.util.logging.manager>
<maven.home>${maven.home}</maven.home>
</systemPropertyVariables>
</configuration>
</execution>
</executions>
</plugin>
<id>run-ir</id>
<properties>
<mainClass>edu.university.ecs.lab.intermediate.create.IRExtractionRunner</mainClass>
<build>
<defaultGoal>exec:java</defaultGoal>
</build>
</properties>
</profile>

</plugins>
</build>
<!-- Profile for Main Class 2 -->
<profile>
<id>run-delta</id>
<properties>
<quarkus.package.type>native</quarkus.package.type>
<mainClass>edu.university.ecs.lab.delta.DeltaExtractionRunner</mainClass>
<build>
<defaultGoal>exec:java</defaultGoal>
</build>
</properties>
</profile>

<!-- Add more profiles for additional main classes if needed -->
<!-- Profile for Main Class 3 -->
<profile>
<id>run-merge</id>
<properties>
<mainClass>edu.university.ecs.lab.intermediate.merge.IRMergeRunner</mainClass>
<build>
<defaultGoal>exec:java</defaultGoal>
</build>
</properties>
</profile>

<profile>
<id>run-history</id>
<properties>
<mainClass>edu.university.ecs.lab.detection.ExcelOutputRunner</mainClass>
<build>
<defaultGoal>exec:java</defaultGoal>
</build>
</properties>
</profile>
</profiles>

</project>

0 comments on commit 7831ed0

Please sign in to comment.