Giter Site home page Giter Site logo

Comments (2)

jelovirt avatar jelovirt commented on August 11, 2024

Thinking about this via the internal representation, the input job submission could be

{
  "input": "s3://example/b34a487a-b031-4bf0-893d-18bed8c4959b/src.zip!/start.ditamap",
  "output": "s3://example/b34a487a-b031-4bf0-893d-18bed8c4959b/res.zip",
  "conversions": [
    {
      "transtype": "graphics",
      "params": {},
      "priority": 0
    },
    {
      "transtype": "ooxml",
      "params": {},
      "priority": 0
    }
  ]
}

Then the conversion is in progress, the job state could be something like

{
  "input": "s3://example/b34a487a-b031-4bf0-893d-18bed8c4959b/src.zip!/start.ditamap",
  "output": "s3://example/b34a487a-b031-4bf0-893d-18bed8c4959b/res.zip",
  "id": "cd010166-7b69-4c9a-a3d2-697a7b6ac280",
  "created": "2018-03-23T08:58:35.208Z",
  "conversions": [
    // This is an active conversion
    {
      "id": "cd010166-7b69-4c9a-a3d2-697a7b6ac280_1",
      "input": "s3://example/b34a487a-b031-4bf0-893d-18bed8c4959b/src.zip!/start.ditamap",
      // The job originally got the output above, but replaced it with this temporary storage
      "output": "s3://example/b34a487a-b031-4bf0-893d-18bed8c4959b/tmp.zip!/start.ditamap",
      "transtype": "graphics",
      "params": {},
      "status": "process",
      "priority": 0,
      "start": "2018-03-23T08:58:35.208Z",
      "finish": null,
      "worker": "worker"
    },
    // This conversion is still in the queue
    {
      "id": "cd010166-7b69-4c9a-a3d2-697a7b6ac280_2",
      // This will be populated from previous conversion's output
      "input": null,
      // This will be populated from root output
      "output": null,
      "transtype": "ooxml",
      "params": {},
      "status": "queue",
      "priority": 0,
      "start": null,
      "finish": null,
      "worker": null
    }
  ]
}

from kuhnuri-queue.

jelovirt avatar jelovirt commented on August 11, 2024

Implemented.

from kuhnuri-queue.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.