Commit 0a9235ef authored by Bernhard Rumpe's avatar Bernhard Rumpe

BR-sy

parent 9e266e92
Pipeline #175556 failed with stage
in 13 seconds
# (c) https://github.com/MontiCore/monticore
image: maven:3-jdk-8
......
# (c) https://github.com/MontiCore/monticore
script:
- git checkout ${TRAVIS_BRANCH}
- mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B clean install cobertura:cobertura org.eluder.coveralls:coveralls-maven-plugin:report --settings "settings.xml"
......
<!-- (c) https://github.com/MontiCore/monticore -->
# Server
![pipeline](https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/simulators/server/badges/master/build.svg)
![coverage](https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/simulators/server/badges/master/coverage.svg)
......
<?xml version="1.0" encoding="UTF-8"?>
<!-- (c) https://github.com/MontiCore/monticore -->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<artifactId>montisim</artifactId>
......
<!-- (c) https://github.com/MontiCore/monticore -->
<zone>
<name>World</name>
<isCustomLogin>false</isCustomLogin>
......
# (c) https://github.com/MontiCore/monticore
version: "3"
services:
......
@rem (c) https://github.com/MontiCore/monticore
sqlite3 world.db ".read sqlite-world.sql"
#!/bin/bash
# (c) https://github.com/MontiCore/monticore
sqlite3 world_linux.db ".read sqlite-world.sql"
@rem (c) https://github.com/MontiCore/monticore
REM Batch script
SET CONFIG_DIR=main\resources
......
#!/bin/bash
# (c) https://github.com/MontiCore/monticore
CONFIG_DIR="main/resources"
CONFIG_FILE="config.properties"
......
#!/usr/bin/env bash
# (c) https://github.com/MontiCore/monticore
# This script re-compile all *.fmu files in the current directory using
# current available c++ compiler. This makes the fmu files compatible with
......
/* (c) https://github.com/MontiCore/monticore */
sim Aachen {
sim_duration 4h;
......
/* (c) https://github.com/MontiCore/monticore */
sim Aachen {
sim_duration 4h;
......
<?xml version="1.0" encoding="UTF-8"?>
<!--
******************************************************************************
MontiCAR Modeling Family, www.se-rwth.de
Copyright (c) 2017, Software Engineering Group at RWTH Aachen,
All rights reserved.
This project is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 3.0 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this project. If not, see <http://www.gnu.org/licenses/>.
*******************************************************************************
-->
<!-- (c) https://github.com/MontiCore/monticore -->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
......
<!-- (c) https://github.com/MontiCore/monticore -->
This is the simulation server module. It provides a set of RESTful APIs for setting up, running simulation and also
......
#!/usr/bin/env bash
# (c) https://github.com/MontiCore/monticore
cp ./target/classes/app.db app.db
cp ./target/restful-2.0.0.jar app.jar
......
# (c) https://github.com/MontiCore/monticore
version: "3"
services:
......
# (c) https://github.com/MontiCore/monticore
swagger: "2.0"
info:
description: "API doc for MontiSim server"
......
<?xml version="1.0" encoding="UTF-8"?>
<!-- (c) https://github.com/MontiCore/monticore -->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
......
#!/usr/bin/env bash
# (c) https://github.com/MontiCore/monticore
# this script serves the purpose of running unitetests in gitlab-runner.
# It starts all dependent services needed before starting the tests.
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful;
import org.springframework.boot.SpringApplication;
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful;
import com.google.common.base.Predicates;
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.dao;
import org.slf4j.Logger;
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.dao;
import server.restful.model.MapModel;
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.dao;
import server.restful.model.ScenarioModel;
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.dao;
import com.fasterxml.jackson.databind.ObjectMapper;
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.graph;
import commons.controller.commons.Vertex;
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.graph;
import commons.controller.commons.Vertex;
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.graph.structures;
import structures.Edge;
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.model;
import com.fasterxml.jackson.annotation.JsonInclude;
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.model;
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.model;
import commons.controller.commons.Vertex;
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.model;
import com.fasterxml.jackson.annotation.JsonInclude;
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.model;
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.model;
import com.fasterxml.jackson.annotation.JsonInclude;
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.registry;
/**
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.registry;
import org.I0Itec.zkclient.exception.ZkTimeoutException;
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.registry;
public class RemoteAutopilotService extends RemoteService{
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.registry;
import org.I0Itec.zkclient.ZkClient;
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.registry;
import java.util.List;
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.registry;
public interface ServiceRegistry {
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.registry;
import org.I0Itec.zkclient.ZkClient;
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.registry.util;
import org.I0Itec.zkclient.IZkDataListener;
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.registry.util;
import org.I0Itec.zkclient.ZkClient;
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.service;
import commons.controller.commons.Vertex;
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.service;
import commons.controller.commons.Vertex;
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.service;
import server.restful.dao.ScenarioDAO;
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.service;
import de.monticore.lang.montisim.simlang.SimLangTool;
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.service;
import com.google.protobuf.ByteString;
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.service;
import commons.controller.commons.Vertex;
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.service;
import org.slf4j.Logger;
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.util;
import org.slf4j.Logger;
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.view;
import org.springframework.http.HttpStatus;
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.view;
import org.springframework.web.bind.annotation.*;
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.view;
import org.springframework.http.HttpStatus;
......
# (c) https://github.com/MontiCore/monticore
from peewee import *
db = SqliteDatabase("app.db")
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.api;
import org.junit.Test;
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.dao;
import org.junit.Before;
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.dao;
import org.junit.Before;
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.dao;
import org.junit.Before;
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.graph;
import org.junit.Before;
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.graph;
import commons.controller.commons.Vertex;
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.registry;
import org.junit.Test;
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.registry;
import org.junit.Test;
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.registry;
import org.I0Itec.zkclient.ZkClient;
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.registry;
import org.I0Itec.zkclient.ZkClient;
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.registry;
import org.I0Itec.zkclient.ZkClient;
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.registry.util;
import org.I0Itec.zkclient.ZkClient;
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.service;
import commons.controller.commons.Vertex;
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.service;
import commons.controller.commons.Vertex;
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.service;
import junit.framework.TestCase;
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.service;
import commons.controller.commons.Vertex;
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.service;
import org.junit.Test;
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.view;
import org.junit.Before;
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.view;
import org.junit.Assert;
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.view;
import org.junit.Assert;
......
/* (c) https://github.com/MontiCore/monticore */
package server.restful.view;
import org.junit.Assert;
......
/* (c) https://github.com/MontiCore/monticore */
sim Aachen {
sim_duration 4h;
......
/* (c) https://github.com/MontiCore/monticore */
sim LowFriction {
sim_duration 4h;
......
/* (c) https://github.com/MontiCore/monticore */
sim LowFriction {
sim_duration 4h;
......
/* (c) https://github.com/MontiCore/monticore */
sim LowFriction {
sim_duration 4h;
......
<!-- (c) https://github.com/MontiCore/monticore -->
This module implements a gRPC wrapper for MontiSim simulator.
## Install
......
#!/usr/bin/env bash
# (c) https://github.com/MontiCore/monticore
cp ../libs/fmu_for_linux/* ./
cp ./target/rpc-2.0.0-jar-with-dependencies.jar ./simulator-rpc.jar
......
<?xml version="1.0" encoding="UTF-8"?>
<!-- (c) https://github.com/MontiCore/monticore -->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
......
/* (c) https://github.com/MontiCore/monticore */
package server.adapters.AutoPilot;
import commons.controller.commons.BusEntry;
......
/* (c) https://github.com/MontiCore/monticore */
package server.adapters.interfaces;
import java.rmi.Remote;
......
/* (c) https://github.com/MontiCore/monticore */
package server.adapters.util;
import org.apache.log4j.Logger;
......
/* (c) https://github.com/MontiCore/monticore */
package server.rpc;
import org.I0Itec.zkclient.ZkClient;
......
/* (c) https://github.com/MontiCore/monticore */
package server.rpc;
import io.grpc.Server;
......
/* (c) https://github.com/MontiCore/monticore */
package server.rpc;
import com.google.protobuf.ByteString;
......
/* (c) https://github.com/MontiCore/monticore */
package server.rpc;
import commons.controller.commons.BusEntry;
......
/* (c) https://github.com/MontiCore/monticore */
package server.rpc;
import commons.controller.commons.Vertex;
......