Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: tools backend implementation #939

Merged
merged 29 commits into from
Oct 6, 2022
Merged
Show file tree
Hide file tree
Changes from 19 commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
fd2717c
tools backend implementation
akshatnema Sep 9, 2022
5c96676
workflow created
akshatnema Sep 10, 2022
fe89ad2
Merge branch 'master' into tools-backend
akshatnema Sep 10, 2022
54b0fc2
Merge branch 'master' into tools-backend
akshatnema Sep 14, 2022
054e7d7
Merge branch 'master' into tools-backend
akshatnema Sep 16, 2022
c69292b
Apply suggestions from code review
akshatnema Sep 16, 2022
44f2515
updated files
akshatnema Sep 16, 2022
5ba4627
implemented ajv
akshatnema Sep 18, 2022
082d6b4
Merge branch 'master' into tools-backend
akshatnema Sep 20, 2022
dee4ddb
Merge branch 'master' into tools-backend
akshatnema Sep 21, 2022
4ea0fb3
Apply suggestions from code review
akshatnema Sep 23, 2022
62ab9e9
Merge branch 'master' into tools-backend
akshatnema Sep 23, 2022
b764edd
updated files
akshatnema Sep 23, 2022
45cc131
Merge remote-tracking branch 'refs/remotes/origin/tools-backend' into…
akshatnema Sep 23, 2022
8ccb5e9
added language and colors
akshatnema Sep 24, 2022
8798bcb
Merge branch 'master' into tools-backend
akshatnema Sep 24, 2022
9989b0d
Merge branch 'master' into tools-backend
akshatnema Sep 29, 2022
fef8048
Merge branch 'master' into tools-backend
akshatnema Sep 29, 2022
84f5d11
changes according to the review
akshatnema Sep 29, 2022
b7acc5c
category and final JSON updated
akshatnema Oct 1, 2022
10e93dc
Merge branch 'master' into tools-backend
akshatnema Oct 1, 2022
4c5e58d
Merge branch 'asyncapi:master' into tools-backend
akshatnema Oct 2, 2022
026a092
Update scripts/tools/categorylist.js
akshatnema Oct 4, 2022
2fe76f3
made changes according to review
akshatnema Oct 4, 2022
b9e9149
made changes according to review
akshatnema Oct 4, 2022
5d2a0f1
Merge branch 'tools-backend' of github.com:akshatnema/website into to…
akshatnema Oct 4, 2022
c9ebed7
change of package-lock file
akshatnema Oct 4, 2022
8ee982a
Merge branch 'master' into tools-backend
akshatnema Oct 6, 2022
a4f92ab
Update scripts/build-tools.js
akshatnema Oct 6, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/workflows/regenerate-tools.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: List of all the tools used in AsyncAPI

on:
workflow_dispatch:
schedule:
#every day at midnight
- cron: "15 0 * * 1"

jobs:
meetings:
if: github.repository == 'asyncapi/website'
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
name: Regenerate tools.json
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install dependencies
run: npm install
- name: Regenerate
run: npm run generate:tools
- name: Create Pull Request with new tools.json version
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.GH_TOKEN }}
commit-message: 'chore: update tools.json'
committer: asyncapi-bot <info@asyncapi.io>
author: asyncapi-bot <info@asyncapi.io>
title: 'chore: update tools.json'
branch: update-tools/${{ github.job }}
- if: failure() # Only, on failure, send a message on the 94_bot-failing-ci slack channel
name: Report workflow run status to Slack
uses: 8398a7/action-slack@v3
with:
status: ${{ job.status }}
fields: repo,action,workflow
text: 'AsyncAPI Tools workflow failed'
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_CI_FAIL_NOTIFY }}
1 change: 1 addition & 0 deletions config/tools-automated.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"generator":[{"title":"Sample Tool","description":"Tool for testing","links":{"websiteUrl":"https://akshatnema.netlify.app","docsUrl":"","iconUrl":"","repoUrl":"https://github.com/akshatnema/Login-Registration-project"},"filters":{"language":"javascript","technology":["react"],"categories":["generator"],"hasCommercial":false,"isAsyncAPIOwner":false}}],"code-first":[],"converters":[],"validators":[],"directories":[],"documentation generators":[],"dls":[],"frameworks":[],"ui components":[],"mocking and testing":[],"diff":[],"ci&cd":[],"editors":[]}
35 changes: 35 additions & 0 deletions config/tools-manual.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"generator": [],
"code-first": [],
"converters": [],
"validators": [],
"directories": [],
"documentation generators": [{
"title": "asyncapi-asciidoc-template",
"description": "Asciidoc template for the asyncapi generator",
"links": {
"websiteUrl": "",
"docsUrl": "",
"repoUrl": "https://gitlab.com/djencks/asyncapi-asciidoc-template"
},
"filters": {
"language": "javascript",
"technology": [
"react"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

definitely not react

I'm thinking if asyncapi-generator is a valid technology 🤔

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is just a testing raw data added in this file to enable the functionality of additions of manual tools in the final JSON file. It has no relation with the asyncapi-asciidoc-template right now. I think we should add actual tools to the file after merging this functionality with repo.

],
"categories": [
"documentation generators"
],
"hasCommercial": false,
"isAsyncAPIOwner": false
}
}],
"dls": [],
"frameworks": [],
"ui components": [],
"mocking and testing": [],
"diff": [],
"ci&cd": [],
"editors": [],
"others": []
}
1 change: 1 addition & 0 deletions config/tools.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"generator":[{"title":"Sample Tool","description":"Tool for testing","links":{"websiteUrl":"https://akshatnema.netlify.app","docsUrl":"","iconUrl":"","repoUrl":"https://github.com/akshatnema/Login-Registration-project"},"filters":{"language":{"name":"Javascript","color":"#F2F1C7","borderColor":"#BFBE86"},"technology":[],"categories":["generator"],"hasCommercial":false,"isAsyncAPIOwner":false}}],"code-first":[],"converters":[],"validators":[],"directories":[],"documentation generators":[{"title":"asyncapi-asciidoc-template","description":"Asciidoc template for the asyncapi generator","links":{"websiteUrl":"","docsUrl":"","repoUrl":"https://gitlab.com/djencks/asyncapi-asciidoc-template"},"filters":{"language":{"name":"Javascript","color":"#F2F1C7","borderColor":"#BFBE86"},"technology":[],"categories":["documentation generators"],"hasCommercial":false,"isAsyncAPIOwner":false}}],"dls":[],"frameworks":[],"ui components":[],"mocking and testing":[],"diff":[],"ci&cd":[],"editors":[]}
Loading