Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
YanSergey committed Nov 4, 2022
2 parents 32d0dcd + e842303 commit 073f362
Show file tree
Hide file tree
Showing 72 changed files with 16,217 additions and 9,763 deletions.
7 changes: 7 additions & 0 deletions clusterAdminApplication/.checkstyle
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>

<fileset-config file-format-version="1.2.0" simple-config="true" sync-formatter="false">
<fileset name="all" enabled="true" check-config-name="Google Checks" local="false">
<file-match-pattern match-pattern="." include-pattern="true"/>
</fileset>
</fileset-config>
17 changes: 17 additions & 0 deletions clusterAdminApplication/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,22 @@
<attribute name="test" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" path="target/generated-sources/annotations">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
<attribute name="ignore_optional_problems" value="true"/>
<attribute name="m2e-apt" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes" path="target/generated-test-sources/test-annotations">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
<attribute name="ignore_optional_problems" value="true"/>
<attribute name="m2e-apt" value="true"/>
<attribute name="test" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>
</classpath>
2 changes: 1 addition & 1 deletion clusterAdminApplication/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/logs/
/bin/
/config.json
/config*.json
/target/
10 changes: 9 additions & 1 deletion clusterAdminApplication/.project
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,20 @@
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>net.sf.eclipsecs.core.CheckstyleBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments></arguments></buildCommand>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
<nature>net.sf.eclipsecs.core.CheckstyleNature</nature>
</natures>
</projectDescription>
386 changes: 386 additions & 0 deletions clusterAdminApplication/.settings/org.eclipse.jdt.core.prefs

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions clusterAdminApplication/.settings/org.eclipse.jdt.ui.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
eclipse.preferences.version=1
formatter_profile=org.eclipse.jdt.ui.default_profile
formatter_settings_version=21
org.eclipse.jdt.ui.ignorelowercasenames=true
org.eclipse.jdt.ui.importorder=
org.eclipse.jdt.ui.ondemandthreshold=99
org.eclipse.jdt.ui.staticondemandthreshold=99
47 changes: 29 additions & 18 deletions clusterAdminApplication/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>ru.yanygin</groupId>
<artifactId>ru.yanygin.clusterAdminApplication</artifactId>
<version>0.2.0</version>
<version>0.3.0</version>
<packaging>jar</packaging>

<properties>
Expand Down Expand Up @@ -47,22 +47,6 @@
<finalName>OneS_ClusterAdmin-${project.version}-macOS</finalName>
</build>
</profile>
<profile>
<id>windows-x86</id>
<activation>
<os>
<family>windows</family>
<arch>x86</arch>
</os>
</activation>
<properties>
<clusterAdminLibrary.artifactId>ru.yanygin.clusterAdminLibrary.windows_x86</clusterAdminLibrary.artifactId>
<swt.artifactId>org.eclipse.swt.win32.win32.x86</swt.artifactId>
</properties>
<build>
<finalName>OneS_ClusterAdmin-${project.version}-windows-x86</finalName>
</build>
</profile>
<profile>
<id>windows-x86_64</id>
<activation>
Expand All @@ -88,7 +72,7 @@
<groupId>ru.yanygin</groupId>
<!-- <artifactId>ru.yanygin.clusterAdminLibrary</artifactId> -->
<artifactId>${clusterAdminLibrary.artifactId}</artifactId>
<version>0.2.0-SNAPSHOT</version>
<version>${project.version}-SNAPSHOT</version>
</dependency>

<dependency>
Expand Down Expand Up @@ -285,6 +269,33 @@
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.1.2</version>
<dependencies>
<!-- https://mvnrepository.com/artifact/com.puppycrawl.tools/checkstyle -->
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>8.44</version>
</dependency>
</dependencies>
<configuration>
<configLocation>google_checks.xml</configLocation>
</configuration>
<executions>
<execution>
<?m2e execute onConfiguration?>
<id>validate</id>
<phase>validate</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>

</plugins>
</build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,27 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/** ClusterAdmin application. */
public class ClusterAdmin {

public static void main (String[] args) {
Logger LOGGER = LoggerFactory.getLogger("ClusterProvider"); //$NON-NLS-1$

try {
ClusterViewer window = new ClusterViewer();
window.setBlockOnOpen(true);
window.open();
Display.getCurrent().dispose();

} catch (Exception excp) {
excp.printStackTrace();
LOGGER.error("Error:", excp); //$NON-NLS-1$
}

}

private static final Logger LOGGER = LoggerFactory.getLogger("ClusterProvider"); //$NON-NLS-1$

/**
* ClusterAdmin application main.
*
* @param args - args
*/
public static void main(String[] args) {

try {
ClusterViewer window = new ClusterViewer(null);
window.setBlockOnOpen(true);
window.open();
Display.getCurrent().dispose();

} catch (Exception excp) {
excp.printStackTrace();
LOGGER.error("Error:", excp); //$NON-NLS-1$
}
}
}

0 comments on commit 073f362

Please sign in to comment.