From ea534ffc27c4e0ce96b382a08f13465af7ed8a1c Mon Sep 17 00:00:00 2001 From: Ivan Garcia Sainz-Aja Date: Mon, 3 Jun 2024 13:43:30 +0200 Subject: [PATCH] issue templates --- .github/ISSUE_TEMPLATE/bug-report.yml | 65 +++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 5 ++ .github/ISSUE_TEMPLATE/feature-request.md | 20 +++++++ .github/workflows/prepare-maven-release.yml | 8 +++ 4 files changed, 98 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug-report.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature-request.md diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml new file mode 100644 index 00000000..bec02582 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -0,0 +1,65 @@ +name: Bug Report +description: File a bug report. +title: "[Bug]: " +labels: ["bug", "triage"] +#projects: ["octo-org/1", "octo-org/44"] +assignees: + - ivangsa +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this bug report! + - type: input + id: version + attributes: + label: ZenWave Version + description: Which version of ZenWave are you using? + placeholder: 1.6.0 + validations: + required: true + - type: dropdown + id: execution + attributes: + label: Execution Environment + description: How did you executed ZenWave SDK? + options: + - JBang Alias (CLI) + - Maven Plugin + - Other + validations: + required: true + - type: dropdown + id: plugin + attributes: + label: ZenWave Plugin + description: Which ZenWave plugin are you using? + options: + - "BackendApplicationDefaultPlugin: Generates a full backend application using a flexible hexagonal architecture" + - "ZDLToOpenAPIPlugin: Generates a draft OpenAPI definitions from your ZDL entities and services." + - "ZDLToAsyncAPIPlugin: Generates a draft AsyncAPI file with events from your ZDL services." + - "OpenAPIControllersPlugin: Generates implementations based on ZDL models and OpenAPI definitions SpringMVC generated OpenAPI interfaces." + - "SpringWebTestClientPlugin: Generates test for SpringMVC or Spring WebFlux using WebTestClient based on OpenAPI specification." + - "AsyncApiJsonSchema2PojoPlugin: Generate Plain Old Java Objects from OpenAPI/AsyncAPI schemas or full JSON-Schema files" + - "SpringCloudStreams3Plugin: Generates strongly typed SpringCloudStreams3 producer/consumer classes for AsyncAPI" + - "SpringCloudStreams3AdaptersPlugin: Generates tests for Spring Cloud Streams Consumers." + - "ZdlToMarkdownPlugin: Generates Markdown glossary from Zdl Models" + - "JDLToAsyncAPIPlugin: Generates a full AsyncAPI definitions for CRUD operations from JDL models" + - "OpenAPIToJDLPlugin: Generates JDL model from OpenAPI schemas" + - "ZdlToJsonPlugin: Prints to StdOut ZDL Model as JSON" + - "ForkPlugin: Creates a new standalone maven module cloning an existing plugin" + validations: + required: true + - type: textarea + id: what-happened + attributes: + label: What happened? + description: Please, also attach relevant parts of your ZDL file. + validations: + required: true + - type: textarea + id: zdl + attributes: + label: Relevant ZDL Model + description: Please, also attach relevant parts of your ZDL file. + diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..047fc1e7 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: false +contact_links: + - name: Question/Discussion + url: https://github.com/ZenWave360/zenwave-sdk/discussions/new + about: I have a question or topic to discuss which is not a bug nor new feature. diff --git a/.github/ISSUE_TEMPLATE/feature-request.md b/.github/ISSUE_TEMPLATE/feature-request.md new file mode 100644 index 00000000..b9ba01e3 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature-request.md @@ -0,0 +1,20 @@ +--- +name: Feature request +about: Suggest an idea for this project +title: '' +labels: ideas +assignees: '' + +--- + +**Is your feature request related to a problem? Please describe.** +A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + +**Describe the solution you'd like** +A clear and concise description of what you want to happen. + +**Describe alternatives you've considered** +A clear and concise description of any alternative solutions or features you've considered. + +**Additional context** +Add any other context or screenshots about the feature request here. diff --git a/.github/workflows/prepare-maven-release.yml b/.github/workflows/prepare-maven-release.yml index 25b1932a..2184dc4d 100644 --- a/.github/workflows/prepare-maven-release.yml +++ b/.github/workflows/prepare-maven-release.yml @@ -40,3 +40,11 @@ jobs: run: | git push git push --tags + + - name: Build and Publish SNAPSHOT to the Maven Central + run: mvn -B clean install deploy -DskipTests -DdeployAtEnd=true + env: + MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} + MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }} + SIGN_KEY: ${{ secrets.SIGN_KEY }} + SIGN_KEY_PASS: ${{ secrets.SIGN_KEY_PASS }}