Move classes under eu.nebulouscloud package name

Better to use a domain name we control than the shorter `eu.nebulous`

Change-Id: I8aa6959f72075c8a619d33ee6f5ee6396e8c06e5
This commit is contained in:
Rudi Schlatte 2023-12-14 11:35:34 +01:00
parent d34afe0855
commit 40a42a6fb6
9 changed files with 19 additions and 20 deletions

View File

@ -60,7 +60,7 @@ java {
application { application {
// Define the main class for the application. // Define the main class for the application.
mainClass = 'eu.nebulous.optimiser.controller.Main' mainClass = 'eu.nebulouscloud.optimiser.controller.Main'
} }
jar { jar {

View File

@ -1,10 +1,9 @@
package eu.nebulous.optimiser.controller; package eu.nebulouscloud.optimiser.controller;
import com.amihaiemil.eoyaml.Yaml; import com.amihaiemil.eoyaml.Yaml;
import com.amihaiemil.eoyaml.YamlMapping;
import java.io.File;
import java.io.IOException; import java.io.IOException;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;

View File

@ -1,6 +1,5 @@
package eu.nebulous.optimiser.controller; package eu.nebulouscloud.optimiser.controller;
import java.io.File;
import java.io.IOException; import java.io.IOException;
import java.nio.charset.StandardCharsets; import java.nio.charset.StandardCharsets;
import java.nio.file.Files; import java.nio.file.Files;

View File

@ -1,4 +1,4 @@
package eu.nebulous.optimiser.controller; package eu.nebulouscloud.optimiser.controller;
import com.amihaiemil.eoyaml.*; import com.amihaiemil.eoyaml.*;
@ -12,7 +12,7 @@ public class NebulousApp {
/** /**
* Creates a NebulousApp object. * Creates a NebulousApp object.
* *
* Example KubeVela and parameter files can be found below {@link * Example KubeVela and parameter files can be found below {@code
* optimiser-controller/src/test/resources} * optimiser-controller/src/test/resources}
* *
* @param kubevela A parsed representation of the deployable KubeVela App model * @param kubevela A parsed representation of the deployable KubeVela App model
@ -44,8 +44,8 @@ public class NebulousApp {
/** /**
* Return the location of a path in the application's KubeVela model. * Return the location of a path in the application's KubeVela model.
* *
* @param path the path to the requested node, in {@link * @param path the path to the requested node, in yq notation (see <a
* https://mikefarah.gitbook.io/yq/ yq} notation * href="https://mikefarah.gitbook.io/yq/">https://mikefarah.gitbook.io/yq/</a>)
* @return the node identified by the given path, or null if the path * @return the node identified by the given path, or null if the path
* cannot be followed * cannot be followed
*/ */

View File

@ -1,4 +1,4 @@
package eu.nebulous.optimiser.controller; package eu.nebulouscloud.optimiser.controller;
import java.io.IOException; import java.io.IOException;
import java.net.URI; import java.net.URI;

View File

@ -1,10 +1,8 @@
package eu.nebulous.optimiser.controller; package eu.nebulouscloud.optimiser.controller;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import java.io.File;
import java.io.IOException; import java.io.IOException;
import java.net.URI;
import java.net.URISyntaxException; import java.net.URISyntaxException;
import java.net.URL; import java.net.URL;
import java.nio.charset.StandardCharsets; import java.nio.charset.StandardCharsets;
@ -12,7 +10,8 @@ import java.nio.file.Files;
import java.nio.file.Path; import java.nio.file.Path;
import java.nio.file.Paths; import java.nio.file.Paths;
import static org.junit.jupiter.api.Assertions.*; import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertTrue;
public class AppParserTest { public class AppParserTest {

View File

@ -1,10 +1,11 @@
/* /*
* This Java source file was generated by the Gradle 'init' task. * This Java source file was generated by the Gradle 'init' task.
*/ */
package eu.nebulous.optimiser.controller; package eu.nebulouscloud.optimiser.controller;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.*;
import static org.junit.jupiter.api.Assertions.assertTrue;
class MainTest { class MainTest {
@Test void noArgRunSucceeds() { @Test void noArgRunSucceeds() {

View File

@ -1,4 +1,4 @@
package eu.nebulous.optimiser.controller; package eu.nebulouscloud.optimiser.controller;
import com.github.tomakehurst.wiremock.client.WireMock; import com.github.tomakehurst.wiremock.client.WireMock;
import com.github.tomakehurst.wiremock.junit5.WireMockRuntimeInfo; import com.github.tomakehurst.wiremock.junit5.WireMockRuntimeInfo;
@ -8,7 +8,8 @@ import org.junit.jupiter.api.Test;
import java.net.URI; import java.net.URI;
import static com.github.tomakehurst.wiremock.client.WireMock.*; import static com.github.tomakehurst.wiremock.client.WireMock.*;
import static org.junit.jupiter.api.Assertions.*; import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
@WireMockTest @WireMockTest
public class SALConnectorTests { public class SALConnectorTests {

View File

@ -1,2 +1,2 @@
// This startup script applies when running `./gradlew --console plain jshell`. // This startup script applies when running `./gradlew --console plain jshell`.
import eu.nebulous.optimiser.controller.*; import eu.nebulouscloud.optimiser.controller.*;