Giter VIP home page Giter VIP logo

tasks's Introduction

Welcome to the Boomerang Tasks

This repository is the monorepo for anything to do with the Boomerang Tasks, in particular for Boomerang Flow.

For documentation about Boomerang Flow and its Tasks, please visit our website.

Also, please join our community on Slack.

Node Packages

Provide an opinionated set of core methods as well as an opinionated CLI for the the Boomerang Task containers.

To learn more about the packages, please refer to the packages README.

CLI

Main execution script providing task developers the ease of just having to write a .js file to do a specific command.

Core

Provides a set of utilities to help task developers speed up their development

Method Purpose
common Collection of common methods that can be used by task developers to enhance and speed the ease of their development
log Collection of logging utilities using chalk to output nice values in the log for the user
utils Collection of utility functions to help plugin authors retrieve, resolve, and set properties.

Tasks

There are a number of tasks that are used by Boomerang Flow, including SendGrid, Slack, Artifactory, Box, etc.

Generally the tasks will run using the Task CLI, however they can be any container that can run as a Kubernetes Job or Tekton Task, i.e. short lived and single execution focus.

These are all located in the ./tasks folder. To learn more about Tasks, please refer to the README.

Contributing

We welcome all contributions. Please read the Contributing Guidelines.

Do you want to contribute your own Task? Follow our Contributing a Task Guidelines for initializing a project to get started quickly.

Commits

This project uses Conventional Commits to ensure that the commit messages are easy to read and follow a standard format that can then be used in automated changelog generation.

tasks's People

Contributors

gchickma avatar timrbula avatar tlawrie avatar benjaminruby avatar isakawa-carbon avatar morarucostel avatar marcusdroy avatar florentinvintila avatar

Watchers

James Cloos avatar  avatar Gheorghe Pandia avatar  avatar George Safta avatar  avatar  avatar P. Hayes avatar

tasks's Issues

Error when saving boolean values to output values

Describe the bug
When saving a parameter of type boolean as output value, it fails with

09/16/21 15:57:54 ๐Ÿ”  Setting task output parameter  evaluation  =  true 
09/16/21 15:57:54 โ—  TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received type boolean (true) 

To Reproduce
It can not be reproduced locally, at least on macos it doesn't reproduce, when executed with npm run-script .

To reproduce:

  • build a workflow with the a task JSONPath To Parameter where Json value is
{"key":true}

and the query expression set to

$.key
  • execute the workflow

Expected behavior
The expectation is for the fs.writeFileSync to write the boolean value to the output

Environment (please complete the following information):

  • Version 1.3.6 in core

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.