restarone / violet_rails

an app engine for your business. Seamlessly implement business logic with a powerful API. Out of the box CMS, blog, forum and email functionality. Developer friendly & easily extendable for your next SaaS/XaaS project. Built with Rails 6, Devise, Sidekiq & PostgreSQL
https://violet.restarone.solutions
MIT License
96 stars 43 forks source link

integrate API Attribute backfiller & Unique String Aggregator to Core #1515

Open donrestarone opened 1 year ago

donrestarone commented 1 year ago

Is your feature request related to a problem? Please describe.

While developing app functionality for nikean.org we had to write a 2 custom plugins. One to backfill API Namespace attributes (used when product requirements changed) and another to build lists of unique strings. These plugins were written quickly and are well past their use-by date.

Screen Shot 2023-04-05 at 10 36 11 AM

Describe the solution you'd like

Lets move these to Violet Core, put the functionality behind a User Interface and have it maintained as part of the monolith codebase.

These plugins are installed and tested in the test suite, see the following releases that introduced the plugins:

  1. Unique String aggregator: https://github.com/restarone/violet_rails/releases/tag/0.9.49
  2. Create External API Connection that backfills attributes on API Namespace + API Resources https://github.com/restarone/violet_rails/releases/tag/0.9.25
donrestarone commented 1 year ago

This UI does not change

Screen Shot 2023-04-07 at 9 04 58 AM

Plugins tab

Screen Shot 2023-04-07 at 8 59 54 AM

requirements:

  1. make sure that it can hold any number of plugins (as a list)
  2. be able to organize a potentially large number of plugins in an intuitive way

attribute backfiller requirements

let the user define the attribute and the default value:

Screen Shot 2023-04-07 at 9 06 57 AM