This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Commit c6649654 authored by Michael Breu's avatar Michael Breu 💬
Browse files

Update auf V0.1.0

parent 2c356a6e
......@@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.codeability.sharing</groupId>
<artifactId>SharingPluginPlatformAPI</artifactId>
<version>0.1.0-Snapshot</version>
<version>0.1.0</version>
<name>SharingPluginPlatformAPI</name>
<description>CodeAbility Sharing Plugin Platform API</description>
<packaging>jar</packaging>
......
......@@ -50,10 +50,10 @@ public class SharingPluginConfig {
/**
*
* @param actionName
* @param actionTransferURL
* @param actionId
* @param filterELExpression
* @param actionName the name of the action
* @param actionTransferURL the transfer url, to which the action should forward the browser to
* @param actionId the id of the action
* @param filterELExpression some filter expression in the EL expression language
*/
......@@ -88,8 +88,8 @@ public class SharingPluginConfig {
/**
* convenience constructor.
* @param pluginName
* @param actions
* @param pluginName the name of the plugin
* @param actions the list of supported actions
*/
public SharingPluginConfig(String pluginName, Action[] actions) {
super();
......
......@@ -28,8 +28,8 @@ public class ShoppingBasket {
/**
* just a temporary fix, to make constuctor downward compatible.
* Should be fixed in development branch of sharing plattform.
* @param userInfo
* @param exerciseInfo
* @param userInfo the user info
* @param exerciseInfo the exercise infos
*/
@Deprecated
public ShoppingBasket(UserInfo userInfo, ExerciseInfo[] exerciseInfo) {
......@@ -39,6 +39,12 @@ public class ShoppingBasket {
this.tokenValidUntil = System.currentTimeMillis() + 60 * 60 * 1000L;
}
/**
* Constructor of the shopping basket
* @param userInfo the user info
* @param exerciseInfo the list of exercises
* @param tokenValidUntil the validity of the basket
*/
public ShoppingBasket(UserInfo userInfo, ExerciseInfo[] exerciseInfo, long tokenValidUntil) {
super();
this.userInfo = userInfo;
......@@ -64,7 +70,7 @@ public class ShoppingBasket {
/**
* convenience constructor.
* @param email
* @param email the email of the user
*/
public UserInfo(String email) {
super();
......@@ -104,10 +110,10 @@ public class ShoppingBasket {
public int gitLabProjectId;
/**
* convenience constructor.
* @param title
* @param gitLabProjectId
* @param gitLabURI
* @param keywords
* @param title the title
* @param gitLabProjectId the gitlab project id
* @param gitLabURI the gitlab URI of the project
* @param keywords the keywords
*/
public ExerciseInfo(String title, int gitLabProjectId, String gitLabURI, List<String> keywords) {
super();
......
......@@ -24,7 +24,7 @@ public class UserPrincipal {
public UserPrincipal() {
// JSON
}
/**
/**
* @return an informative name of the user
*/
public String getName() {
......
......@@ -23,7 +23,7 @@ public class SearchRequestDTO {
// JSON
}
/**
* @return the query
* @return the search query
*/
public SearchInputDTO getQuery() {
return query;
......@@ -36,7 +36,7 @@ public class SearchRequestDTO {
}
/**
* @return the userPrincipal
* @return the user principal for which the retrieval should be done
*/
public UserPrincipal getUserPrincipal() {
return userPrincipal;
......
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.codeability.sharing</groupId>
<artifactId>SharingPluginPlatformAPI</artifactId>
<version>0.1.0</version>
<name>SharingPluginPlatformAPI</name>
<description>CodeAbility Sharing Plugin Platform API</description>
<packaging>jar</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- Plugin versions -->
<maven-clean-plugin.version>3.1.0</maven-clean-plugin.version>
<maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
<maven-javadoc-plugin.version>3.2.0</maven-javadoc-plugin.version>
<maven-eclipse-plugin.version>2.10</maven-eclipse-plugin.version>
<maven-enforcer-plugin.version>3.0.0-M3</maven-enforcer-plugin.version>
<maven-failsafe-plugin.version>3.0.0-M4</maven-failsafe-plugin.version>
<maven-idea-plugin.version>2.2.1</maven-idea-plugin.version>
<maven-resources-plugin.version>3.1.0</maven-resources-plugin.version>
<maven-surefire-plugin.version>3.0.0-M4</maven-surefire-plugin.version>
<maven-war-plugin.version>3.2.3</maven-war-plugin.version>
<maven-checkstyle.version>3.1.1</maven-checkstyle.version>
<checkstyle.version>8.32</checkstyle.version>
<spring-nohttp-checkstyle.version>0.0.4.RELEASE</spring-nohttp-checkstyle.version>
<frontend-maven-plugin.version>1.10.0</frontend-maven-plugin.version>
<git-commit-id-plugin.version>4.0.0</git-commit-id-plugin.version>
<jacoco-maven-plugin.version>0.8.5</jacoco-maven-plugin.version>
<jib-maven-plugin.version>2.4.0</jib-maven-plugin.version>
<lifecycle-mapping.version>1.0.0</lifecycle-mapping.version>
<properties-maven-plugin.version>1.0.0</properties-maven-plugin.version>
<sonar-maven-plugin.version>3.7.0.1746</sonar-maven-plugin.version>
</properties>
<dependencies>
<!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.module/jackson-module-jaxb-annotations -->
<dependency>
<groupId>com.fasterxml.jackson.module</groupId>
<artifactId>jackson-module-jaxb-annotations</artifactId>
<version>2.10.4</version>
</dependency>
</dependencies>
<distributionManagement>
<repository>
<id>target</id>
<name>Local target repository, to be promoted to git</name>
<url>file://${project.basedir}/target</url>
<layout>default</layout>
</repository>
</distributionManagement>
<build>
<defaultGoal>package</defaultGoal>
<sourceDirectory>src</sourceDirectory>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>11</source>
<target>11</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${maven-checkstyle.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven-javadoc-plugin.version}</version>
<executions>
<execution>
<id>attach-javadocs</id>
<phase>deploy</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<version>${maven-eclipse-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>${maven-failsafe-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-idea-plugin</artifactId>
<version>${maven-idea-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>${maven-resources-plugin.version}</version>
<!-- unused <executions> <execution> <id>deploy-to-local-directory</id>
<phase>install</phase> <goals> <goal>copy-resources</goal> </goals> <configuration>
<outputDirectory>./target</outputDirectory> <resources> <resource> <directory>${project.build.directory}</directory>
<includes> <include>${project.build.finalName}.jar</include> </includes>
<filtering>false</filtering> </resource> </resources> </configuration> </execution>
</executions> -->
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<phase>deploy</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco-maven-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.sonarsource.scanner.maven</groupId>
<artifactId>sonar-maven-plugin</artifactId>
<version>${sonar-maven-plugin.version}</version>
</plugin>
</plugins>
</build>
</project>
\ No newline at end of file
......@@ -3,13 +3,13 @@
<groupId>org.codeability.sharing</groupId>
<artifactId>SharingPluginPlatformAPI</artifactId>
<versioning>
<release>0.1.0-Snapshot</release>
<release>0.1.0</release>
<versions>
<version>0.0.1</version>
<version>0.0.2</version>
<version>0.1.0</version>
<version>0.1.0-Snapshot</version>
</versions>
<lastUpdated>20210427143850</lastUpdated>
<lastUpdated>20210519093505</lastUpdated>
</versioning>
</metadata>
8f77db05c19493d61132b2c94f986dd9
\ No newline at end of file
1eaef42b6ad641e75aaa90fd164433b9
\ No newline at end of file
465017dae6d11028ad524f1dd23d45ee08be23ab
\ No newline at end of file
e8d7d8f6ce43e0aa81a73b6aa7ac6fbdb432558d
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment