From 000b6e49fc226e4a79248b213eea078be06041a8 Mon Sep 17 00:00:00 2001 From: lucio Date: Wed, 24 Jan 2024 16:25:09 +0100 Subject: [PATCH] updated with configuration for smartgears 4 --- .classpath | 8 +-- .project | 8 +++ .settings/.jsdtscope | 13 +++++ .settings/org.eclipse.jdt.core.prefs | 8 +-- .settings/org.eclipse.wst.common.component | 24 +++++++++ ....eclipse.wst.common.project.facet.core.xml | 7 +++ ...rg.eclipse.wst.jsdt.ui.superType.container | 1 + .../org.eclipse.wst.jsdt.ui.superType.name | 1 + .settings/org.eclipse.wst.validation.prefs | 2 + CHANGELOG.md | 2 +- distro/INSTALL | 1 - distro/LICENSE | 2 - distro/MAINTAINERS | 2 - distro/README | Bin 1515 -> 0 bytes distro/changelog.xml | 9 ---- distro/descriptor.xml | 32 ----------- distro/gcube-app.xml | 7 --- distro/profile.xml | 29 ---------- distro/svnpath.txt | 0 .../extra-resources/WEB-INF/application.yaml | 5 ++ .../extra-resources}/WEB-INF/sun-jaxws.xml | 0 .../extra-resources}/WEB-INF/web.xml | 0 pom.xml | 51 ++++-------------- src/main/webapp/WEB-INF/gcube-app.xml | 7 --- 24 files changed, 77 insertions(+), 142 deletions(-) create mode 100644 .settings/.jsdtscope create mode 100644 .settings/org.eclipse.wst.common.component create mode 100644 .settings/org.eclipse.wst.common.project.facet.core.xml create mode 100644 .settings/org.eclipse.wst.jsdt.ui.superType.container create mode 100644 .settings/org.eclipse.wst.jsdt.ui.superType.name create mode 100644 .settings/org.eclipse.wst.validation.prefs delete mode 100644 distro/INSTALL delete mode 100644 distro/LICENSE delete mode 100644 distro/MAINTAINERS delete mode 100644 distro/README delete mode 100644 distro/changelog.xml delete mode 100644 distro/descriptor.xml delete mode 100644 distro/gcube-app.xml delete mode 100644 distro/profile.xml delete mode 100644 distro/svnpath.txt create mode 100644 gcube/extra-resources/WEB-INF/application.yaml rename {src/main/webapp => gcube/extra-resources}/WEB-INF/sun-jaxws.xml (100%) rename {src/main/webapp => gcube/extra-resources}/WEB-INF/web.xml (100%) delete mode 100644 src/main/webapp/WEB-INF/gcube-app.xml diff --git a/.classpath b/.classpath index 002ad57..4918979 100644 --- a/.classpath +++ b/.classpath @@ -6,11 +6,6 @@ - - - - - @@ -24,7 +19,7 @@ - + @@ -32,6 +27,7 @@ + diff --git a/.project b/.project index d011549..8945c1a 100644 --- a/.project +++ b/.project @@ -15,6 +15,11 @@ + + org.eclipse.wst.validation.validationbuilder + + + org.eclipse.m2e.core.maven2Builder @@ -22,8 +27,11 @@ + org.eclipse.jem.workbench.JavaEMFNature + org.eclipse.wst.common.modulecore.ModuleCoreNature org.eclipse.jdt.core.javanature org.eclipse.m2e.core.maven2Nature org.eclipse.wst.common.project.facet.core.nature + org.eclipse.wst.jsdt.core.jsNature diff --git a/.settings/.jsdtscope b/.settings/.jsdtscope new file mode 100644 index 0000000..e4a0c2d --- /dev/null +++ b/.settings/.jsdtscope @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs index db24ee7..ec55441 100644 --- a/.settings/org.eclipse.jdt.core.prefs +++ b/.settings/org.eclipse.jdt.core.prefs @@ -1,8 +1,8 @@ eclipse.preferences.version=1 org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=11 org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve -org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.compliance=11 org.eclipse.jdt.core.compiler.debug.lineNumber=generate org.eclipse.jdt.core.compiler.debug.localVariable=generate org.eclipse.jdt.core.compiler.debug.sourceFile=generate @@ -10,6 +10,6 @@ org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled org.eclipse.jdt.core.compiler.problem.enumIdentifier=error org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning -org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore +org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning org.eclipse.jdt.core.compiler.release=disabled -org.eclipse.jdt.core.compiler.source=1.8 +org.eclipse.jdt.core.compiler.source=11 diff --git a/.settings/org.eclipse.wst.common.component b/.settings/org.eclipse.wst.common.component new file mode 100644 index 0000000..e424036 --- /dev/null +++ b/.settings/org.eclipse.wst.common.component @@ -0,0 +1,24 @@ + + + + + + + + + + + + uses + + + uses + + + + + + + + + diff --git a/.settings/org.eclipse.wst.common.project.facet.core.xml b/.settings/org.eclipse.wst.common.project.facet.core.xml new file mode 100644 index 0000000..c82abf3 --- /dev/null +++ b/.settings/org.eclipse.wst.common.project.facet.core.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/.settings/org.eclipse.wst.jsdt.ui.superType.container b/.settings/org.eclipse.wst.jsdt.ui.superType.container new file mode 100644 index 0000000..3bd5d0a --- /dev/null +++ b/.settings/org.eclipse.wst.jsdt.ui.superType.container @@ -0,0 +1 @@ +org.eclipse.wst.jsdt.launching.baseBrowserLibrary \ No newline at end of file diff --git a/.settings/org.eclipse.wst.jsdt.ui.superType.name b/.settings/org.eclipse.wst.jsdt.ui.superType.name new file mode 100644 index 0000000..05bd71b --- /dev/null +++ b/.settings/org.eclipse.wst.jsdt.ui.superType.name @@ -0,0 +1 @@ +Window \ No newline at end of file diff --git a/.settings/org.eclipse.wst.validation.prefs b/.settings/org.eclipse.wst.validation.prefs new file mode 100644 index 0000000..04cad8c --- /dev/null +++ b/.settings/org.eclipse.wst.validation.prefs @@ -0,0 +1,2 @@ +disabled=06target +eclipse.preferences.version=1 diff --git a/CHANGELOG.md b/CHANGELOG.md index a939bd0..49a4f9e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -# Changelog for Test WebApp +# Changelog for Test WhnManager ## [v3.0.0-SNAPSHOT] - 2022-06-10 diff --git a/distro/INSTALL b/distro/INSTALL deleted file mode 100644 index 049006c..0000000 --- a/distro/INSTALL +++ /dev/null @@ -1 +0,0 @@ -Used as library in the gCube Framework \ No newline at end of file diff --git a/distro/LICENSE b/distro/LICENSE deleted file mode 100644 index 7bca8c8..0000000 --- a/distro/LICENSE +++ /dev/null @@ -1,2 +0,0 @@ -${gcube.license} - diff --git a/distro/MAINTAINERS b/distro/MAINTAINERS deleted file mode 100644 index e729771..0000000 --- a/distro/MAINTAINERS +++ /dev/null @@ -1,2 +0,0 @@ -Roberto Cirillo (roberto.cirillo@isti.cnr.it), CNR Pisa, -Istituto di Scienza e Tecnologie dell'Informazione "A. Faedo". diff --git a/distro/README b/distro/README deleted file mode 100644 index 01364909a470c33cee0e4adb91913ee14a7750fc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1515 zcmbtUL2p_y3`Ux?1HZzmIJDDvyH`7`1rA6pngF$jX@`)Qht<4E` zhl6>UoFP}{zYoYk9M8?Y$?ki&?ClnbtQo3^`zrzQ-J%Kz0TH55UXn$qX&SiDE9FYG zzAS!M_5#Ss4+>z2QAf|uu=LzGG3Fr7M+`;7?Iy*Q=Wrh0PcZch@ zOudi$FF%y2L~CUtDb8AzS&y(n#-H`rKzDeO?Ys`0#yIK0+YzUL{4(IzI2zo@WUXI! zt3{I5YtIqRBY2xi5tcI$+Axg25{CF!K8$sA5l=JNht5z4NmcW z`<}&gM;cv_@8=<%*IOm{W!x%m#=$o61et6=sZg!!h+GAD_6aH_i-&|)3;TFu-HivM c$!zq(t|~g651mfutK5%r+cO>A4DUyO0N{(WCjbBd diff --git a/distro/changelog.xml b/distro/changelog.xml deleted file mode 100644 index 2e8bce0..0000000 --- a/distro/changelog.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - first release - - - porting to authorization 2.0 and smartgears 2.0 - - - \ No newline at end of file diff --git a/distro/descriptor.xml b/distro/descriptor.xml deleted file mode 100644 index 3ec7706..0000000 --- a/distro/descriptor.xml +++ /dev/null @@ -1,32 +0,0 @@ - - servicearchive - - tar.gz - - / - - - ${distroDirectory} - / - true - - README - LICENSE - changelog.xml - profile.xml - - 755 - true - - - - - target/${build.finalName}.war - /${artifactId} - - - - \ No newline at end of file diff --git a/distro/gcube-app.xml b/distro/gcube-app.xml deleted file mode 100644 index fcfff7c..0000000 --- a/distro/gcube-app.xml +++ /dev/null @@ -1,7 +0,0 @@ - - WhnManager - VREManagement - ${version} - Web Hosting Node Service - - diff --git a/distro/profile.xml b/distro/profile.xml deleted file mode 100644 index 70ad93d..0000000 --- a/distro/profile.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - Service - - ${description} - VREManagement - ${artifactId} - 1.0.0 - - - ${description} - ${artifactId} - ${version} - - ${groupId} - ${artifactId} - ${version} - - library - - ${build.finalName}.jar - - - - - - - diff --git a/distro/svnpath.txt b/distro/svnpath.txt deleted file mode 100644 index e69de29..0000000 diff --git a/gcube/extra-resources/WEB-INF/application.yaml b/gcube/extra-resources/WEB-INF/application.yaml new file mode 100644 index 0000000..fdad0e4 --- /dev/null +++ b/gcube/extra-resources/WEB-INF/application.yaml @@ -0,0 +1,5 @@ +name: WhnManager +group: VREManagement +version: ${version} +description: Web Hosting Node Service +proxable: false \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/sun-jaxws.xml b/gcube/extra-resources/WEB-INF/sun-jaxws.xml similarity index 100% rename from src/main/webapp/WEB-INF/sun-jaxws.xml rename to gcube/extra-resources/WEB-INF/sun-jaxws.xml diff --git a/src/main/webapp/WEB-INF/web.xml b/gcube/extra-resources/WEB-INF/web.xml similarity index 100% rename from src/main/webapp/WEB-INF/web.xml rename to gcube/extra-resources/WEB-INF/web.xml diff --git a/pom.xml b/pom.xml index cc13717..35ef1c3 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ org.gcube.tools maven-parent - 1.1.0 + 1.2.0 org.gcube.resourcemanagement whn-manager @@ -14,8 +14,8 @@ ${project.basedir}/src/main/webapp/WEB-INF ${project.basedir}/distro - 1.8 - 1.8 + 11 + 11 @@ -44,6 +44,12 @@ 4.0.1 provided + + + javax.ws.rs + javax.ws.rs-api + + org.gcube.core common-smartgears-app @@ -54,16 +60,6 @@ gxHTTP - - com.sun.xml.ws - jaxws-rt - 2.1.7 - - - - - - org.jboss.weld.servlet weld-servlet-core @@ -103,35 +99,6 @@ - - - org.apache.maven.plugins - maven-resources-plugin - 2.6 - - - copy-profile - - copy-resources - - process-resources - - ${webappDirectory} - - - ${distroDirectory} - - gcube-app.xml - - true - - - - - - org.apache.maven.plugins maven-war-plugin diff --git a/src/main/webapp/WEB-INF/gcube-app.xml b/src/main/webapp/WEB-INF/gcube-app.xml deleted file mode 100644 index 67a1c96..0000000 --- a/src/main/webapp/WEB-INF/gcube-app.xml +++ /dev/null @@ -1,7 +0,0 @@ - - WhnManager - VREManagement - 3.0.0-SNAPSHOT - Web Hosting Node Service - -