Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 6 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,21 @@
### ArcadeDB Version:

`<version here, you can find it on the 1st line of server output>`

### OS and JDK Version:

`<OS and JDK brand and version here. You can find it in the 2nd line of the server output>`

### Expected behavior

`<add here>`

### Actual behavior

`<add here>`

### Steps to reproduce

`<add here>`

`<An SQL script to reproduce the problem or a JUnit test case will increase **A LOT** the chance to have a quick fix>`
6 changes: 3 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@ updates:
directory: "/"
schedule:
interval: weekly
time: '04:00'
time: "04:00"
open-pull-requests-limit: 20

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: weekly
time: '05:00'
time: "05:00"
open-pull-requests-limit: 10

- package-ecosystem: "docker"
directory: "/package/src/main/docker/"
schedule:
interval: weekly
time: '06:00'
time: "06:00"
open-pull-requests-limit: 10
5 changes: 5 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
## What does this PR do?

A brief description of the change being made with this pull request.

## Motivation

What inspired you to submit this pull request?

## Related issues

A list of issues either fixed, containing architectural discussions, otherwise relevant
for this Pull Request.

## Additional Notes

Anything else we should know when reviewing?

## Checklist

- [ ] I have run the build using `mvn clean package` command
- [ ] My unit tests cover both failure and success scenarios
29 changes: 14 additions & 15 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ name: "CodeQL"

on:
push:
branches: [ "main" ]
branches: ["main"]
pull_request:
branches: [ "main" ]
branches: ["main"]
schedule:
- cron: '39 19 * * 5'
- cron: "39 19 * * 5"

jobs:
analyze:
Expand All @@ -20,20 +20,19 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [ 'java', 'javascript' ]
language: ["java", "javascript"]

steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Checkout repository
uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}

- name: Autobuild
uses: github/codeql-action/autobuild@v2
- name: Autobuild
uses: github/codeql-action/autobuild@v2


- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
2 changes: 1 addition & 1 deletion .github/workflows/mvn-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
with:
distribution: "temurin"
java-version: 11
cache: 'maven'
cache: "maven"
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/mvn-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ on:
workflow_dispatch:
inputs:
releaseversion:
description: 'Release version'
description: "Release version"
required: true
default: '2.4.0'
default: "2.4.0"
jobs:
publish:
runs-on: ubuntu-latest
Expand All @@ -31,7 +31,7 @@ jobs:
with:
distribution: "temurin"
java-version: 11
cache: 'maven'
cache: "maven"
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
Expand Down
19 changes: 9 additions & 10 deletions .github/workflows/mvn-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,13 @@ on:
branches:
- main


jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest ]
continue-on-error: [ false ]
os: [ubuntu-latest]
continue-on-error: [false]
include:
- os: windows-latest
continue-on-error: true
Expand Down Expand Up @@ -44,11 +43,11 @@ jobs:
- name: Set up GraalVM 11
uses: graalvm/setup-graalvm@v1
with:
version: '22.3.2'
version: "22.3.2"
gds-token: ${{ secrets.GDS_TOKEN }}
java-version: '11'
cache: 'maven'
components: 'native-image,js'
java-version: "11"
cache: "maven"
components: "native-image,js"
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Install jars
Expand All @@ -74,9 +73,9 @@ jobs:
if: success() || failure()
with:
name: Test Report - ${{ matrix.os }}
path: '**/surefire-reports/TEST*.xml'
list-suites: 'failed'
list-tests: 'failed'
path: "**/surefire-reports/TEST*.xml"
list-suites: "failed"
list-tests: "failed"
reporter: java-junit

- name: Get coverage files
Expand Down
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ repos:
- id: check-json
- id: check-xml
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.0-alpha.4
rev: v3.1.0
hooks:
- id: prettier
types: [ java ]
# types: [ java ]
additional_dependencies:
- prettier@2.7.1
- prettier-plugin-java@1.6.2
- prettier@3.1.0
- prettier-plugin-java@2.4.0
- prettier-plugin-xml
args:
- --write
- --list-different
- --ignore-unknown
- --plugin=prettier-plugin-java
4 changes: 4 additions & 0 deletions .prettierrc.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Prettier configuration
overrides:
- files:
- "**/*.*"
options:
printWidth: 160
- files:
- "**/*.java"
options:
Expand Down
4 changes: 2 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ type: software
authors:
- given-names: Luca
family-names: Garulli
repository-code: 'https://github.com/ArcadeData/arcadedb'
url: 'https://arcadedb.com'
repository-code: "https://github.com/ArcadeData/arcadedb"
url: "https://arcadedb.com"
abstract: Play With Data!
license: Apache-2.0
copyright: Copyright (c) 2021 Arcade Data Ltd
Expand Down
14 changes: 7 additions & 7 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@

