Skip to content
This repository has been archived by the owner on Oct 14, 2020. It is now read-only.

Commit

Permalink
Issue 335 add mu-jwt system property support and testing
Browse files Browse the repository at this point in the history
  • Loading branch information
uberskigeek committed Sep 19, 2019
2 parents b4cac73 + 34c24b9 commit 0f25afe
Show file tree
Hide file tree
Showing 139 changed files with 1,094 additions and 892 deletions.
7 changes: 1 addition & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,7 @@ before_install:
- echo "Deleting old .m2 artifacts..."
- rm -rf $HOME/.m2/repository/net/wasdev
- rm -rf $HOME/.m2/repository/io/openliberty
- echo 'Installing ci.maven lib ....'
- git clone https://github.com/OpenLiberty/ci.maven.git ./ci.maven
- cd ./ci.maven
- git checkout liberty-maven-3.0
- mvn clean install
- cd ..
- rm -rf $HOME/.m2/repository/org/microshed
- docker run -d -p 5000:5000 --restart=always --name registry registry:2
install: true
before_script:
Expand Down
75 changes: 74 additions & 1 deletion boost-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<groupId>org.microshed.boost</groupId>
<artifactId>boost-common</artifactId>
<version>0.2</version>
<version>0.2.2-SNAPSHOT</version>

<url>https://github.com/OpenLiberty/boost</url>

Expand Down Expand Up @@ -83,4 +83,77 @@
</dependency>
</dependencies>


<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.8</version>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>false</autoReleaseAfterClose>
<!-- Skip based on the maven.deploy.skip property -->
<skipNexusStagingDeployMojo>${maven.deploy.skip}</skipNexusStagingDeployMojo>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>

<profiles>
<profile>
<id>oss-release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.4</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<extensions>true</extensions>
</plugin>
</plugins>
</build>
</profile>
</profiles>

</project>
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* IBM Corporation - initial API and implementation
*******************************************************************************/

package boost.common;
package org.microshed.boost.common;

import io.openliberty.tools.common.plugins.util.PluginExecutionException;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package boost.common;
package org.microshed.boost.common;

