-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…s as JAR products (#457) * #455 #456 Update to latest versions and run servers as JAR products #455 Update to Model Server V2 and latest GLSP version - Migrate Model Server to latest version and to V2 #456 Consider running backend services as JAR products - Run Model Server product as Java application instead of Eclipse product - TODO: Package as standalone JAR * #455 #456 Update to latest versions and run servers as JAR products #455 Update to Model Server V2 and latest GLSP version - Migrate GLSP Server to latest version 1.1.0 - Reuse EMF server and modelserver glsp integration code and remove obsolete classes #456 Consider running backend services as JAR products - Run GLSP Server product as Java application instead of Eclipse product - TODO: Package as standalone JAR * #455 #456 Update to latest versions and run servers as JAR products #456 Consider running backend services as JAR products - Run Model Server product as Java application instead of Eclipse product - Package as standalone JAR - Run GLSP Server product as Java application instead of Eclipse product - Package as standalone JAR * #455 #456 Update to latest versions - Move example project 'SuperBrewer3000' to client/workspace and adapt all paths accordingly - Rename frontend folder to client and adapt all paths - Update client code to Theia 1.27.0 an current versions of glsp, sprotty and emfcloud components - Update to newer typescript version and adapt code accordingly - Update theia plugins to newest compatible versions to ensure cpp and java debugging - Reuse tsconfig, eslint and prettier configs by eclipse-glsp - Align build scripts, devDependencies and package.json descriptions - Fix custom file icons alignment - #348 Replace run.sh script with ts-node scripts and yarn scripts - Create parent package.json that offers the main build scripts build:server and build:client as well as a convenience script that combines those two - Move copying of backend products in the build of the repsonsible client package coffee-servers and replace with ts-node script - Move all server backend registrations to coffee-servers package * #455 Update Getting Started - Enhance styling and replace outdated Theia variables - Structure Java and CPP features in detail sections - Improve link styling, behaviour and add titles * Fix leftovers * Fix ESLint warnings and leftovers * Update coffee model and use ID attributes for EObjects * Fix Coffee resource handling - Remove obsolete coffee codec - Use basic generated coffee resource implementation - Remove unused CoffeeModelServerClient * Fix Coffee commands - Ensure UUIDs are used as id attributes - Reuse notation element commands from modelserver-glsp-integration * Cleanup leftover GLSP glitches * Cleanup id attribute handling and naming * Add application branding * Fix debugging of WorkflowAnalyzerServer - Clean up start up arguments - Start wf-analyzer server with arguments to be able to connect from client in debug mode (either start:debug oder launch config external servers) * Fix diagram editor unsubscribe from Model Server * Align icons in diagram editor and coffee tree editor - Align icons for workflow elements in - GLSP tool palette - GLSP command palette - Theia tree editor * Adapt coffee model - Rename RAM member type to ramType to avoid possible overlaps with json attributes $type and type * Align CSS styling * Re-enable direct task editing via context menu on Tasks * Adapt coffee model * Update coffee-tree-editor - Update tree node factory and assign actual types and ids to the tree nodes for easier navigation and identification of the tree nodes - Update commands to new ModelServerCommand structure - Introduce typescript version of the semantic model (coffee-model) and provide type checks for all coffee model elements - Update add/remove/edit tree elements either via custom commands (e.g. add/removing nodes and flows), otherwise use json patches for editing Workarounds: - To use custom commands for editing, a simple adaptation in the model-server-client-v2 needs to be made (see PR eclipse-emfcloud/emfcloud-modelserver-theia#116), currently, we have a custom modelserver client implementation which should be removed once the PR is merged - The CoffeeMasterTreeWidget overrides the theia-tree-editor one to be able to select nodes via its unique id. If the tree-editor is updated this custom implementation should be removed again. * Fix build - Lover node engine requirement to node 14 * Remove workaround for TheiaModelServerClientV2 - Update modelserver-theia dependency - Remove custom CoffeeModelServerClient * Update test resources for AnalyzeWorkflowTest - Update wfconfig and coffee test resources to match current metamodels * Fix graphical model comparison * Revert node colors For clearer colors during comparison * Update dockerfile to node 14 * Removed validation questions from ModelServerAccess I will open a follow up for this. * Removed "no duplicate GLSP Editor" code Is no longer needed, as we create files with new URIs during the compare * Update README * Update CSS styling - Update colors for weighted flows - Merge comparison css rules and add rules for arrow heads - Align CSS colors of workflow analyser with diagram colors * Fix ControlUnit child creation in tree-editor - Ensure element creation of nested components for new ControlUnits - Add workspace specific Theia settings - Disable auto-save for example workspace - Remove node version restriction (also works with node 16) * Fix diagram node label edit validation - Fix label edit validation in GLSP diagram - Revert node version restriction to `>=14 <16` * Address Eugen's review comments - Remove unused variables - Introduce CSS variables for common colors - Update README Co-authored-by: Simon Graband <[email protected]>
- Loading branch information
Showing
371 changed files
with
11,682 additions
and
12,826 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ RUN apt-get update && \ | |
|
||
RUN update-alternatives --install /usr/bin/clangd clangd /usr/bin/clangd-10 100 | ||
|
||
RUN curl -fsSL https://deb.nodesource.com/setup_12.x | bash - && \ | ||
RUN curl -fsSL https://deb.nodesource.com/setup_14.x | bash - && \ | ||
apt-get install nodejs -y && \ | ||
npm install -g yarn | ||
|
||
|
@@ -23,19 +23,20 @@ WORKDIR /coffee-editor | |
COPY --chown=theia:theia . . | ||
USER theia | ||
|
||
RUN ./run.sh -bcf && \ | ||
cp ./web/favicon.ico ./web/browser-app/lib | ||
RUN sed -i 's/<\/head>/<link rel="icon" href="favicon.ico" \/><\/head>/g' web/browser-app/lib/index.html | ||
# Trigger build: Build backend, build client | ||
RUN yarn build | ||
RUN cp ./client/favicon.ico ./client/browser-app/lib | ||
RUN sed -i 's/<\/head>/<link rel="icon" href="favicon.ico" \/><\/head>/g' client/browser-app/lib/index.html | ||
|
||
WORKDIR /coffee-editor/backend/examples/SuperBrewer3000 | ||
WORKDIR /coffee-editor/client/workspace/SuperBrewer3000 | ||
|
||
RUN git config --global user.name "Test User" | ||
RUN git config --global user.email "[email protected]" | ||
RUN git init | ||
RUN git add * | ||
RUN git commit -m "init" | ||
|
||
WORKDIR /coffee-editor/web/browser-app | ||
WORKDIR /coffee-editor/client/browser-app | ||
|
||
EXPOSE 3000 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
# Compiled class file | ||
*.class | ||
|
||
# Log file | ||
# Log files | ||
*.log | ||
*.log.gz | ||
|
||
# BlueJ files | ||
*.ctxt | ||
|
2 changes: 0 additions & 2 deletions
2
backend/examples/SuperBrewer3000/.settings/org.eclipse.core.resources.prefs
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.