#### **Did you find a bug?**

* **Do not open up a GitHub issue if the bug is a security vulnerability**, and instead write to support -at- arcadedb.com.
- **Do not open up a GitHub issue if the bug is a security vulnerability**, and instead write to support -at- arcadedb.com.

* **Ensure the bug was not already reported** by searching on GitHub under [Issues](https://github.com/ArcadeData/arcadedb/issues).
- **Ensure the bug was not already reported** by searching on GitHub under [Issues](https://github.com/ArcadeData/arcadedb/issues).

* If you're unable to find an open issue addressing the problem, [open a new one](https://github.com/ArcadeData/arcadedb/issues/new)
- If you're unable to find an open issue addressing the problem, [open a new one](https://github.com/ArcadeData/arcadedb/issues/new)
. Be sure to include a **title and clear description**, as much relevant information as possible, and a **code sample** or an **
executable test case** demonstrating the expected behavior that is not occurring.

#### **Did you write a patch that fixes a bug?**

* Open a new GitHub pull request with the patch.
- Open a new GitHub pull request with the patch.

* Ensure the PR description clearly describes the problem and solution. Include the relevant issue number if applicable.
- Ensure the PR description clearly describes the problem and solution. Include the relevant issue number if applicable.

#### **Did you fix whitespace, format code, or make a purely cosmetic patch?**

Expand All @@ -26,9 +26,9 @@ generally not be accepted.

#### **Do you intend to add a new feature or change an existing one?**

* Suggest your change in the [ArcadeDB Community](https://github.com/ArcadeData/arcadedb/discussions) and start writing code.
- Suggest your change in the [ArcadeDB Community](https://github.com/ArcadeData/arcadedb/discussions) and start writing code.

* Do not open an issue on GitHub until you have collected positive feedback about the change. GitHub issues are primarily intended
- Do not open an issue on GitHub until you have collected positive feedback about the change. GitHub issues are primarily intended
for bug reports and fixes.

### Prepare your environment
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
<a href="https://blog.arcadedb.com/"><img height="25" src="/server/src/main/resources/static/images/social/blog.svg" alt="Blog"></a>
</p>


ArcadeDB is a Multi-Model DBMS (created originally as a fork
from [OrientDB Open Source project](https://github.com/orientechnologies/orientdb) after the acquisition by SAP) with a brand-new
engine made of Alien Technology, able to crunch millions of records per second on common hardware with the usage of
Expand Down Expand Up @@ -106,7 +105,7 @@ imported `OpenBeer` database to find your favorite beer.

ArcadeDB is cloud-ready with [Docker](https://docs.arcadedb.com/#Docker) and [Kubernetes](https://docs.arcadedb.com/#Kubernetes) support.

You can also [download the latest release](https://github.com/ArcadeData/arcadedb/releases), unpack it on your local hard drive and start the server with ```bin/server.sh``` or ```bin/server.bat``` for Windows.
You can also [download the latest release](https://github.com/ArcadeData/arcadedb/releases), unpack it on your local hard drive and start the server with `bin/server.sh` or `bin/server.bat` for Windows.

### Community

Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ services:
arcade:
image: arcadedata/arcadedb:latest
ports:
- 2480:2480 # host : container port
- 2424:2424 # host : container port
- 2480:2480 # host : container port
- 2424:2424 # host : container port
environment:
JAVA_OPTS: >
-Darcadedb.server.rootPassword=playwithdata
Expand Down
2 changes: 1 addition & 1 deletion gremlin/src/test/resources/gremlin-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ scriptEngines:
classImports:
- java.lang.Math
methodImports:
- 'java.lang.Math#*'
Copy link
Contributor

Choose a reason for hiding this comment

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

Was this intentional or some IDE auto formatting?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

autoformatter

- "java.lang.Math#*"
org.apache.tinkerpop.gremlin.jsr223.ScriptFileGremlinPlugin:
files:
- ./target/config/gremlin-server.groovy
Expand Down
Loading