Skip to content

Commit

Permalink
Merge branch 'asyncapi:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
TRohit20 authored Mar 6, 2024
2 parents 549ce0d + 2ed2502 commit ec5b3a7
Show file tree
Hide file tree
Showing 46 changed files with 634 additions and 471 deletions.
78 changes: 78 additions & 0 deletions .github/workflows/if-nodejs-pr-testing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# This action is centrally managed in https://github.com/asyncapi/.github/
# Don't make changes to this file in this repo as they will be overwritten with changes made to the same file in above mentioned repo

# It does magic only if there is package.json file in the root of the project
name: PR testing - if Node project

on:
pull_request:
types: [opened, reopened, synchronize, ready_for_review]

jobs:
test-nodejs-pr:
name: Test NodeJS PR - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- if: >
!github.event.pull_request.draft && !(
(github.actor == 'asyncapi-bot' && (
startsWith(github.event.pull_request.title, 'ci: update of files from global .github repo') ||
startsWith(github.event.pull_request.title, 'chore(release):')
)) ||
(github.actor == 'asyncapi-bot-eve' && (
startsWith(github.event.pull_request.title, 'ci: update of files from global .github repo') ||
startsWith(github.event.pull_request.title, 'chore(release):')
)) ||
(github.actor == 'allcontributors[bot]' &&
startsWith(github.event.pull_request.title, 'docs: add')
)
)
id: should_run
name: Should Run
run: echo "shouldrun=true" >> $GITHUB_OUTPUT
- if: steps.should_run.outputs.shouldrun == 'true'
name: Set git to use LF #to once and for all finish neverending fight between Unix and Windows
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- if: steps.should_run.outputs.shouldrun == 'true'
name: Checkout repository
uses: actions/checkout@v3
- if: steps.should_run.outputs.shouldrun == 'true'
name: Check if Node.js project and has package.json
id: packagejson
run: test -e ./package.json && echo "exists=true" >> $GITHUB_OUTPUT || echo "exists=false" >> $GITHUB_OUTPUT
shell: bash
- if: steps.packagejson.outputs.exists == 'true'
name: Check package-lock version
uses: asyncapi/.github/.github/actions/get-node-version-from-package-lock@master
id: lockversion
- if: steps.packagejson.outputs.exists == 'true'
name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "${{ steps.lockversion.outputs.version }}"
cache: 'npm'
cache-dependency-path: '**/package-lock.json'
- if: steps.packagejson.outputs.exists == 'true'
name: Install dependencies
id: first-installation
run: npm install --loglevel verbose
continue-on-error: true
- if: steps.first-installation.outputs.status == 'failure' && steps.packagejson.outputs.exists == 'true'
name: Clear NPM cache and install deps again
run: |
npm cache clean --force
npm install --loglevel verbose
- if: steps.packagejson.outputs.exists == 'true'
name: Test
run: npm test --if-present
- if: steps.packagejson.outputs.exists == 'true'
name: Run linter
run: npm run lint --if-present
- if: steps.packagejson.outputs.exists == 'true'
name: Run release assets generation to make sure PR does not break it
run: npm run generate:assets --if-present
5 changes: 0 additions & 5 deletions components/layout/BlogLayout.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@ import moment from 'moment';
import Head from '../Head';
import BlogContext from '../../context/BlogContext';
import TOC from '../TOC';
import NavBar from '../navigation/NavBar';
import Container from './Container';
import AuthorAvatars from '../AuthorAvatars';
import StickyNavbar from '../navigation/StickyNavbar';
import AnnouncementHero from '../campaigns/AnnoucementHero';

