Files
Spring Operator e08a6919ba URL Cleanup
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

These URLs were unable to be fixed. Please review them to see if they can be manually resolved.

* [ ] http://browserify.org/ (200) with 1 occurrences could not be migrated:
   ([https](https://browserify.org/) result SSLHandshakeException).
* [ ] http://phantomjs.org/ (200) with 1 occurrences could not be migrated:
   ([https](https://phantomjs.org/) result SSLHandshakeException).
* [ ] http://wiki.commonjs.org/wiki/Unit_Testing/1.0 (200) with 2 occurrences could not be migrated:
   ([https](https://wiki.commonjs.org/wiki/Unit_Testing/1.0) result SSLHandshakeException).
* [ ] http://www.prototypejs.org/ (301) with 1 occurrences could not be migrated:
   ([https](https://www.prototypejs.org/) result SSLHandshakeException).
* [ ] http://narwhaljs.org (404) with 2 occurrences could not be migrated:
   ([https](https://narwhaljs.org) result SSLHandshakeException).

These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.

* [ ] http://wiki.ecmascript.org/doku.php?id=harmony:egal (ConnectTimeoutException) with 1 occurrences migrated to:
  https://wiki.ecmascript.org/doku.php?id=harmony:egal ([https](https://wiki.ecmascript.org/doku.php?id=harmony:egal) result ConnectTimeoutException).
* [ ] http://wiki.ecmascript.org/doku.php?id=harmony:specification_drafts (ConnectTimeoutException) with 1 occurrences migrated to:
  https://wiki.ecmascript.org/doku.php?id=harmony:specification_drafts ([https](https://wiki.ecmascript.org/doku.php?id=harmony:specification_drafts) result ConnectTimeoutException).
* [ ] http://documentup.com/arturadib/shelljs (404) with 1 occurrences migrated to:
  https://documentup.com/arturadib/shelljs ([https](https://documentup.com/arturadib/shelljs) result 404).
* [ ] http://jshint.com/doc/options/ (301) with 2 occurrences migrated to:
  https://jshint.com/doc/options/ ([https](https://jshint.com/doc/options/) result 404).
* [ ] http://www.jointjs.com/tutorial/ports (301) with 2 occurrences migrated to:
  https://www.jointjs.com/tutorial/ports ([https](https://www.jointjs.com/tutorial/ports) result 404).
* [ ] http://www.thymeleaf.org/thymeleaf-extras-springsecurity3 (301) with 2 occurrences migrated to:
  https://www.thymeleaf.org/thymeleaf-extras-springsecurity3 ([https](https://www.thymeleaf.org/thymeleaf-extras-springsecurity3) result 404).

These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* [ ] http://cloud.spring.io/spring-cloud-dataflow/ with 1 occurrences migrated to:
  https://cloud.spring.io/spring-cloud-dataflow/ ([https](https://cloud.spring.io/spring-cloud-dataflow/) result 200).
* [ ] http://codemirror.net with 1 occurrences migrated to:
  https://codemirror.net ([https](https://codemirror.net) result 200).
* [ ] http://codemirror.net/LICENSE with 17 occurrences migrated to:
  https://codemirror.net/LICENSE ([https](https://codemirror.net/LICENSE) result 200).
* [ ] http://couchdb.apache.org/ with 1 occurrences migrated to:
  https://couchdb.apache.org/ ([https](https://couchdb.apache.org/) result 200).
* [ ] http://dojotoolkit.org/ with 1 occurrences migrated to:
  https://dojotoolkit.org/ ([https](https://dojotoolkit.org/) result 200).
* [ ] http://en.wikipedia.org/wiki/ANSI_escape_code with 1 occurrences migrated to:
  https://en.wikipedia.org/wiki/ANSI_escape_code ([https](https://en.wikipedia.org/wiki/ANSI_escape_code) result 200).
* [ ] http://en.wikipedia.org/wiki/Cyclomatic_complexity with 1 occurrences migrated to:
  https://en.wikipedia.org/wiki/Cyclomatic_complexity ([https](https://en.wikipedia.org/wiki/Cyclomatic_complexity) result 200).
* [ ] http://en.wikipedia.org/wiki/Fisher with 1 occurrences migrated to:
  https://en.wikipedia.org/wiki/Fisher ([https](https://en.wikipedia.org/wiki/Fisher) result 200).
* [ ] http://en.wikipedia.org/wiki/Windows_Script_Host with 1 occurrences migrated to:
  https://en.wikipedia.org/wiki/Windows_Script_Host ([https](https://en.wikipedia.org/wiki/Windows_Script_Host) result 200).
* [ ] http://es5.github.io/ with 1 occurrences migrated to:
  https://es5.github.io/ ([https](https://es5.github.io/) result 200).
* [ ] http://fonts.googleapis.com/css?family=Open+Sans|Montserrat:400,700 with 1 occurrences migrated to:
  https://fonts.googleapis.com/css?family=Open+Sans|Montserrat:400,700 ([https](https://fonts.googleapis.com/css?family=Open+Sans|Montserrat:400,700) result 200).
* [ ] http://fonts.googleapis.com/css?family=Roboto|Montserrat:400,700 with 1 occurrences migrated to:
  https://fonts.googleapis.com/css?family=Roboto|Montserrat:400,700 ([https](https://fonts.googleapis.com/css?family=Roboto|Montserrat:400,700) result 200).
* [ ] http://fonts.googleapis.com/css?family=Ubuntu+Mono|Montserrat:400,700 with 1 occurrences migrated to:
  https://fonts.googleapis.com/css?family=Ubuntu+Mono|Montserrat:400,700 ([https](https://fonts.googleapis.com/css?family=Ubuntu+Mono|Montserrat:400,700) result 200).
* [ ] http://fonts.googleapis.com/css?family=Varela+Round|Montserrat:400,700 with 1 occurrences migrated to:
  https://fonts.googleapis.com/css?family=Varela+Round|Montserrat:400,700 ([https](https://fonts.googleapis.com/css?family=Varela+Round|Montserrat:400,700) result 200).
* [ ] http://inimino.org/~inimino/blog/javascript_semicolons with 1 occurrences migrated to:
  https://inimino.org/~inimino/blog/javascript_semicolons ([https](https://inimino.org/~inimino/blog/javascript_semicolons) result 200).
* [ ] http://javascriptweblog.wordpress.com/2011/01/04/exploring-javascript-for-in-loops/ with 1 occurrences migrated to:
  https://javascriptweblog.wordpress.com/2011/01/04/exploring-javascript-for-in-loops/ ([https](https://javascriptweblog.wordpress.com/2011/01/04/exploring-javascript-for-in-loops/) result 200).
* [ ] http://javascriptweblog.wordpress.com/2011/02/07/truth-equality-and-javascript/ with 1 occurrences migrated to:
  https://javascriptweblog.wordpress.com/2011/02/07/truth-equality-and-javascript/ ([https](https://javascriptweblog.wordpress.com/2011/02/07/truth-equality-and-javascript/) result 200).
* [ ] http://jquery.com/ with 1 occurrences migrated to:
  https://jquery.com/ ([https](https://jquery.com/) result 200).
* [ ] http://karma-runner.github.io/0.10/config/configuration-file.html with 1 occurrences migrated to:
  https://karma-runner.github.io/0.10/config/configuration-file.html ([https](https://karma-runner.github.io/0.10/config/configuration-file.html) result 200).
* [ ] http://legacy.python.org/dev/peps/pep-0465/ with 1 occurrences migrated to:
  https://legacy.python.org/dev/peps/pep-0465/ ([https](https://legacy.python.org/dev/peps/pep-0465/) result 200).
* [ ] http://marijnhaverbeke.nl/blog/ with 1 occurrences migrated to:
  https://marijnhaverbeke.nl/blog/ ([https](https://marijnhaverbeke.nl/blog/) result 200).
* [ ] http://marijnhaverbeke.nl/blog/codemirror-line-tree.html with 1 occurrences migrated to:
  https://marijnhaverbeke.nl/blog/codemirror-line-tree.html ([https](https://marijnhaverbeke.nl/blog/codemirror-line-tree.html) result 200).
* [ ] http://mochajs.org/ with 1 occurrences migrated to:
  https://mochajs.org/ ([https](https://mochajs.org/) result 200).
* [ ] http://mootools.net/ with 1 occurrences migrated to:
  https://mootools.net/ ([https](https://mootools.net/) result 200).
* [ ] http://qunitjs.com/ with 1 occurrences migrated to:
  https://qunitjs.com/ ([https](https://qunitjs.com/) result 200).
* [ ] http://stackoverflow.com/questions/20463533/how-to-add-an-onclick-event-to-a-joint-js-element with 2 occurrences migrated to:
  https://stackoverflow.com/questions/20463533/how-to-add-an-onclick-event-to-a-joint-js-element ([https](https://stackoverflow.com/questions/20463533/how-to-add-an-onclick-event-to-a-joint-js-element) result 200).
* [ ] http://stackoverflow.com/questions/23960312/can-i-add-new-attributes-in-jointjs-element with 2 occurrences migrated to:
  https://stackoverflow.com/questions/23960312/can-i-add-new-attributes-in-jointjs-element ([https](https://stackoverflow.com/questions/23960312/can-i-add-new-attributes-in-jointjs-element) result 200).
* [ ] http://underscorejs.org with 2 occurrences migrated to:
  https://underscorejs.org ([https](https://underscorejs.org) result 200).
* [ ] http://unicode.org/reports/tr9/tr9-13.html with 1 occurrences migrated to:
  https://unicode.org/reports/tr9/tr9-13.html ([https](https://unicode.org/reports/tr9/tr9-13.html) result 200).
* [ ] http://www.thymeleaf.org with 2 occurrences migrated to:
  https://www.thymeleaf.org ([https](https://www.thymeleaf.org) result 200).
* [ ] http://www.w3.org/TR/SVG/styling.html with 1 occurrences migrated to:
  https://www.w3.org/TR/SVG/styling.html ([https](https://www.w3.org/TR/SVG/styling.html) result 200).
* [ ] http://yuiblog.com/blog/2006/04/11/with-statement-considered-harmful/ with 1 occurrences migrated to:
  https://yuiblog.com/blog/2006/04/11/with-statement-considered-harmful/ ([https](https://yuiblog.com/blog/2006/04/11/with-statement-considered-harmful/) result 200).
* [ ] http://yuilibrary.com/ with 1 occurrences migrated to:
  https://yuilibrary.com/ ([https](https://yuilibrary.com/) result 200).
* [ ] http://blog.izs.me/post/2353458699/an-open-letter-to-javascript-leaders-regarding with 1 occurrences migrated to:
  https://blog.izs.me/post/2353458699/an-open-letter-to-javascript-leaders-regarding ([https](https://blog.izs.me/post/2353458699/an-open-letter-to-javascript-leaders-regarding) result 301).
* [ ] http://contributor-covenant.org with 1 occurrences migrated to:
  https://contributor-covenant.org ([https](https://contributor-covenant.org) result 301).
* [ ] http://contributor-covenant.org/version/1/3/0/ with 1 occurrences migrated to:
  https://contributor-covenant.org/version/1/3/0/ ([https](https://contributor-covenant.org/version/1/3/0/) result 301).
* [ ] http://docs.python.org/library/functions.html with 1 occurrences migrated to:
  https://docs.python.org/library/functions.html ([https](https://docs.python.org/library/functions.html) result 301).
* [ ] http://github.com/spring-projects/spring-flo.git with 1 occurrences migrated to:
  https://github.com/spring-projects/spring-flo.git ([https](https://github.com/spring-projects/spring-flo.git) result 301).
* [ ] http://msdn.microsoft.com/en-us/library/ie/dww52sbt with 1 occurrences migrated to:
  https://msdn.microsoft.com/en-us/library/ie/dww52sbt ([https](https://msdn.microsoft.com/en-us/library/ie/dww52sbt) result 301).
* [ ] http://www.adequatelygood.com/2010/2/JavaScript-Scoping-and-Hoisting with 1 occurrences migrated to:
  https://www.adequatelygood.com/2010/2/JavaScript-Scoping-and-Hoisting ([https](https://www.adequatelygood.com/2010/2/JavaScript-Scoping-and-Hoisting) result 301).
* [ ] http://www.jointjs.com/api with 2 occurrences migrated to:
  https://www.jointjs.com/api ([https](https://www.jointjs.com/api) result 301).
* [ ] http://www.mozilla.org/rhino/ with 1 occurrences migrated to:
  https://www.mozilla.org/rhino/ ([https](https://www.mozilla.org/rhino/) result 301).
* [ ] http://mozilla.org/MPL/2.0/ with 2 occurrences migrated to:
  https://mozilla.org/MPL/2.0/ ([https](https://mozilla.org/MPL/2.0/) result 302).
* [ ] http://nodejs.org/ with 1 occurrences migrated to:
  https://nodejs.org/ ([https](https://nodejs.org/) result 302).

These URLs were intentionally ignored.

* http://localhost:8080 with 1 occurrences
* http://localhost:8080/integration with 2 occurrences
* http://localhost:8082 with 1 occurrences
* http://localhost:9000 with 1 occurrences
* http://www.w3.org/1999/xhtml with 2 occurrences
* http://www.w3.org/2000/svg with 3 occurrences

URL Cleanup additions
2019-03-26 11:40:44 -04:00
..
2019-03-26 11:40:44 -04:00
2019-03-21 14:52:14 -05:00
2019-03-16 11:38:39 -05:00
2016-05-19 09:28:32 -07:00

A sample app for spring-flo

This is a very basic example of spring-flo usage.

Running the sample

A basic Spring Boot app is used to serve the sample. Launch it with:

mvn spring-boot:run

then open http://localhost:8080 then you can type text into the box (e.g. "filewatch > ftp") or drag elements from the palette and link them together to build a pipeline.

Understanding the sample

Spring Flo allows simultaneous synchronization between some textual domain specific language (DSL) and the graphical representation. You can type in the text version or you can interactively build the graph version. Any custom usage of spring-flo therefore needs three things:

  • a metamodel of the domain. What are the 'things' you are connecting in your pipeline and what are their properties?
  • a converter from the text form to the graph form.
  • a converter from the graph form to the text form.

The same here includes a very basic domain that you can easily customize:

  • there are a handful of nodes with basic properties. These are defined in metamodel-sample.json - that is a JSON array of the modules supported.
  • the DSL form is module --key=value --key=value > nextModule --key=value.
  • the conversion from text to graph is done in text-to-graph.js
  • the conversion from graph to text is done in graph-to-text.js

Note the convertors (and the DSL) do not describe or support linking multiple nodes to a single node, but spring-flo supports that, you just need to enhance the convertors and have a representation in the DSL.

If you wanted to use this sample in your domain, perhaps you would enhance index.html to include some kind of 'execute' button that used the text representation to drive some other (perhaps backend) API.

The included index.html has basic buttons that exercise some of the control features of flo - for example turning off the palette and switching it to a read-only mode (for use when embedding flo into something that should just be showing a read only view of a pipeline).

Navigating the sample

In order to keep the project to a single build file, spring-flo is referenced through the maven pom using webjars dependencies.

  • index.html the single HTML file that embeds sping-flo
  • main.js the launch config file for requirejs, referenced from index.html
  • sample-app.js setup the angular app with custom services
  • metamodel-service.js the custom metamodel service for this usage of spring-flo
  • editor-service.js the custom editor service for this usage of spring-flo
  • render-service.js the custom render service for this usage of spring-flo
  • metamodel-sample.json a basic json description of the domain
  • graph-to-text.js convert from the graph form to our custom DSL text
  • text-to-graph.js convert from the custom DSL text to our graph form