Coder Social home page Coder Social logo

Comments (3)

arndtjonasson avatar arndtjonasson commented on August 30, 2024

See also #16.

simulator has settings.properties.

PluginWebServicePublisher.java
private final static int SOCKET_PORT = 9999;
private final static int WSDL_PORT = 9990;
private final static String PUB_ADDRESS = "http://localhost:" + WSDL_PORT + "/moped/pws";
// private final static String PUB_ADDRESS = "http://appz-ext.sics.se:" + WSDL_PORT + "/moped/pws";

PluginWebServicesImpl.java
private SuiteGen suiteGen = new SuiteGen("/lhome/sse/squawk");

ecm-core/src/main/java/network/external/CarDriver.java:
private static final int PORT = 9000;

new-server/src/main/java/service/CallMySql.java:
String url = "jdbc:mysql://localhost:3306/fresta2";

./new-server/src/main/java/service/PluginWebServicesImpl.java: private SuiteGen suiteGen = new SuiteGen("/home/arndt/moped/moped/squawk");
./new-server/src/main/java/service/PluginWebServicesImpl.java: String dir = "/home/arndt/moped/moped/webportal/moped_plugins/" + appname
./new-server/src/main/java/service/PluginWebServicesImpl.java: String zipFile = "/home/arndt/moped/moped/webportal/moped_plugins/" + appname + "/" + version + "/" + appname + ".jar";

simulator/settings.properties:APP_DIR=apps
APP_DIR is used in ecm-core
Read with PropertyAPI.getInstance().getProperty

ecm-linux/settings.properties
ecm-linux/canConfig.xml

simulator:CarFactory
and ecm-linux:Main
IReceiver receiver = ReceiverFactory.receiver("mqtt+retain+clean://iot.eclipse.org:1883/zeni/speed");
IoTManager iotManager = new IoTManager(publisher); //, receiver);

from moped.

arndtjonasson avatar arndtjonasson commented on August 30, 2024

Now also the location of the vehicleconfig.xsd schema.

from moped.

arndtjonasson avatar arndtjonasson commented on August 30, 2024

The server now uses the file settings.properties in the "new-server" directory.

from moped.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.