public interface BoostLoggerI {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* IBM Corporation - initial API and implementation
*******************************************************************************/

package boost.common.boosters;
package org.microshed.boost.common.boosters;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
Expand All @@ -18,7 +18,7 @@
import java.lang.annotation.Target;
import java.util.List;

import boost.common.BoostException;
import org.microshed.boost.common.BoostException;

/**
* Interface to describe common function across all technology Booster Pack
Expand All @@ -30,7 +30,7 @@ public abstract class AbstractBoosterConfig {
// version string format:
// <Major>.<Minor>-<boost version>-<Milestone>[-SNAPSHOT]
public static final String milestone = "-M1";
public static final String boostVersion = "-0.2";
public static final String boostVersion = "-0.2.2";
public static final String snapShot = "-SNAPSHOT";
public static final String fullSnapshotString = milestone + snapShot;
public static final String emptyString = "";
Expand All @@ -45,9 +45,9 @@ public abstract class AbstractBoosterConfig {
public static final String JSONP_VERSION_11 = "1.1" + boostVersion + emptyString;
public static final String JPA_VERSION_21 = "2.1" + boostVersion + emptyString;
public static final String JPA_VERSION_22 = "2.2" + boostVersion + emptyString;
public static final String MP_HEALTH_VERSION_10 = "1.0" + boostVersion + emptyString;
public static final String MP_HEALTH_VERSION_20 = "2.0" + boostVersion + emptyString;
public static final String BEANVALIDATION_VERSION_20 = "2.0" + boostVersion + emptyString;
public static final String MP_HEALTH_VERSION_10 = "1.0" + boostVersion + emptyString;
public static final String MP_CONFIG_VERSION_13 = "1.3" + boostVersion + emptyString;
public static final String MP_JWT_VERSION_11 = "1.1" + boostVersion + emptyString;
public static final String MP_METRICS_VERSION_11 = "1.1" + boostVersion + emptyString;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package boost.common.boosters;
package org.microshed.boost.common.boosters;

import java.util.ArrayList;
import java.util.List;

import boost.common.BoostException;
import boost.common.BoostLoggerI;
import boost.common.boosters.AbstractBoosterConfig.BoosterCoordinates;
import boost.common.config.BoosterConfigParams;
import org.microshed.boost.common.BoostException;
import org.microshed.boost.common.BoostLoggerI;
import org.microshed.boost.common.boosters.AbstractBoosterConfig.BoosterCoordinates;
import org.microshed.boost.common.config.BoosterConfigParams;

@BoosterCoordinates(AbstractBoosterConfig.BOOSTERS_GROUP_ID + ":bean-validation")
public class BeanValidationBoosterConfig extends AbstractBoosterConfig {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package boost.common.boosters;
package org.microshed.boost.common.boosters;

import java.util.ArrayList;
import java.util.List;

import boost.common.BoostException;
import boost.common.BoostLoggerI;
import boost.common.boosters.AbstractBoosterConfig.BoosterCoordinates;
import boost.common.config.BoosterConfigParams;
import org.microshed.boost.common.BoostException;
import org.microshed.boost.common.BoostLoggerI;
import org.microshed.boost.common.boosters.AbstractBoosterConfig.BoosterCoordinates;
import org.microshed.boost.common.config.BoosterConfigParams;

@BoosterCoordinates(AbstractBoosterConfig.BOOSTERS_GROUP_ID + ":cdi")
public class CDIBoosterConfig extends AbstractBoosterConfig {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package boost.common.boosters;
package org.microshed.boost.common.boosters;

import java.util.ArrayList;
import java.util.List;

import boost.common.BoostException;
import boost.common.BoostLoggerI;
import boost.common.boosters.AbstractBoosterConfig.BoosterCoordinates;
import boost.common.config.BoosterConfigParams;
import org.microshed.boost.common.BoostException;
import org.microshed.boost.common.BoostLoggerI;
import org.microshed.boost.common.boosters.AbstractBoosterConfig.BoosterCoordinates;
import org.microshed.boost.common.config.BoosterConfigParams;

@BoosterCoordinates(AbstractBoosterConfig.BOOSTERS_GROUP_ID + ":jaxrs")
public class JAXRSBoosterConfig extends AbstractBoosterConfig {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,21 @@
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package boost.common.boosters;
package org.microshed.boost.common.boosters;

import static boost.common.config.ConfigConstants.*;
import static org.microshed.boost.common.config.ConfigConstants.*;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Properties;

import boost.common.BoostException;
import boost.common.BoostLoggerI;
import boost.common.boosters.AbstractBoosterConfig.BoosterCoordinates;
import boost.common.config.BoostProperties;
import boost.common.config.BoosterConfigParams;
import org.microshed.boost.common.BoostException;
import org.microshed.boost.common.BoostLoggerI;
import org.microshed.boost.common.boosters.AbstractBoosterConfig.BoosterCoordinates;
import org.microshed.boost.common.config.BoostProperties;
import org.microshed.boost.common.config.BoosterConfigParams;

@BoosterCoordinates(AbstractBoosterConfig.BOOSTERS_GROUP_ID + ":jdbc")
public class JDBCBoosterConfig extends AbstractBoosterConfig {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package boost.common.boosters;
package org.microshed.boost.common.boosters;

import java.util.ArrayList;
import java.util.List;

import boost.common.BoostException;
import boost.common.BoostLoggerI;
import boost.common.boosters.AbstractBoosterConfig.BoosterCoordinates;
import boost.common.config.BoosterConfigParams;
import org.microshed.boost.common.BoostException;
import org.microshed.boost.common.BoostLoggerI;
import org.microshed.boost.common.boosters.AbstractBoosterConfig.BoosterCoordinates;
import org.microshed.boost.common.config.BoosterConfigParams;

@BoosterCoordinates(AbstractBoosterConfig.BOOSTERS_GROUP_ID + ":jpa")
public class JPABoosterConfig extends AbstractBoosterConfig {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package boost.common.boosters;
package org.microshed.boost.common.boosters;

import java.util.ArrayList;
import java.util.List;

import boost.common.BoostException;
import boost.common.BoostLoggerI;
import boost.common.boosters.AbstractBoosterConfig.BoosterCoordinates;
import boost.common.config.BoosterConfigParams;
import org.microshed.boost.common.BoostException;
import org.microshed.boost.common.BoostLoggerI;
import org.microshed.boost.common.boosters.AbstractBoosterConfig.BoosterCoordinates;
import org.microshed.boost.common.config.BoosterConfigParams;

@BoosterCoordinates(AbstractBoosterConfig.BOOSTERS_GROUP_ID + ":jsonb")
public class JSONBBoosterConfig extends AbstractBoosterConfig {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package boost.common.boosters;
package org.microshed.boost.common.boosters;

import java.util.ArrayList;
import java.util.List;

import boost.common.BoostException;
import boost.common.BoostLoggerI;
import boost.common.boosters.AbstractBoosterConfig.BoosterCoordinates;
import boost.common.config.BoosterConfigParams;
import org.microshed.boost.common.BoostException;
import org.microshed.boost.common.BoostLoggerI;
import org.microshed.boost.common.boosters.AbstractBoosterConfig.BoosterCoordinates;
import org.microshed.boost.common.config.BoosterConfigParams;

@BoosterCoordinates(AbstractBoosterConfig.BOOSTERS_GROUP_ID + ":jsonp")
public class JSONPBoosterConfig extends AbstractBoosterConfig {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package boost.common.boosters;
package org.microshed.boost.common.boosters;

import java.util.ArrayList;
import java.util.List;

import boost.common.BoostException;
import boost.common.BoostLoggerI;
import boost.common.boosters.AbstractBoosterConfig.BoosterCoordinates;
import boost.common.config.BoosterConfigParams;
import org.microshed.boost.common.BoostException;
import org.microshed.boost.common.BoostLoggerI;
import org.microshed.boost.common.boosters.AbstractBoosterConfig.BoosterCoordinates;
import org.microshed.boost.common.config.BoosterConfigParams;

@BoosterCoordinates(AbstractBoosterConfig.BOOSTERS_GROUP_ID + ":mp-config")
public class MPConfigBoosterConfig extends AbstractBoosterConfig {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package boost.common.boosters;
package org.microshed.boost.common.boosters;

import java.util.ArrayList;
import java.util.List;

import boost.common.BoostException;
import boost.common.BoostLoggerI;
import boost.common.boosters.AbstractBoosterConfig.BoosterCoordinates;
import boost.common.config.BoosterConfigParams;
import org.microshed.boost.common.BoostException;
import org.microshed.boost.common.BoostLoggerI;
import org.microshed.boost.common.boosters.AbstractBoosterConfig.BoosterCoordinates;
import org.microshed.boost.common.config.BoosterConfigParams;

@BoosterCoordinates(AbstractBoosterConfig.BOOSTERS_GROUP_ID + ":mp-fault-tolerance")
public class MPFaultToleranceBoosterConfig extends AbstractBoosterConfig {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package boost.common.boosters;
package org.microshed.boost.common.boosters;

import java.util.ArrayList;
import java.util.List;

import boost.common.BoostException;
import boost.common.BoostLoggerI;
import boost.common.boosters.AbstractBoosterConfig.BoosterCoordinates;
import boost.common.config.BoosterConfigParams;
import org.microshed.boost.common.BoostException;
import org.microshed.boost.common.BoostLoggerI;
import org.microshed.boost.common.boosters.AbstractBoosterConfig.BoosterCoordinates;
import org.microshed.boost.common.config.BoosterConfigParams;

@BoosterCoordinates(AbstractBoosterConfig.BOOSTERS_GROUP_ID + ":mp-health")
public class MPHealthBoosterConfig extends AbstractBoosterConfig {
Expand Down
Loading

0 comments on commit 0f25afe

Please sign in to comment.