diff --git a/src/backend/blockchainIOT/nb-configuration.xml b/src/backend/blockchainIOT/nb-configuration.xml
new file mode 100644
index 0000000..9ce552c
--- /dev/null
+++ b/src/backend/blockchainIOT/nb-configuration.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+ JDK_11
+
+
diff --git a/src/backend/blockchainIOT/nbactions.xml b/src/backend/blockchainIOT/nbactions.xml
index 9a7bfe0..618bfed 100644
--- a/src/backend/blockchainIOT/nbactions.xml
+++ b/src/backend/blockchainIOT/nbactions.xml
@@ -13,7 +13,7 @@
${exec.vmArgs} -classpath %classpath ${exec.mainClass} ${exec.appArgs}
- uk.ac.brunel.blockchainIOT.springBoot.BlockchainIotApplication
+ uk.ac.brunel.blockchainIOT.springBoot.springApp
java
@@ -30,7 +30,7 @@
-agentlib:jdwp=transport=dt_socket,server=n,address=${jpda.address}
${exec.vmArgs} -classpath %classpath ${exec.mainClass} ${exec.appArgs}
- uk.ac.brunel.blockchainIOT.springBoot.BlockchainIotApplication
+ uk.ac.brunel.blockchainIOT.springBoot.springApp
java
true
@@ -47,7 +47,7 @@
${exec.vmArgs} -classpath %classpath ${exec.mainClass} ${exec.appArgs}
- uk.ac.brunel.blockchainIOT.springBoot.BlockchainIotApplication
+ uk.ac.brunel.blockchainIOT.springBoot.springApp
java
diff --git a/src/backend/blockchainIOT/src/main/java/uk/ac/brunel/blockchainIOT/springBoot/BlockchainIotApplication.java b/src/backend/blockchainIOT/src/main/java/uk/ac/brunel/blockchainIOT/springBoot/springApp.java
similarity index 56%
rename from src/backend/blockchainIOT/src/main/java/uk/ac/brunel/blockchainIOT/springBoot/BlockchainIotApplication.java
rename to src/backend/blockchainIOT/src/main/java/uk/ac/brunel/blockchainIOT/springBoot/springApp.java
index a2bd3cf..fd935ff 100644
--- a/src/backend/blockchainIOT/src/main/java/uk/ac/brunel/blockchainIOT/springBoot/BlockchainIotApplication.java
+++ b/src/backend/blockchainIOT/src/main/java/uk/ac/brunel/blockchainIOT/springBoot/springApp.java
@@ -4,10 +4,9 @@
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
-public class BlockchainIotApplication {
+public class springApp {
- public static void main(String[] args) {
- SpringApplication.run(BlockchainIotApplication.class, args);
- }
-
-}
+ public static void main(String[] args) {
+ SpringApplication.run(springApp.class, args);
+ }
+}
\ No newline at end of file
diff --git a/src/backend/blockchainIOT/src/main/java/uk/ac/brunel/blockchainIOT/springBoot/BlockchainIotController.java b/src/backend/blockchainIOT/src/main/java/uk/ac/brunel/blockchainIOT/springBoot/springController.java
similarity index 98%
rename from src/backend/blockchainIOT/src/main/java/uk/ac/brunel/blockchainIOT/springBoot/BlockchainIotController.java
rename to src/backend/blockchainIOT/src/main/java/uk/ac/brunel/blockchainIOT/springBoot/springController.java
index 8cb3eb4..67102af 100644
--- a/src/backend/blockchainIOT/src/main/java/uk/ac/brunel/blockchainIOT/springBoot/BlockchainIotController.java
+++ b/src/backend/blockchainIOT/src/main/java/uk/ac/brunel/blockchainIOT/springBoot/springController.java
@@ -21,7 +21,7 @@
@RestController
@RequestMapping(path = "/api/fog")
-public class BlockchainIotController {
+public class springController {
//Get specific block using blockNum identifier param
@GetMapping(value = "/block")
diff --git a/src/backend/blockchainIOT/src/test/java/uk/ac/brunel/blockchainIOT/springBoot/BlockchainIotApplicationTests.java b/src/backend/blockchainIOT/src/test/java/uk/ac/brunel/blockchainIOT/springBoot/BlockchainIotApplicationTests.java
index b09968d..c98e994 100644
--- a/src/backend/blockchainIOT/src/test/java/uk/ac/brunel/blockchainIOT/springBoot/BlockchainIotApplicationTests.java
+++ b/src/backend/blockchainIOT/src/test/java/uk/ac/brunel/blockchainIOT/springBoot/BlockchainIotApplicationTests.java
@@ -11,7 +11,7 @@
class BlockchainIotApplicationTests {
@Autowired
- private BlockchainIotController restController;
+ private springController restController;
@Test
void contextLoads() throws Exception {