Compare commits
3 Commits
master
...
vagrant-an
Author | SHA1 | Date |
---|---|---|
Riddhi Dave | a1f97eab2d | |
Linux User | 4a5f66f521 | |
Linux User | 9cf67bab33 |
|
@ -1,53 +1,7 @@
|
|||
-- MySQL dump 10.13 Distrib 8.0.17, for macos10.14 (x86_64)
|
||||
--
|
||||
-- Host: localhost Database: playground
|
||||
-- ------------------------------------------------------
|
||||
-- Server version 8.0.18
|
||||
|
||||
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
||||
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
||||
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
||||
/*!50503 SET NAMES utf8 */;
|
||||
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
||||
/*!40103 SET TIME_ZONE='+00:00' */;
|
||||
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
||||
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
||||
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||
|
||||
--
|
||||
-- Table structure for table `student_simulator`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `student_simulator`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!50503 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `student_simulator` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`student_id` varchar(45) COLLATE utf8mb4_general_ci DEFAULT NULL,
|
||||
`task_arn` varchar(512) COLLATE utf8mb4_general_ci DEFAULT NULL,
|
||||
`status` varchar(45) COLLATE utf8mb4_general_ci DEFAULT NULL,
|
||||
`time_stamp` datetime DEFAULT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
-- Dumping data for table `student_simulator`
|
||||
--
|
||||
|
||||
LOCK TABLES `student_simulator` WRITE;
|
||||
/*!40000 ALTER TABLE `student_simulator` DISABLE KEYS */;
|
||||
/*!40000 ALTER TABLE `student_simulator` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
||||
|
||||
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
||||
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
||||
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
||||
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
||||
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
||||
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
||||
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
||||
|
||||
-- Dump completed on 2020-01-06 23:21:01
|
||||
CREATE TABLE student_simulator (
|
||||
id int NOT NULL PRIMARY KEY,
|
||||
student_id varchar(45) DEFAULT NULL,
|
||||
task_arn varchar(512) DEFAULT NULL,
|
||||
status varchar(45) DEFAULT NULL,
|
||||
time_stamp date DEFAULT NULL
|
||||
);
|
||||
|
|
|
@ -1,54 +1,9 @@
|
|||
-- MySQL dump 10.13 Distrib 8.0.17, for macos10.14 (x86_64)
|
||||
--
|
||||
-- Host: localhost Database: playground
|
||||
-- ------------------------------------------------------
|
||||
-- Server version 8.0.18
|
||||
|
||||
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
||||
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
||||
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
||||
/*!50503 SET NAMES utf8 */;
|
||||
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
||||
/*!40103 SET TIME_ZONE='+00:00' */;
|
||||
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
||||
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
||||
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||
|
||||
--
|
||||
-- Table structure for table `task`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `task`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!50503 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `task` (
|
||||
`id` int(11) NOT NULL,
|
||||
`name` varchar(45) COLLATE utf8mb4_general_ci DEFAULT NULL,
|
||||
`type` varchar(45) COLLATE utf8mb4_general_ci DEFAULT NULL,
|
||||
`action` varchar(45) COLLATE utf8mb4_general_ci DEFAULT NULL,
|
||||
`url` varchar(45) COLLATE utf8mb4_general_ci DEFAULT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
-- Dumping data for table `task`
|
||||
--
|
||||
|
||||
LOCK TABLES `task` WRITE;
|
||||
/*!40000 ALTER TABLE `task` DISABLE KEYS */;
|
||||
INSERT INTO `task` VALUES (1,'Is simulator launched ?','bool','Launch Simulator',NULL),(2,'Is scripting started ?','bool','Start scripting',NULL),(3,'Is script saved ?','bool','Save script',NULL),(4,'Percentage of code completed ?','string','None',NULL);
|
||||
/*!40000 ALTER TABLE `task` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
||||
|
||||
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
||||
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
||||
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
||||
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
||||
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
||||
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
||||
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
||||
|
||||
-- Dump completed on 2020-01-06 23:21:01
|
||||
CREATE TABLE task (
|
||||
id int NOT NULL PRIMARY KEY,
|
||||
name varchar(45) DEFAULT NULL,
|
||||
type varchar(45) DEFAULT NULL,
|
||||
action varchar(45)DEFAULT NULL,
|
||||
url varchar(45) DEFAULT NULL
|
||||
|
||||
);
|
||||
INSERT INTO task VALUES (1,'Is simulator launched ?','bool','Launch Simulator',NULL),(2,'Is scripting started ?','bool','Start scripting',NULL),(3,'Is script saved ?','bool','Save script',NULL),(4,'Percentage of code completed ?','string','None',NULL);
|
||||
|
|
|
@ -1,51 +1,5 @@
|
|||
-- MySQL dump 10.13 Distrib 8.0.17, for macos10.14 (x86_64)
|
||||
--
|
||||
-- Host: localhost Database: playground
|
||||
-- ------------------------------------------------------
|
||||
-- Server version 8.0.18
|
||||
|
||||
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
||||
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
||||
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
||||
/*!50503 SET NAMES utf8 */;
|
||||
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
||||
/*!40103 SET TIME_ZONE='+00:00' */;
|
||||
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
||||
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
||||
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||
|
||||
--
|
||||
-- Table structure for table `task_progress`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `task_progress`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!50503 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `task_progress` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`task_id` int(11) DEFAULT NULL,
|
||||
`task_progress_value` varchar(45) COLLATE utf8mb4_general_ci DEFAULT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
-- Dumping data for table `task_progress`
|
||||
--
|
||||
|
||||
LOCK TABLES `task_progress` WRITE;
|
||||
/*!40000 ALTER TABLE `task_progress` DISABLE KEYS */;
|
||||
/*!40000 ALTER TABLE `task_progress` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
||||
|
||||
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
||||
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
||||
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
||||
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
||||
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
||||
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
||||
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
||||
|
||||
-- Dump completed on 2020-01-06 23:21:01
|
||||
CREATE TABLE task_progress (
|
||||
id int NOT NULL PRIMARY KEY,
|
||||
task_id int DEFAULT NULL,
|
||||
task_progress_value varchar(45) DEFAULT NULL
|
||||
);
|
||||
|
|
|
@ -1,56 +1,10 @@
|
|||
-- MySQL dump 10.13 Distrib 8.0.17, for macos10.14 (x86_64)
|
||||
--
|
||||
-- Host: localhost Database: playground
|
||||
-- ------------------------------------------------------
|
||||
-- Server version 8.0.18
|
||||
|
||||
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
||||
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
||||
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
||||
/*!50503 SET NAMES utf8 */;
|
||||
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
||||
/*!40103 SET TIME_ZONE='+00:00' */;
|
||||
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
||||
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
||||
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||
|
||||
--
|
||||
-- Table structure for table `user_competition`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `user_competition`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!50503 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `user_competition` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`user_id` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
|
||||
`comp_id` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
|
||||
`task_id` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
|
||||
`task_name` varchar(45) COLLATE utf8mb4_general_ci DEFAULT NULL,
|
||||
`task_progress` varchar(45) COLLATE utf8mb4_general_ci DEFAULT NULL,
|
||||
`task_action` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
|
||||
`task_url` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=59 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
-- Dumping data for table `user_competition`
|
||||
--
|
||||
|
||||
LOCK TABLES `user_competition` WRITE;
|
||||
/*!40000 ALTER TABLE `user_competition` DISABLE KEYS */;
|
||||
/*!40000 ALTER TABLE `user_competition` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
||||
|
||||
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
||||
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
||||
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
||||
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
||||
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
||||
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
||||
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
||||
|
||||
-- Dump completed on 2020-01-06 23:21:00
|
||||
CREATE TABLE user_competition (
|
||||
id int NOT NULL PRIMARY KEY,
|
||||
user_id varchar(255)DEFAULT NULL,
|
||||
comp_id varchar(255) DEFAULT NULL,
|
||||
task_id varchar(255) DEFAULT NULL,
|
||||
task_name varchar(45)DEFAULT NULL,
|
||||
task_progress varchar(45) DEFAULT NULL,
|
||||
task_action varchar(255) DEFAULT NULL,
|
||||
task_url varchar(255) DEFAULT NULL
|
||||
);
|
||||
|
|
4
pom.xml
4
pom.xml
|
@ -67,8 +67,8 @@
|
|||
<artifactId>spring-boot-starter-jdbc</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>mysql</groupId>
|
||||
<artifactId>mysql-connector-java</artifactId>
|
||||
<groupId>org.postgresql</groupId>
|
||||
<artifactId>postgresql</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.amazonaws</groupId>
|
||||
|
|
|
@ -19,6 +19,7 @@ public class SecurityConfiguration extends WebSecurityConfigurerAdapter {
|
|||
@Override
|
||||
protected void configure(HttpSecurity http) throws Exception {
|
||||
http
|
||||
.cors().and()
|
||||
.oauth2Login().and()
|
||||
.csrf()
|
||||
.csrfTokenRepository(CookieCsrfTokenRepository.withHttpOnlyFalse())
|
||||
|
|
|
@ -28,7 +28,7 @@ public class SimpleCORSFilter implements Filter {
|
|||
HttpServletRequest request = (HttpServletRequest) req;
|
||||
HttpServletResponse response = (HttpServletResponse) res;
|
||||
//request.getHeader("Origin")
|
||||
response.setHeader("Access-Control-Allow-Origin", "http://localhost:3000");
|
||||
response.setHeader("Access-Control-Allow-Origin", request.getHeader("Origin"));
|
||||
response.setHeader("Access-Control-Allow-Credentials", "true");
|
||||
response.setHeader("Access-Control-Allow-Methods", "POST, GET, OPTIONS, DELETE");
|
||||
response.setHeader("Access-Control-Max-Age", "600000");
|
||||
|
@ -45,4 +45,4 @@ public class SimpleCORSFilter implements Filter {
|
|||
public void destroy() {
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,7 +6,6 @@ import org.springframework.web.bind.annotation.*;
|
|||
import java.util.Map;
|
||||
|
||||
|
||||
@CrossOrigin(origins = "http://localhost:3000")
|
||||
@RestController
|
||||
@RequestMapping("/simulator")
|
||||
public class SimulatorController {
|
||||
|
@ -16,6 +15,7 @@ public class SimulatorController {
|
|||
|
||||
@GetMapping("/start/{user_id}/{name}/{pwd}")
|
||||
public Map startSimulator(@PathVariable String user_id, @PathVariable String name, @PathVariable String pwd) throws InterruptedException {
|
||||
|
||||
return service.startSimulator(user_id, name, pwd);
|
||||
}
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ public class UserController {
|
|||
private ClientRegistration registration;
|
||||
|
||||
public UserController(ClientRegistrationRepository registrations) {
|
||||
this.registration = registrations.findByRegistrationId("okta");
|
||||
this.registration = registrations.findByRegistrationId("spirisim");
|
||||
}
|
||||
|
||||
@GetMapping("/api/user")
|
||||
|
|
|
@ -14,10 +14,9 @@ spring:
|
|||
okta:
|
||||
issuer-uri: https://dev-125890.okta.com/oauth2/default
|
||||
datasource:
|
||||
driver-class-name: com.mysql.jdbc.Driver
|
||||
password: riddhidave
|
||||
url: jdbc:mysql://localhost:3306/playground?userSSL=false
|
||||
username: root
|
||||
driver-class-name: org.postgresql.Driver
|
||||
url: jdbc:postgresql:spirisim
|
||||
username: spirisim
|
||||
jpa:
|
||||
generate-ddl: true
|
||||
hibernate:
|
||||
|
|
|
@ -14,10 +14,10 @@ spring:
|
|||
okta:
|
||||
issuer-uri: https://dev-125890.okta.com/oauth2/default
|
||||
datasource:
|
||||
driver-class-name: com.mysql.jdbc.Driver
|
||||
driver-class-name: org.postgresql.Driver
|
||||
password: riddhidave
|
||||
url: jdbc:mysql://localhost:3306/playground?userSSL=false
|
||||
username: root
|
||||
url: jdbc:postgresql:spirisim
|
||||
username: spirisim
|
||||
jpa:
|
||||
generate-ddl: true
|
||||
hibernate:
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -1,4 +1,4 @@
|
|||
#Created by Apache Maven 3.6.0
|
||||
#Created by Apache Maven 3.6.3
|
||||
groupId=com.example
|
||||
artifactId=springbootapp
|
||||
version=0.0.1-SNAPSHOT
|
||||
|
|
|
@ -10,8 +10,8 @@ com/example/springbootapp/repository/CompetitionRepository.class
|
|||
com/example/springbootapp/model/UserCompetition.class
|
||||
com/example/springbootapp/model/User.class
|
||||
com/example/springbootapp/repository/SimulatorRepository.class
|
||||
com/example/springbootapp/config/SimpleCORSFilter.class
|
||||
com/example/springbootapp/controllers/RedirectController.class
|
||||
com/example/springbootapp/config/SimpleCORSFilter.class
|
||||
com/example/springbootapp/model/Task.class
|
||||
com/example/springbootapp/controllers/SimulatorController.class
|
||||
com/example/springbootapp/services/CompetitionService.class
|
||||
|
|
|
@ -1,24 +1,24 @@
|
|||
/home/riddhi/simulation/backend/src/main/java/com/example/springbootapp/model/User.java
|
||||
/home/riddhi/simulation/backend/src/main/java/com/example/springbootapp/repository/CompetitionRepository.java
|
||||
/home/riddhi/simulation/backend/src/main/java/com/example/springbootapp/model/StudentSimulator.java
|
||||
/home/riddhi/simulation/backend/src/main/java/com/example/springbootapp/services/TaskServiceImpl.java
|
||||
/home/riddhi/simulation/backend/src/main/java/com/example/springbootapp/services/SimulatorServiceImpl.java
|
||||
/home/riddhi/simulation/backend/src/main/java/com/example/springbootapp/services/CompetitionService.java
|
||||
/home/riddhi/simulation/backend/src/main/java/com/example/springbootapp/config/SecurityConfiguration.java
|
||||
/home/riddhi/simulation/backend/src/main/java/com/example/springbootapp/repository/SimulatorRepository.java
|
||||
/home/riddhi/simulation/backend/src/main/java/com/example/springbootapp/schedulers/ScheduledTasks.java
|
||||
/home/riddhi/simulation/backend/src/main/java/com/example/springbootapp/model/Task.java
|
||||
/home/riddhi/simulation/backend/src/main/java/com/example/springbootapp/controllers/CompetitionController.java
|
||||
/home/riddhi/simulation/backend/src/main/java/com/example/springbootapp/controllers/TaskController.java
|
||||
/home/riddhi/simulation/backend/src/main/java/com/example/springbootapp/model/TaskProgress.java
|
||||
/home/riddhi/simulation/backend/src/main/java/com/example/springbootapp/SpringbootappApplication.java
|
||||
/home/riddhi/simulation/backend/src/main/java/com/example/springbootapp/services/SimulatorService.java
|
||||
/home/riddhi/simulation/backend/src/main/java/com/example/springbootapp/services/TaskService.java
|
||||
/home/riddhi/simulation/backend/src/main/java/com/example/springbootapp/controllers/SimulatorController.java
|
||||
/home/riddhi/simulation/backend/src/main/java/com/example/springbootapp/repository/UserRepository.java
|
||||
/home/riddhi/simulation/backend/src/main/java/com/example/springbootapp/controllers/RedirectController.java
|
||||
/home/riddhi/simulation/backend/src/main/java/com/example/springbootapp/services/CompetitionServiceImpl.java
|
||||
/home/riddhi/simulation/backend/src/main/java/com/example/springbootapp/config/SimpleCORSFilter.java
|
||||
/home/riddhi/simulation/backend/src/main/java/com/example/springbootapp/controllers/UserController.java
|
||||
/home/riddhi/simulation/backend/src/main/java/com/example/springbootapp/model/UserCompetition.java
|
||||
/home/riddhi/simulation/backend/src/main/java/com/example/springbootapp/repository/TaskRepository.java
|
||||
/home/vagrant/Gazebo_simulation-Backend/src/main/java/com/example/springbootapp/repository/CompetitionRepository.java
|
||||
/home/vagrant/Gazebo_simulation-Backend/src/main/java/com/example/springbootapp/controllers/CompetitionController.java
|
||||
/home/vagrant/Gazebo_simulation-Backend/src/main/java/com/example/springbootapp/repository/UserRepository.java
|
||||
/home/vagrant/Gazebo_simulation-Backend/src/main/java/com/example/springbootapp/controllers/RedirectController.java
|
||||
/home/vagrant/Gazebo_simulation-Backend/src/main/java/com/example/springbootapp/services/CompetitionServiceImpl.java
|
||||
/home/vagrant/Gazebo_simulation-Backend/src/main/java/com/example/springbootapp/services/CompetitionService.java
|
||||
/home/vagrant/Gazebo_simulation-Backend/src/main/java/com/example/springbootapp/services/SimulatorService.java
|
||||
/home/vagrant/Gazebo_simulation-Backend/src/main/java/com/example/springbootapp/repository/SimulatorRepository.java
|
||||
/home/vagrant/Gazebo_simulation-Backend/src/main/java/com/example/springbootapp/schedulers/ScheduledTasks.java
|
||||
/home/vagrant/Gazebo_simulation-Backend/src/main/java/com/example/springbootapp/services/TaskService.java
|
||||
/home/vagrant/Gazebo_simulation-Backend/src/main/java/com/example/springbootapp/SpringbootappApplication.java
|
||||
/home/vagrant/Gazebo_simulation-Backend/src/main/java/com/example/springbootapp/config/SecurityConfiguration.java
|
||||
/home/vagrant/Gazebo_simulation-Backend/src/main/java/com/example/springbootapp/controllers/TaskController.java
|
||||
/home/vagrant/Gazebo_simulation-Backend/src/main/java/com/example/springbootapp/config/SimpleCORSFilter.java
|
||||
/home/vagrant/Gazebo_simulation-Backend/src/main/java/com/example/springbootapp/controllers/UserController.java
|
||||
/home/vagrant/Gazebo_simulation-Backend/src/main/java/com/example/springbootapp/controllers/SimulatorController.java
|
||||
/home/vagrant/Gazebo_simulation-Backend/src/main/java/com/example/springbootapp/model/User.java
|
||||
/home/vagrant/Gazebo_simulation-Backend/src/main/java/com/example/springbootapp/model/UserCompetition.java
|
||||
/home/vagrant/Gazebo_simulation-Backend/src/main/java/com/example/springbootapp/model/StudentSimulator.java
|
||||
/home/vagrant/Gazebo_simulation-Backend/src/main/java/com/example/springbootapp/services/TaskServiceImpl.java
|
||||
/home/vagrant/Gazebo_simulation-Backend/src/main/java/com/example/springbootapp/model/TaskProgress.java
|
||||
/home/vagrant/Gazebo_simulation-Backend/src/main/java/com/example/springbootapp/model/Task.java
|
||||
/home/vagrant/Gazebo_simulation-Backend/src/main/java/com/example/springbootapp/services/SimulatorServiceImpl.java
|
||||
/home/vagrant/Gazebo_simulation-Backend/src/main/java/com/example/springbootapp/repository/TaskRepository.java
|
||||
|
|
|
@ -1 +1 @@
|
|||
/home/riddhi/simulation/backend/src/test/java/com/example/springbootapp/SpringbootappApplicationTests.java
|
||||
/home/vagrant/Gazebo_simulation-Backend/src/test/java/com/example/springbootapp/SpringbootappApplicationTests.java
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,14 @@
|
|||
# Created at 2020-12-23T20:00:06.313
|
||||
System.exit() or native command error interrupted process checker.
|
||||
java.lang.IllegalStateException: Cannot use PPID 9623 process information. Going to use NOOP events.
|
||||
at org.apache.maven.surefire.booter.PpidChecker.checkProcessInfo(PpidChecker.java:155)
|
||||
at org.apache.maven.surefire.booter.PpidChecker.isProcessAlive(PpidChecker.java:124)
|
||||
at org.apache.maven.surefire.booter.ForkedBooter$2.run(ForkedBooter.java:214)
|
||||
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
|
||||
at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
|
||||
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
|
||||
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
|
||||
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
|
||||
at java.base/java.lang.Thread.run(Thread.java:834)
|
||||
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
# Created at 2020-12-23T21:08:08.683
|
||||
System.exit() or native command error interrupted process checker.
|
||||
java.lang.IllegalStateException: Cannot use PPID 10916 process information. Going to use NOOP events.
|
||||
at org.apache.maven.surefire.booter.PpidChecker.checkProcessInfo(PpidChecker.java:155)
|
||||
at org.apache.maven.surefire.booter.PpidChecker.isProcessAlive(PpidChecker.java:124)
|
||||
at org.apache.maven.surefire.booter.ForkedBooter$2.run(ForkedBooter.java:214)
|
||||
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
|
||||
at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
|
||||
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
|
||||
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
|
||||
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
|
||||
at java.base/java.lang.Thread.run(Thread.java:834)
|
||||
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
# Created at 2020-12-23T21:15:30.131
|
||||
System.exit() or native command error interrupted process checker.
|
||||
java.lang.IllegalStateException: Cannot use PPID 11163 process information. Going to use NOOP events.
|
||||
at org.apache.maven.surefire.booter.PpidChecker.checkProcessInfo(PpidChecker.java:155)
|
||||
at org.apache.maven.surefire.booter.PpidChecker.isProcessAlive(PpidChecker.java:124)
|
||||
at org.apache.maven.surefire.booter.ForkedBooter$2.run(ForkedBooter.java:214)
|
||||
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
|
||||
at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
|
||||
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
|
||||
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
|
||||
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
|
||||
at java.base/java.lang.Thread.run(Thread.java:834)
|
||||
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
# Created at 2020-12-30T15:52:28.995
|
||||
System.exit() or native command error interrupted process checker.
|
||||
java.lang.IllegalStateException: Cannot use PPID 2774 process information. Going to use NOOP events.
|
||||
at org.apache.maven.surefire.booter.PpidChecker.checkProcessInfo(PpidChecker.java:155)
|
||||
at org.apache.maven.surefire.booter.PpidChecker.isProcessAlive(PpidChecker.java:124)
|
||||
at org.apache.maven.surefire.booter.ForkedBooter$2.run(ForkedBooter.java:214)
|
||||
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
|
||||
at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
|
||||
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
|
||||
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
|
||||
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
|
||||
at java.base/java.lang.Thread.run(Thread.java:834)
|
||||
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
# Created at 2020-12-30T16:30:24.598
|
||||
System.exit() or native command error interrupted process checker.
|
||||
java.lang.IllegalStateException: Cannot use PPID 2448 process information. Going to use NOOP events.
|
||||
at org.apache.maven.surefire.booter.PpidChecker.checkProcessInfo(PpidChecker.java:155)
|
||||
at org.apache.maven.surefire.booter.PpidChecker.isProcessAlive(PpidChecker.java:124)
|
||||
at org.apache.maven.surefire.booter.ForkedBooter$2.run(ForkedBooter.java:214)
|
||||
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
|
||||
at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
|
||||
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
|
||||
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
|
||||
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
|
||||
at java.base/java.lang.Thread.run(Thread.java:834)
|
||||
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
# Created at 2020-12-30T17:15:39.181
|
||||
System.exit() or native command error interrupted process checker.
|
||||
java.lang.IllegalStateException: Cannot use PPID 2783 process information. Going to use NOOP events.
|
||||
at org.apache.maven.surefire.booter.PpidChecker.checkProcessInfo(PpidChecker.java:155)
|
||||
at org.apache.maven.surefire.booter.PpidChecker.isProcessAlive(PpidChecker.java:124)
|
||||
at org.apache.maven.surefire.booter.ForkedBooter$2.run(ForkedBooter.java:214)
|
||||
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
|
||||
at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
|
||||
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
|
||||
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
|
||||
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
|
||||
at java.base/java.lang.Thread.run(Thread.java:834)
|
||||
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
# Created at 2020-12-30T17:40:27.712
|
||||
System.exit() or native command error interrupted process checker.
|
||||
java.lang.IllegalStateException: Cannot use PPID 3208 process information. Going to use NOOP events.
|
||||
at org.apache.maven.surefire.booter.PpidChecker.checkProcessInfo(PpidChecker.java:155)
|
||||
at org.apache.maven.surefire.booter.PpidChecker.isProcessAlive(PpidChecker.java:124)
|
||||
at org.apache.maven.surefire.booter.ForkedBooter$2.run(ForkedBooter.java:214)
|
||||
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
|
||||
at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
|
||||
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
|
||||
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
|
||||
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
|
||||
at java.base/java.lang.Thread.run(Thread.java:834)
|
||||
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
# Created at 2020-12-30T17:48:39.137
|
||||
System.exit() or native command error interrupted process checker.
|
||||
java.lang.IllegalStateException: Cannot use PPID 3413 process information. Going to use NOOP events.
|
||||
at org.apache.maven.surefire.booter.PpidChecker.checkProcessInfo(PpidChecker.java:155)
|
||||
at org.apache.maven.surefire.booter.PpidChecker.isProcessAlive(PpidChecker.java:124)
|
||||
at org.apache.maven.surefire.booter.ForkedBooter$2.run(ForkedBooter.java:214)
|
||||
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
|
||||
at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
|
||||
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
|
||||
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
|
||||
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
|
||||
at java.base/java.lang.Thread.run(Thread.java:834)
|
||||
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
# Created at 2020-12-30T17:53:16.073
|
||||
System.exit() or native command error interrupted process checker.
|
||||
java.lang.IllegalStateException: Cannot use PPID 3551 process information. Going to use NOOP events.
|
||||
at org.apache.maven.surefire.booter.PpidChecker.checkProcessInfo(PpidChecker.java:155)
|
||||
at org.apache.maven.surefire.booter.PpidChecker.isProcessAlive(PpidChecker.java:124)
|
||||
at org.apache.maven.surefire.booter.ForkedBooter$2.run(ForkedBooter.java:214)
|
||||
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
|
||||
at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
|
||||
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
|
||||
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
|
||||
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
|
||||
at java.base/java.lang.Thread.run(Thread.java:834)
|
||||
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
# Created at 2020-12-30T17:56:28.741
|
||||
System.exit() or native command error interrupted process checker.
|
||||
java.lang.IllegalStateException: Cannot use PPID 3668 process information. Going to use NOOP events.
|
||||
at org.apache.maven.surefire.booter.PpidChecker.checkProcessInfo(PpidChecker.java:155)
|
||||
at org.apache.maven.surefire.booter.PpidChecker.isProcessAlive(PpidChecker.java:124)
|
||||
at org.apache.maven.surefire.booter.ForkedBooter$2.run(ForkedBooter.java:214)
|
||||
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
|
||||
at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
|
||||
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
|
||||
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
|
||||
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
|
||||
at java.base/java.lang.Thread.run(Thread.java:834)
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
|
@ -1,4 +1,4 @@
|
|||
-------------------------------------------------------------------------------
|
||||
Test set: com.example.springbootapp.SpringbootappApplicationTests
|
||||
-------------------------------------------------------------------------------
|
||||
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.668 s - in com.example.springbootapp.SpringbootappApplicationTests
|
||||
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.195 s - in com.example.springbootapp.SpringbootappApplicationTests
|
||||
|
|
Loading…
Reference in New Issue