Skip to content
Closed
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/analyze.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Project analysis

on:
push:
tags:
- '*'
branches: [ "main" ]

jobs:
dependency-submission:
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
architecture: 'x64'

# Generates and submits a dependency graph, enabling Dependabot Alerts for all project dependencies.
# See: https://github.com/gradle/actions/blob/main/dependency-submission/README.md
- name: Generate and submit dependency graph
uses: gradle/actions/dependency-submission@v4
with:
additional-arguments: "-Pmaven_settings_location='undefined'"
21 changes: 0 additions & 21 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,24 +76,3 @@ jobs:
-Pversion="$GITHUB_REF_NAME"
-Pspring-boot.build-image.imageName="ghcr.io/${GITHUB_REPOSITORY@L}"
dockerPush

dependency-submission:
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
architecture: 'x64'

# Generates and submits a dependency graph, enabling Dependabot Alerts for all project dependencies.
# See: https://github.com/gradle/actions/blob/main/dependency-submission/README.md
- name: Generate and submit dependency graph
uses: gradle/actions/dependency-submission@v4
with:
additional-arguments: "-Pmaven_settings_location='undefined'"
7 changes: 5 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import org.springframework.boot.gradle.tasks.bundling.BootJar
plugins {
alias(libs.plugins.geomatys.boot.convention)
id("org.asciidoctor.jvm.convert") version "4.0.2"
`java-test-fixtures`
}

sourceSets {
Expand Down Expand Up @@ -37,8 +38,10 @@ dependencies {
implementation("org.opengis:geoapi-conformance:3.0.2")

// For client
implementation("org.graalvm.js:js:24.1.1")
implementation("org.graalvm.js:js-scriptengine:24.1.1")
testFixturesApi("org.apache.sis.core:sis-referencing:1.5.0-ALPHA-1")
testFixturesImplementation("org.graalvm.js:js:24.1.1")
testFixturesImplementation("org.graalvm.js:js-scriptengine:24.1.1")
testFixturesImplementation("org.python:jython-slim:2.7.4")

// For GIGS tests
//implementation("org.iogp:gigs:1.0-SNAPSHOT")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public ResponseEntity<Resource> getCRS(@RequestBody CrsOperationService.CRSParam
* @param sourceLongitudeFirst Set to true to force longitude first.
* @param target EPSG/CRS/IAU/IGNF code, WKT, or URN.
* @param targetLongitudeFirst Set to true to force longitude first.
* @param format Output format, only text/javascript is supported.
* @param format Output format, only text/javascript and text/x-python are supported.
* @param aoi Optional bounding box [west,south,east,north]
* @param time Optional time
* @return operation between the two coordinate reference systems.
Expand All @@ -90,7 +90,7 @@ public ResponseEntity<Resource> getCRS(@RequestBody CrsOperationService.CRSParam
@RequestMapping(path = "operation", method = RequestMethod.GET)
@Parameter(name = "source", example = "EPSG:4326")
@Parameter(name = "target", example = "EPSG:3395")
@Parameter(name = "format", schema = @Schema(type = "string", allowableValues = {"text/javascript"}))
@Parameter(name = "format", schema = @Schema(type = "string", allowableValues = {"text/javascript", "text/x-python"}))
public ResponseEntity<Resource> getOperation(
@RequestParam String source,
@RequestParam(required = false, defaultValue = "false") boolean sourceLongitudeFirst,
Expand Down
Loading