Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/krusty84/filesystem_oslc_connector
https://github.com/krusty84/filesystem_oslc_connector
integration integration-oslc lyo-designer oslc oslc-query oslc-samples
Last synced: 10 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/krusty84/filesystem_oslc_connector
- Owner: Krusty84
- License: mit
- Created: 2022-12-18T17:49:03.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-02T19:29:07.000Z (4 months ago)
- Last Synced: 2024-11-12T03:19:38.798Z (2 months ago)
- Topics: integration, integration-oslc, lyo-designer, oslc, oslc-query, oslc-samples
- Language: Java
- Homepage:
- Size: 97.3 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
The small, demo project - it represents folder contents via OSLC specification, this adapter (connector) was generated based on filesystem_connector_model model
plus some pieces of code:Find /***krusty84* , or <%--krusty84*, for identyfing my pieces of code
Find the **readme.txt** files, for getting some extra comments about something in this project
In this project was added the following classes:
- **FileSystemConnect_Helper.java** - the various methods to communicate with file system
- **GlobalConstantsVariables.java**In **RestDelegate.java:**
**public static String pathToRootFolder="C:\\Temp";**
you may change the path to the exposing folderThe web-app port: **8181**
In Eclipse, create the new Run configuration for Maven Build, Goals: **clean install jetty:run**
This connector was created based on the following project:
https://github.com/OSLC/lyo-adaptor-sample-modelling/Create System Variable: **LOG_PATH** with path to folder for log files
## Prerequisites
**Eclipse 2022-03 (4.23.0) or 2022-12 (4.26.0)** - Eclipse IDE for Enterprise Java and Web Developers
**Eclipse Lyo Designer 5.0.0**
**Apache Maven 3.8.6**
**JDK 11** - https://jdk.java.net/archive
## Tips & Trick
In some cases embedded Swager doesn't working (some troubles with loading swagger*.js), for resolve it:
copy all files from: ...\filesystem-oslc-connector-webapp\target\swagger-ui\META-INF\resources\webjars\swagger-ui\3.52.5\ to the ...\filesystem-oslc-connector-webapp\src\main\webapp\swagger-ui\dist\