diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..8658ac7 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,27 @@ +--- +name: Bug report +about: Create a bug report to help us improve the project +title: '' +labels: 'type: bug, status: waiting-for-triage' +assignees: '' + +--- + +Please do a quick search on GitHub issues first, there might be already a duplicate issue for the one you are about to create. +If the bug is trivial, just go ahead and create the issue. Otherwise, please take a few moments and fill in the following sections: + +**Bug description** +A clear and concise description of what the bug is about. + +**Environment** +Please provide as many details as possible: Spring MCP version, Java version, which vector store you use if any, etc + +**Steps to reproduce** +Steps to reproduce the issue. + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Minimal Complete Reproducible example** +Please provide a failing test or a minimal complete verifiable example that reproduces the issue. +Bug reports that are reproducible will take priority in resolution over reports that are not reproducible. diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..a07b6a8 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: false +contact_links: + - name: Questions and Community Support + url: https://stackoverflow.com/questions/tagged/spring-ai-mcp + about: Please ask and answer questions on StackOverflow with the spring-ai tag diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000..aba7d39 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,27 @@ +--- +name: Feature request +about: Suggest an idea for this project +title: '' +labels: 'status: waiting-for-triage, type: feature' +assignees: '' + +--- + +Please do a quick search on GitHub issues first, the feature you are about to request might have already been requested. + +**Expected Behavior** + + + +**Current Behavior** + + + +**Context** + + diff --git a/.github/ISSUE_TEMPLATE/miscellaneous.md b/.github/ISSUE_TEMPLATE/miscellaneous.md new file mode 100644 index 0000000..80ee92a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/miscellaneous.md @@ -0,0 +1,17 @@ +--- +name: Miscellaneous +about: Suggest an improvement for this project +title: '' +labels: 'status: waiting-for-triage' +assignees: '' + +--- + +For anything other than bug reports and feature requests (performance, refactoring, etc), +just go ahead and file the issue. Please provide as many details as possible. + +If you have a question or a support request, please open a new discussion on [GitHub Discussions](https://github.com/spring-projects-experimental/spring-ai-mcp/discussions) +or ask a question on [StackOverflow](https://stackoverflow.com/questions/tagged/spring-ai-mcp). + +Please do **not** create issues on the [Issue Tracker](https://github.com/spring-projects-experimental/spring-ai-mcp/issues) for questions or support requests. +We would like to keep the issue tracker **exclusively** for bug reports and feature requests. diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml new file mode 100644 index 0000000..1d7facb --- /dev/null +++ b/.github/workflows/continuous-integration.yml @@ -0,0 +1,66 @@ +name: CI/CD build + +on: + push: + branches: [ "main" ] + +jobs: + build: + name: Build branch + runs-on: ubuntu-latest + steps: + - name: Checkout source code + uses: actions/checkout@v4 + + - name: Free Disk Space + uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1 + with: + large-packages: false + docker-images: false + + - name: Set up JDK 17 + uses: actions/setup-java@v4 + with: + java-version: '17' + distribution: 'temurin' + cache: 'maven' + + - name: Build with Maven and deploy to Artifactory + env: + ARTIFACTORY_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }} + ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }} + run: | + mvn -s settings.xml -Pjavadoc --batch-mode --update-snapshots deploy + + - name: Generate Java docs + run: mvn javadoc:aggregate + + - name: Capture project version + run: echo PROJECT_VERSION=$(mvn help:evaluate -Dexpression=project.version --quiet -DforceStdout) >> $GITHUB_ENV + +# - name: Generate assembly +# working-directory: spring-ai-docs +# run: mvn assembly:single + + +# - name: Setup SSH key +# env: +# DOCS_SSH_KEY: ${{ secrets.DOCS_SSH_KEY }} +# DOCS_SSH_HOST_KEY: ${{ secrets.DOCS_SSH_HOST_KEY }} +# run: | +# mkdir "$HOME/.ssh" +# echo "$DOCS_SSH_KEY" > "$HOME/.ssh/key" +# chmod 600 "$HOME/.ssh/key" +# echo "$DOCS_SSH_HOST_KEY" > "$HOME/.ssh/known_hosts" +# +# - name: Deploy docs +# env: +# DOCS_HOST: ${{ secrets.DOCS_HOST }} +# DOCS_PATH: ${{ secrets.DOCS_PATH }} +# DOCS_USERNAME: ${{ secrets.DOCS_USERNAME }} +# working-directory: spring-ai-docs/target +# run: | +# unzip spring-ai-$PROJECT_VERSION-docs.zip +# ssh -i $HOME/.ssh/key $DOCS_USERNAME@$DOCS_HOST "cd $DOCS_PATH && mkdir -p $PROJECT_VERSION" +# scp -i $HOME/.ssh/key -r api $DOCS_USERNAME@$DOCS_HOST:$DOCS_PATH/$PROJECT_VERSION +