![]() Polyglot – nf (Polyglot port #, Softwareserver port #, etc.), nf (RabbitMQ URI).Polyglot and SS are implemented in Java, currently using Restlet. servers/ # Redirects to ip1:8182/software/. software/ # Accesses all SS:8182/software until finding one that contains sw1 and redirects to :8182/software/. servers/ # Redirects to server1_ip:8182/software/. file/ # If file1 doesn't exist and file1.url exists. POL REST endpoints that access or redirect to SSes:.convert/output_format1/file_url1 do the conversion: download file_url1 convert/output_format1 returns all supported input formats that can be converted to output_format1 convert Returns all supported output formats POL REST endpoints that POL handles on its own without accessing/redirecting to SSes:.For example, SS on dap-dev is configured to convert only demclip and streamclip: SoftwareServer uses nf + scripts/*/.aliases.txt to configure which applications it will process. If the URL is accessible and contains valid content, Polyglot adds the IP to its server list.Ī Softwareserver connects to RabbitMQ, picks up jobs (aka msgs) in the queues, processes them, and sends the results back by accessing Polyglot's endpoint at ":8184/checkin//". process_jobs(): at the end, writes the ".url" file.Ī Polyglot process goes to RabbitMQ, gets the consumer IPs, connects to these IP's softwareserver at the URL ":8182/applications". PolyglotRestlet.java: handles the Restlet interface.PolyglotStewardAMQ.java: handles IOGraph and interaction with RabbitMQ.The entry point is PolyglotRestlet.java.SoftwareServerRESTUtilities.java: the rabbitMQHandler() method handles all the interaction with RabbitMQ.SoftwareServerRestlet.java: handles the Restlet service.SoftwareServer.java: handles wrapper scripts.A user can use " to see the available endpoints / URLs, such as " to see the server IP list, or " to use a form to submit a conversion request. By default Polyglot runs on port 8184, Softwareserver on port 8182. Polyglot works internally with software servers. Then you can use the URLs to check Polyglot, and to check SS.Ī user interacts with Polyglot. If the script fails, change its content from "2.1.0" to "2.2.0". In another shell tab, run "bin/SoftwareServerRestlet.sh" to start SoftwareServer. In the top dir, in one shell, run "bin/PolyglotRestlet.sh" to start Polyglot.In the top dir, do "mvn compile" to compile the code, should not take long.Install mongo either manually or using brew. On Mac, use brew to install maven, imagemagick, rabbitmq.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |