Skip to content

Commit e004eb8

Browse files
authored
Merge pull request #325 from graalvm/archive-demos-6
[GR-60094] Review and spring-r demo to archive.
2 parents 38e2139 + 7e1b233 commit e004eb8

File tree

11 files changed

+10
-17
lines changed

11 files changed

+10
-17
lines changed
Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,19 @@
1-
name: spring-r
1+
name: archive/spring-r
22
on:
33
push:
44
paths:
5-
- 'spring-r/**'
6-
- '.github/workflows/spring-r.yml'
5+
- 'archive/spring-r/**'
6+
- '.github/workflows/archive-spring-r.yml'
77
pull_request:
88
paths:
9-
- 'spring-r/**'
10-
- '.github/workflows/spring-r.yml'
11-
schedule:
12-
- cron: "0 0 1 * *" # run every month
9+
- 'archive/spring-r/**'
10+
- '.github/workflows/archive-spring-r.yml'
1311
workflow_dispatch:
1412
permissions:
1513
contents: read
1614
jobs:
1715
run:
18-
name: Run 'spring-r'
16+
name: Run 'archive/spring-r'
1917
runs-on: ubuntu-latest
2018
timeout-minutes: 15
2119
steps:
@@ -27,9 +25,9 @@ jobs:
2725
components: 'R'
2826
github-token: ${{ secrets.GITHUB_TOKEN }}
2927
cache: 'maven'
30-
- name: Run 'spring-r'
28+
- name: Run 'archive/spring-r'
3129
run: |
32-
cd spring-r
30+
cd archive/spring-r
3331
mvn --no-transfer-progress spring-boot:run -Dgraalvm.version=22.3.0 &
3432
sleep 60
3533
curl http://localhost:8080/load

README.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -167,11 +167,6 @@ cd graalvm-demos
167167
<td align="left" width="30%"><a href="/native-image/containerize/">native-image/containerize</a><br><a href="https://github.com/graalvm/graalvm-demos/actions/workflows/native-image-containerize.yml"><img alt="native-image/containerizee" src="https://github.com/graalvm/graalvm-demos/actions/workflows/native-image-containerize.yml/badge.svg" /></a></td>
168168
<td align="left" width="70%">Demonstrates how to compile a Spring Boot 3 application into a native executable using the Native Build Tools Maven plugin and a Maven profile <br> <strong>Technologies: </strong>Spring Boot, Native Image, Native Build Tools Maven plugin <br><strong>Reference: </strong><a href="https://www.graalvm.org/latest/reference-manual/native-image/guides/containerise-native-executable-and-run-in-docker-container/">Containerize a Native Executable and Run in a Container</a>, <a href="https://docs.oracle.com/en/graalvm/jdk/21/docs/getting-started/oci/cloud-shell/">Oracle GraalVM in OCI Cloud Shell</a></td>
169169
</tr>
170-
<tr>
171-
<td align="left" width="30%"><a href="/spring-r/">spring-r</a><br><a href="https://github.com/graalvm/graalvm-demos/actions/workflows/spring-r.yml"><img alt="spring-r" src="https://github.com/graalvm/graalvm-demos/actions/workflows/spring-r.yml/badge.svg" /></a></td>
172-
<td align="left" width="70%">Demonstrates GraalVM's polyglot feature by loading an R script into a Java host application
173-
<br><strong>Technologies: </strong> Spring, FastR <br><strong>Reference: </strong><a href="https://medium.com/graalvm/enhance-your-java-spring-application-with-r-data-science-b669a8c28bea">Enhance your Java Spring application with R data science</a></td>
174-
</tr>
175170
</tbody>
176171
</table>
177172

File renamed without changes.

spring-r/README.md renamed to archive/spring-r/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Spring Boot Using R Packages Demo
22

3-
This repository contains the code for a demo application for [GraalVM](graalvm.org).
3+
This repository contains a demo application referenced from the blog post [Enhance your Java Spring application with R data science](https://medium.com/graalvm/enhance-your-java-spring-application-with-r-data-science-b669a8c28bea).
44

55
### Prerequisites
66

@@ -35,4 +35,4 @@ This is a simple Java Spring application that uses GraalVM interoperability to l
3535
Replace "22.1.0" with your version of GraalVM.
3636
When the application is ready, open `http://localhost:8080/load`.
3737

38-
> Note: It may take 2-3 minutes to generate the plot.
38+
> Note: It may take 2-3 minutes to generate the plot.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)