export default function BlogLayout({ post, children }) {
Expand All @@ -22,9 +20,6 @@ export default function BlogLayout({ post, children }) {

return (
<BlogContext.Provider value={{ post }}>
<StickyNavbar data-testid="BlogLayout-Navbar">
<NavBar className="max-w-screen-xl block px-4 sm:px-6 lg:px-8 mx-auto" />
</StickyNavbar>
<AnnouncementHero className="my-4 mx-8" />
<Container cssBreakingPoint="lg" flex flexReverse>
<TOC
Expand Down
5 changes: 0 additions & 5 deletions components/layout/DocsLayout.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ import TOC from '../TOC';
import DocsNav from '../navigation/DocsNav';
import DocsMobileMenu from '../navigation/DocsMobileMenu';
import DocsButton from '../buttons/DocsButton';
import NavBar from '../navigation/NavBar';
import ArrowRight from '../icons/ArrowRight';
import Feedback from '../Feedback';
import StickyNavbar from '../navigation/StickyNavbar';
import Heading from '../typography/Heading';
import AnnouncementHero from '../campaigns/AnnoucementHero';
import { SearchButton, DOCS_INDEX_NAME } from '../AlgoliaSearch';
Expand Down Expand Up @@ -72,9 +70,6 @@ export default function DocsLayout({ post, navItems = {}, children }) {

return (
<DocsContext.Provider value={{ post, navItems }}>
<StickyNavbar>
<NavBar className="max-w-screen-xl block px-4 sm:px-6 lg:px-8 mx-auto" />
</StickyNavbar>
<div className="bg-white px-4 sm:px-6 lg:px-8 w-full xl:max-w-7xl xl:mx-auto">
{showMenu && (
<DocsMobileMenu
Expand Down
5 changes: 0 additions & 5 deletions components/layout/GenericLayout.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import Head from '../Head';
import NavBar from '../navigation/NavBar';
import Container from './Container';
import AnnouncementHero from '../campaigns/AnnoucementHero';
import StickyNavbar from '../navigation/StickyNavbar';

export default function GenericLayout({
title,
Expand All @@ -20,9 +18,6 @@ export default function GenericLayout({
return (
<div data-testid="GenericLayout">
<Head title={title} description={description} image={image} />
<StickyNavbar>
<NavBar className="max-w-screen-xl block px-4 sm:px-6 lg:px-8 mx-auto" />
</StickyNavbar>
<Container wide={wide}>
<div data-testid="GenericLayout-banner">
<AnnouncementHero
Expand Down
5 changes: 0 additions & 5 deletions components/layout/GenericPostLayout.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@ import { useRouter } from 'next/router'
import ErrorPage from 'next/error'
import Head from '../Head'
import GenericPostContext from '../../context/GenericPostContext'
import NavBar from '../navigation/NavBar'
import Container from './Container'
import AnnouncementHero from '../campaigns/AnnoucementHero'
import StickyNavbar from '../navigation/StickyNavbar'

export default function GenericPostLayout({ post, children }) {
if (!post) return <ErrorPage statusCode={404} />
Expand All @@ -18,9 +16,6 @@ export default function GenericPostLayout({ post, children }) {

return (
<GenericPostContext.Provider value={{ post }}>
<StickyNavbar>
<NavBar className="max-w-screen-xl block px-4 sm:px-6 lg:px-8 mx-auto" />
</StickyNavbar>
<AnnouncementHero className="text-center m-4" small={true} />
<Container>
<main
Expand Down
4 changes: 0 additions & 4 deletions components/layout/GenericWideLayout.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import Head from '../Head'
import NavBar from '../navigation/NavBar'
import AnnouncementHero from '../campaigns/AnnoucementHero'
import Row from './Row'

Expand All @@ -18,9 +17,6 @@ export default function GenericWideLayout({
return (
<>
<Head title={title} description={description} image={image} />
<div className="sticky top-0 w-full bg-white border-b border-gray-300 z-50">
<NavBar className="max-w-screen-xl block px-4 sm:px-6 lg:px-8 mx-auto" />
</div>
<Row>
<AnnouncementHero className="text-center m-4" small={true} />
{children}
Expand Down
6 changes: 0 additions & 6 deletions components/layout/JobsLayout.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@ import { useRouter } from 'next/router'
import ErrorPage from 'next/error'
import Head from '../Head'
import JobsContext from '../../context/JobsContext'
import NavBar from '../navigation/NavBar'
import Container from './Container'
import JobSummary from '../JobSummary'
import ApplyJobButton from '../buttons/ApplyJob'
import StickyNavbar from '../navigation/StickyNavbar'

export default function JobsLayout({ post, children }) {
if (!post) return <ErrorPage statusCode={404} />;
Expand All @@ -19,10 +17,6 @@ export default function JobsLayout({ post, children }) {

return (
<JobsContext.Provider value={{ post }}>
<StickyNavbar>
<NavBar className="max-w-screen-xl block px-4 sm:px-6 lg:px-8 mx-auto" />
</StickyNavbar>

<Container cssBreakingPoint="lg" flex flexReverse>
<div className="">
<JobSummary
Expand Down
2 changes: 1 addition & 1 deletion components/navigation/MobileNavMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default function MobileNavMenu({ onClickClose = () => {} }) {
setOpen(menu);
}
return (
<div className="fixed top-0 z-60 inset-x-0 py-2 transition transform origin-top-right max-h-full lg:hidden overflow-y-scroll">
<div className="fixed top-0 z-60 inset-x-0 py-2 transition transform origin-top-right max-h-full lg:hidden overflow-y-auto">
<div className="rounded-lg shadow-lg">
<div className="rounded-lg shadow-xs bg-white divide-y-2 divide-gray-50">
<div className="pt-5 pb-6 px-5 space-y-6">
Expand Down
2 changes: 1 addition & 1 deletion components/navigation/NavBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ export default function NavBar({

<div className="flex flex-row items-center justify-content">
<SearchButton
className="flex items-center text-left space-x-2 p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:bg-gray-100 focus:text-gray-500 transition duration-150 ease-in-out"
className="flex items-center text-left space-x-2 p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:bg-gray-100 focus:text-gray-500 transition duration-150 ease-in-out mr-2"
aria-label="Open Search"
>
<IconLoupe />
Expand Down
2 changes: 1 addition & 1 deletion components/sponsors/GoldSponsors.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default function GoldSponsors({ className = '', showSupportBanner = true
data-testid="GoldSponsors-link"
>
<img
className="inline-block sm:h-12"
className={sponsor.imageClass}
src={sponsor.imageSrc}
alt={sponsor.name}
data-testid="GoldSponsors-img"
Expand Down
11 changes: 6 additions & 5 deletions components/sponsors/GoldSponsorsList.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
export const goldSponsors = [
{
name: 'Red Hat',
imageSrc: '/img/sponsors/redhat.svg',
website: 'https://www.redhat.com/',
},

name: 'Postman',
website: 'https://www.postman.com',
imageSrc: '/img/sponsors/postman.png',
altText: 'Postman',
imageClass: 'inline-block px-4 sm:h-18',
}
];
9 changes: 7 additions & 2 deletions components/sponsors/SilverSponsorsList.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,15 @@ export const Silversponsors = [
name: 'Bump.sh',
url: 'https://bump.sh/asyncapi?utm_source=asyncapi&utm_medium=referral&utm_campaign=sponsor',
image: '/img/sponsors/bumpsh.svg'
}, {
},
{
name: 'Svix',
url: 'https://www.svix.com/',
image: '/img/sponsors/svix_logo.svg'
},
{
name: 'HiveMQ',
url: 'https://www.hivemq.com/',
image: '/img/sponsors/hivemq_logo.png'
}

];
9 changes: 1 addition & 8 deletions components/sponsors/SponsorsList.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,11 @@ export const sponsors = [
altText: 'IBM',
imageClass: 'inline-block px-4 sm:h-14',
},
{
name: 'Postman',
link: 'https://www.postman.com',
imageSrc: '/img/sponsors/postman.png',
altText: 'Postman',
imageClass: 'inline-block px-2 sm:h-18 flex-shrink-0',
},
{
name: 'Solace',
link: 'https://www.solace.com',
imageSrc: '/img/sponsors/solace.png',
altText: 'Solace',
imageClass: 'inline-block px-4 sm:h-10',
imageClass: 'inline-block px-4 sm:h-12',
},
];
84 changes: 84 additions & 0 deletions config/AMBASSADORS_MEMBERS.json
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,90 @@
}
]
},
{
"name": "Ivan Garcia Sainz-Aja",
"github": "ivangsa",
"twitter": "ivangsa",
"bio": "Java Architect with a deep understanding of Java, Spring-Boot, Spring-Cloud technologies, specializing in Domain-Driven Design (DDD) and Event-Driven Architectures creating Software Easy to Understand. Building ZenWave 360º. ZenWave 360º is a set of tools built on the foundations of Domain Driven Design and API-First principles for Event-Driven Architectures, to help you create software easy to understand. https://www.zenwave360.io/",
"linkedin": "ivangarciasainzaja",
"company": "SNGULAR",
"title": "Java Architect. Speaker. Building ZenWave 360°.",
"img": "https://avatars.githubusercontent.com/u/1246876?v=4",
"contributions": [
{
"type": "iniciative_driver",
"title": "AsyncAPI Conference On Tour 2023 - Madrid",
"date": {
"year": 2023,
"month": "October"
},
"link": "https://www.youtube.com/playlist?list=PLbi1gRlP7pihD-7XYb6c9wcTdkavDzF3_"
},
{
"type": "iniciative_driver",
"title": "ZenWave SDK - Code Generator for AsyncAPI with Spring Cloud Streams",
"date": {
"year": 2024,
"month": "2022"
},
"link": "https://www.zenwave360.io/zenwave-sdk/plugins/asyncapi-spring-cloud-streams3/"
},
{
"type": "article",
"title": "API-First with AsyncAPI",
"date": {
"year": 2023,
"month": "March"
},
"link": "https://www.zenwave360.io/posts/API-First-with-AsyncAPI-And-ZenWave-SDK/"
},
{
"type": "article",
"title": "ZenWave AsyncAPI Code Generator",
"date": {
"year": 2023,
"month": "March"
},
"link": "https://www.zenwave360.io/posts/ZenWave-AsyncAPI-Code-Generator/"
},
{
"type": "article",
"title": "Generating AsyncAPI definition files from JDL with ZenWaveSDK",
"date": {
"year": 2023,
"month": "April"
},
"link": "https://www.zenwave360.io/posts/JHipster-As-IDL-for-AsyncAPIv2/"
},
{
"type": "presentation",
"title": "KIT - API-First with AsyncAPI for Event Driven Architectures",
"date": {
"year": 2023,
"month": "May"
},
"link": "https://www.youtube.com/watch?v=EoWFZfmspFM"
},
{
"type": "presentation",
"title": "Practical Event Storming with AsyncAPI v3 and ZenWave SDK",
"date": {
"year": 2023,
"month": "October"
},
"link": "https://www.youtube.com/watch?v=-uHONzz-a6U"
},
{
"type": "presentation",
"title": "Code Generation For Enterprise Integration Patterns w/ AsyncAPI & ZenWave SDK",
"date": {
"year": 2023,
"month": "October"
},
"link": "https://www.youtube.com/watch?v=gUsoD8RaCuw"
}
]
},
{
"name": "Jesse Menning",
"github": "jessemenning",
Expand Down
10 changes: 10 additions & 0 deletions config/MAINTAINERS.json
Original file line number Diff line number Diff line change
Expand Up @@ -709,5 +709,15 @@
"repos": [
"website"
]
},
{
"name": "Viacheslav Turovskyi",
"github": "aeworxet",
"slack": "U01G3U01SVC",
"availableForHire": false,
"isTscMember": false,
"repos": [
"bundler"
]
}
]
Loading

0 comments on commit ec5b3a7

Please sign in to comment.