Skip to content

Commit

Permalink
inital commit
Browse files Browse the repository at this point in the history
  • Loading branch information
aantaklidfki committed Nov 20, 2020
1 parent af28425 commit 12a7ff1
Show file tree
Hide file tree
Showing 528 changed files with 261,990 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
nbactions.xml
/build-resources/target/
/executionservice/target/
/triplestore/target/
/behaviour/target/
/common/target/
*.extract/
.idea
*.iml
/plugins/target/
/plugin-system/target/
/system/target/
/plugin-system/extensionpoints/target/
/plugin-loader/target/
/plugin-system/extension-points/target/
/plugin-system/plugin-loader/target/
/plugin-system/loader/target/
/behavior/target/
/plugin-system/plugins/TestPlugin/target/
/pluginsystem/loader/target/
/pluginsystem/plugins/StandardBTNodes/target/
/pluginsystem/plugins/STRIPSPlugin/target/
/pluginsystem/plugins/ASPPlugin/target/
/pluginsystem/pluginContainer/*
/pluginsystem/plugins/MappingPlugin/target/
/pluginsystem/plugins/NavigationPlugin/target/
/pluginsystem/plugins/MLPlugin/target/
/pluginsystem/plugins/FeinplanerPlugin/target/
/pluginsystem/plugins/ThriftPlugin/target/
/pluginsystem/endpoints/target/
/pluginsystem/plugins/MOSIMPlugin/target/
/pluginsystem/target/
/pluginsystem/plugins/target/
/target/
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "rdfbeans"]
path = rdfbeans
url = https://github.com/cyberborean/rdfbeans.git
6 changes: 6 additions & 0 deletions AUTHORS.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
The mentioned persons have worked on AJAN-Service files where the license header refers to AUTHORS.txt

André Antakli
Wolfgang Herget
Johannes Ebersold
Daniel Spieldenner
140 changes: 140 additions & 0 deletions LICENSE.txt

Large diffs are not rendered by default.

68 changes: 68 additions & 0 deletions README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
----------------------

!!! Please skip the AJAN-Editor related parts until a running version is available !!!

----------------------

1. Install:

AJAN-Service:
-> Java OpenJDK (1.8) [https://adoptopenjdk.net/]
-> Maven 3.3.9 [http://artfiles.org/apache.org/maven/maven-3/3.3.9/]
-> GIT [https://git-scm.com/book/en/v2/Getting-Started-Installing-Git/]
(optional) -> Netbeans 11.3 (Java SE) [http://netbeans.apache.org/download/nb113/nb113.html]

AJAN-Editor:
-> Nodejs 8.6 [https://nodejs.org/download/release/v8.6.0/] >> npm install
-> Ember [https://ember-cli.com/] >> ember install >> cmd: "npm install -g ember-cli"
-> Bower [https://bower.io/] >> bower install >> cmd: "npm install -g bower"

----------------------

2. Submodules:

AJAN-Service:
-> ajan-service >> cmd: "git submodule update --init --recursive"

----------------------

3. Setup

AJAN-Service:
(mvn only) -> install via mvn: run "installAJAN.bat"
(with IDE) -> Open: Netbeans -> File -> Open Project -> "ajan-service"
-> Make sure that the needed Java and Maven versions are set in Netbeans: Netbeans >> Tools >> Options >> Java
-> Build ALL modules >> Build: "AJAN Parent Project". If that doesn't work, try the following order:
"build-resources" >> "RDFBeans" >> "common" >> "behaviour" >> "triplestore" >> "executionservice" >> "Plugin System"
-> Add Variables: executionservice >> properties >> Run >> VM Options: "-Dpf4j.mode=development -Dpf4j.pluginsDir=../pluginsystem/plugins -DLoadTTLFiles=true -Dserver.port=8080"

AJAN-Triplestore:
-> Start AJAN-Triplestore with the startTriplestore.bat or with the cmd: "java -jar triplestore/target/triplestore-0.1-war-exec.jar --httpPort=8090"
->-> Visit "http://localhost:8090/workbench/" and change (without user and psw) the RDF4J Server URL to "http://localhost:8090/rdf4j"

AJAN-Editor:
-> install npm >> cmd: "npm install"
-> Start AJAN-Triplestore to add editor related repositories (if not already happened)
->-> Create new RDF Repository "editor_data": http://localhost:8090/workbench/repositories/ >> New repositories >> Type: Native Java Store, ID/Title: editor_data
->-> Create new RDF Repository "node_definitions": http://localhost:8090/workbench/repositories/ >> New repositories >> Type: Native Java Store, ID/Title: node_definitions
# Add Node Definitions
->-> Copy RDF: ajan-editor >> Triplestore Repos >> node_definitions.ttl
->-> http://localhost:8090/workbench/repositories/node_definitions/summary -> ADD -> paste RDF
# Add Templates
->-> Copy RDF: ajan-editor >> Triplestore Repos >> editor_data.trig
->-> http://localhost:8090/workbench/repositories/editor_data/summary -> ADD -> -> paste RDF

----------------------

4. RUN

AJAN-Service:
-> Run Triplestore: ajan-service -> run: "startTriplestore.bat"
(mvn only) -> run: "startAJAN.bat"
(with IDE) -> Netbeans >> executionservice >> Run

(-> the pre-modelled agent templates, behaviors, service definitions and domain knowledge can also be adapted without the editor via the turtle-files under the "ajan-service/executionservice/use-case" folder)

AJAN-Editor:
-> Run Editor >> cmd: "ember serve" (in editor installation folder)
-> http://localhost:4200 >> Choose new Triplestore >> type name and URI: http://localhost:8090/rdf4j/repositories/
20 changes: 20 additions & 0 deletions THIRDPARTYLICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
DO NOT TRANSLATE OR LOCALIZE.

********************************************************************************
All dependencies are listed in the following files with their scope and their
licenses, which are necessary for compiling, running and testing the AJAN-service
project.
********************************************************************************

THIRD-PARTY PROJECT FILES
(path in the installation)
---------------------------------------------
behaviour/THIRDPARTYLICENSE_behaviour.txt
rdfbeans/THIRDPARTYLICENSE_rdfbeans.txt
common/THIRDPARTYLICENSE_common.txt
executionservice/THIRDPARTYLICENSE_executionservice.txt
pluginsystem/loader/THIRDPARTYLICENSE_pluginsystem_loader.txt
pluginsystem/plugins/StandardBTNodes/THIRDPARTYLICENSE_pluginsystem_StandardBTNodes.txt
pluginsystem/plugins/MappingPlugin/THIRDPARTYLICENSE_pluginsystem_MappingPlugin.txt
pluginsystem/plugins/ASPPlugin/THIRDPARTYLICENSE_pluginsystem_MOSIMPlugin.txt
pluginsystem/plugins/ASPPlugin/THIRDPARTYLICENSE_pluginsystem_ASPPlugin.txt
Loading

0 comments on commit 12a7ff1

Please sign in to comment.