Giter VIP home page Giter VIP logo

naas-models's People

naas-models's Issues

Create Space model with validation and all build and release logic

We need to create the Space model with it's validation logic. This also needs to build the proto files into the Python classes using the pydantic BaseModel (there is a protobuf to pydantic module out there).

You also need to setup Semantic release on this project, just for versioning, not pushing on pypi as it's a private repo.

You must create a Makefile and leverage docker to install protoc and needed software to build the proto

feat: Design the workflow.proto

Now that the scheduler-v2-poc is done, we can proceed to the implementation of that in the api.

For that we need to create the Workflow.proto that will contain the resources needed to build a DAG Workflow that will run in Argo Workflow.

We should follow the following documentation from Argo: https://argoproj.github.io/argo-workflows/walk-through/the-structure-of-workflow-specs/

Resources that should be taken in account for creating the protos are:

  • io.argoproj.workflow.v1alpha1.Workflow
  • io.argoproj.workflow.v1alpha1.WorkflowSpec
  • io.argoproj.workflow.v1alpha1.CronWorkflow
  • io.argoproj.workflow.v1alpha1.WorkflowSpec
  • io.argoproj.workflow.v1alpha1.Template

We must also be able to specify metadata but this will mainly be for us in the backend to pinpoint to which users are the workflow tied to etc.

As part of this you should also create all the CRUD messages (DTO) like WorkflowCreationRequest, WorkflowDeletionRequest etc ...

@viniciusdc please let me know if I am forgetting anything.

fix: naas-models install via pip

When I try to install naas-models, and therefore, naas-python, I get the following error:

image

I think that in naas_models/python/ we need to add a init.py file.

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.