-
-
Notifications
You must be signed in to change notification settings - Fork 774
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
Changes from 19 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
fd2717c
tools backend implementation
akshatnema 5c96676
workflow created
akshatnema fe89ad2
Merge branch 'master' into tools-backend
akshatnema 54b0fc2
Merge branch 'master' into tools-backend
akshatnema 054e7d7
Merge branch 'master' into tools-backend
akshatnema c69292b
Apply suggestions from code review
akshatnema 44f2515
updated files
akshatnema 5ba4627
implemented ajv
akshatnema 082d6b4
Merge branch 'master' into tools-backend
akshatnema dee4ddb
Merge branch 'master' into tools-backend
akshatnema 4ea0fb3
Apply suggestions from code review
akshatnema 62ab9e9
Merge branch 'master' into tools-backend
akshatnema b764edd
updated files
akshatnema 45cc131
Merge remote-tracking branch 'refs/remotes/origin/tools-backend' into…
akshatnema 8ccb5e9
added language and colors
akshatnema 8798bcb
Merge branch 'master' into tools-backend
akshatnema 9989b0d
Merge branch 'master' into tools-backend
akshatnema fef8048
Merge branch 'master' into tools-backend
akshatnema 84f5d11
changes according to the review
akshatnema b7acc5c
category and final JSON updated
akshatnema 10e93dc
Merge branch 'master' into tools-backend
akshatnema 4c5e58d
Merge branch 'asyncapi:master' into tools-backend
akshatnema 026a092
Update scripts/tools/categorylist.js
akshatnema 2fe76f3
made changes according to review
akshatnema b9e9149
made changes according to review
akshatnema 5d2a0f1
Merge branch 'tools-backend' of github.com:akshatnema/website into to…
akshatnema c9ebed7
change of package-lock file
akshatnema 8ee982a
Merge branch 'master' into tools-backend
akshatnema a4f92ab
Update scripts/build-tools.js
akshatnema File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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":[]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
], | ||
"categories": [ | ||
"documentation generators" | ||
], | ||
"hasCommercial": false, | ||
"isAsyncAPIOwner": false | ||
} | ||
}], | ||
"dls": [], | ||
"frameworks": [], | ||
"ui components": [], | ||
"mocking and testing": [], | ||
"diff": [], | ||
"ci&cd": [], | ||
"editors": [], | ||
"others": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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":[]} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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 🤔
There was a problem hiding this comment.
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.