Skip to content
This repository was archived by the owner on Feb 5, 2022. It is now read-only.
Open
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
40 changes: 36 additions & 4 deletions build.gradle
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,44 @@ buildscript {
maven {
url "https://plugins.gradle.org/m2/"
}
// // ----------------------------------------------------------
// // Uncomment the below lines to resolve the gateway policy-plugin binaries from the specified directory (i.e., bins)
// // ----------------------------------------------------------
// flatDir {
// dirs 'bins'
// }
}

dependencies {
// "+" will always pull the latest available
classpath "com.ca.apim.gateway:gateway-policy-plugin:1.0.+"
classpath "com.ca.apim.gateway:gateway-export-plugin:1.0.+"
classpath "com.ca.apim.gateway:gateway-import-plugin:1.0.+"
// // ----------------------------------------------------------
// // Uncomment the below lines to resolve the gateway policy-plugin dependencies explicitly
// // ----------------------------------------------------------
// classpath 'org.apache.commons:commons-compress:1.18'
// classpath 'org.reflections:reflections:0.9.11'
// classpath 'com.google.inject:guice:4.2.1'
// classpath group: 'com.fasterxml.jackson.dataformat', name: 'jackson-dataformat-yaml', version: '2.9.6'
// classpath group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.9.6'
// classpath 'org.bouncycastle:bcprov-jdk15on:1.60'
// classpath 'commons-io:commons-io:2.6'
// classpath 'org.apache.commons:commons-lang3:3.8.1'
// classpath 'com.fasterxml.jackson.core:jackson-databind:2.9.7'
// classpath 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.9.7'
// classpath 'com.google.guava:guava:26.0-jre'
// classpath 'com.google.inject:guice:4.2.1'
// classpath 'org.apache.commons:commons-collections4:4.2'
// classpath 'org.jetbrains:annotations:16.0.2'
// classpath 'org.reflections:reflections:0.9.11'
// classpath 'org.apache.httpcomponents:httpclient:4.5.5'
// classpath 'org.slf4j:slf4j-simple:1.7.25'
// classpath 'org.apache.commons:commons-text:1.6'
// classpath "com.bmuschko:gradle-docker-plugin:4.6.2"
//
// classpath "com.ca.apim.gateway:config-builder:$gatewayPluginVersion"
// classpath "com.ca.apim.gateway:environment-creator-application:$gatewayPluginVersion"

classpath "com.ca.apim.gateway:gateway-policy-plugin:$gatewayPluginVersion"
classpath "com.ca.apim.gateway:gateway-export-plugin:$gatewayPluginVersion"
classpath "com.ca.apim.gateway:gateway-import-plugin:$gatewayPluginVersion"
}
}

Expand Down
32 changes: 7 additions & 25 deletions cassandra-example/build.gradle
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,30 +1,12 @@
buildscript {
repositories {
gradlePluginPortal()
mavenCentral()
jcenter()
}
dependencies {
classpath "com.ca.apim.gateway:config-builder:1.0.+"
classpath "com.ca.apim.gateway:environment-creator-application:1.0.+"
classpath "com.ca.apim.gateway:gateway-policy-plugin:1.0.+"
classpath "com.ca.apim.gateway:gateway-export-plugin:1.0.+"
}
}

apply plugin: 'com.ca.apim.gateway.gateway-export-plugin'
apply plugin: 'com.ca.apim.gateway.gateway-policy-plugin'
group = "cassandraConnection"
version = '1.0.0'
repositories {
gradlePluginPortal()
mavenCentral()
jcenter()
}

EnvironmentConfig{
name="cassandraExample"
map=[
"CASSANDRA_CONNECTION": file("./src/main/gateway/config/cassandra-connections.yml")
]
GatewaySourceConfig {
EnvironmentConfig {
name = "SNAPSHOT"
map = [
"CASSANDRA_CONNECTION": file("./src/main/gateway/config/cassandra-connections.yml")
]
}
}
34 changes: 8 additions & 26 deletions clusterproperty-example/build.gradle
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,30 +1,12 @@
buildscript {
repositories {
gradlePluginPortal()
mavenCentral()
jcenter()
}
dependencies {
classpath "com.ca.apim.gateway:config-builder:1.0.+"
classpath "com.ca.apim.gateway:environment-creator-application:1.0.+"
classpath "com.ca.apim.gateway:gateway-policy-plugin:1.0.+"
classpath "com.ca.apim.gateway:gateway-export-plugin:1.0.+"
}
}

apply plugin: 'com.ca.apim.gateway.gateway-export-plugin'
apply plugin: 'com.ca.apim.gateway.gateway-policy-plugin'
group = "clusterproperty"
version = '1.0.0'
repositories {
gradlePluginPortal()
mavenCentral()
jcenter()
}

EnvironmentConfig{
name="clusterPropertyExample"
map=[
"PROPERTY": file("./src/main/gateway/config/global-env.properties")
]
}
GatewaySourceConfig {
EnvironmentConfig {
name = "SNAPSHOT"
map = [
"PROPERTY": file("./src/main/gateway/config/global-env.properties")
]
}
}
20 changes: 0 additions & 20 deletions encass-annotations/build.gradle
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,23 +1,3 @@
buildscript {
repositories {
gradlePluginPortal()
mavenCentral()
jcenter()
}
dependencies {
classpath "com.ca.apim.gateway:config-builder:1.0.+"
classpath "com.ca.apim.gateway:environment-creator-application:1.0.+"
classpath "com.ca.apim.gateway:gateway-policy-plugin:1.0.+"
classpath "com.ca.apim.gateway:gateway-export-plugin:1.0.+"
}
}

apply plugin: 'com.ca.apim.gateway.gateway-export-plugin'
apply plugin: 'com.ca.apim.gateway.gateway-policy-plugin'
group = "encassExample"
version = '1.0.0'
repositories {
gradlePluginPortal()
mavenCentral()
jcenter()
}
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
gatewayPluginVersion=1.0.7
32 changes: 7 additions & 25 deletions http2client-example/build.gradle
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,30 +1,12 @@
buildscript {
repositories {
gradlePluginPortal()
mavenCentral()
jcenter()
}
dependencies {
classpath "com.ca.apim.gateway:config-builder:1.0.+"
classpath "com.ca.apim.gateway:environment-creator-application:1.0.+"
classpath "com.ca.apim.gateway:gateway-policy-plugin:1.0.+"
classpath "com.ca.apim.gateway:gateway-export-plugin:1.0.+"
}
}

apply plugin: 'com.ca.apim.gateway.gateway-export-plugin'
apply plugin: 'com.ca.apim.gateway.gateway-policy-plugin'
group = "http2client"
version = '1.0.0'
repositories {
gradlePluginPortal()
mavenCentral()
jcenter()
}

EnvironmentConfig{
name="http2clientExample"
map=[
"GENERIC": file("./src/main/gateway/config/generic-entities.yml")
]
GatewaySourceConfig {
EnvironmentConfig {
name = "SNAPSHOT"
map = [
"GENERIC": file("./src/main/gateway/config/generic-entities.yml")
]
}
}
32 changes: 7 additions & 25 deletions idprovider-example/build.gradle
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,30 +1,12 @@
buildscript {
repositories {
gradlePluginPortal()
mavenCentral()
jcenter()
}
dependencies {
classpath "com.ca.apim.gateway:config-builder:1.0.+"
classpath "com.ca.apim.gateway:environment-creator-application:1.0.+"
classpath "com.ca.apim.gateway:gateway-policy-plugin:1.0.+"
classpath "com.ca.apim.gateway:gateway-export-plugin:1.0.+"
}
}

apply plugin: 'com.ca.apim.gateway.gateway-export-plugin'
apply plugin: 'com.ca.apim.gateway.gateway-policy-plugin'
group = "idprovider"
version = '1.0.0'
repositories {
gradlePluginPortal()
mavenCentral()
jcenter()
}

EnvironmentConfig{
name="idproviderExample"
map=[
"IDENTITY_PROVIDER": file("./src/main/gateway/config/identity-providers.yml")
]
GatewaySourceConfig {
EnvironmentConfig {
name = "SNAPSHOT"
map = [
"IDENTITY_PROVIDER": file("./src/main/gateway/config/identity-providers.yml")
]
}
}
33 changes: 8 additions & 25 deletions jdbcconnection-example/build.gradle
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,30 +1,13 @@
buildscript {
repositories {
gradlePluginPortal()
mavenCentral()
jcenter()
}
dependencies {
classpath "com.ca.apim.gateway:config-builder:1.0.+"
classpath "com.ca.apim.gateway:environment-creator-application:1.0.+"
classpath "com.ca.apim.gateway:gateway-policy-plugin:1.0.+"
classpath "com.ca.apim.gateway:gateway-export-plugin:1.0.+"
}
}

apply plugin: 'com.ca.apim.gateway.gateway-export-plugin'
apply plugin: 'com.ca.apim.gateway.gateway-policy-plugin'
group = "jdbcconnection"
version = '1.0.0'
repositories {
gradlePluginPortal()
mavenCentral()
jcenter()
}

EnvironmentConfig{
name="jdbcExample"
map=[
"JDBC_CONNECTION": file("./src/main/gateway/config/jdbc-connections.yml")
]
GatewaySourceConfig {
EnvironmentConfig {
name = "SNAPSHOT"
map = [
"JDBC_CONNECTION": file("./src/main/gateway/config/jdbc-connections.yml")
]
}
}

34 changes: 8 additions & 26 deletions jms-example/build.gradle
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,30 +1,12 @@
buildscript {
repositories {
gradlePluginPortal()
mavenCentral()
jcenter()
}
dependencies {
classpath "com.ca.apim.gateway:config-builder:1.0.+"
classpath "com.ca.apim.gateway:environment-creator-application:1.0.+"
classpath "com.ca.apim.gateway:gateway-policy-plugin:1.0.+"
classpath "com.ca.apim.gateway:gateway-export-plugin:1.0.+"
}
}

apply plugin: 'com.ca.apim.gateway.gateway-export-plugin'
apply plugin: 'com.ca.apim.gateway.gateway-policy-plugin'
group = "jmsconnection"
version = '1.0.0'
repositories {
gradlePluginPortal()
mavenCentral()
jcenter()
}

EnvironmentConfig{
name="jmsExample"
map=[
"JMS_DESTINATION": file("./src/main/gateway/config/jms-destinations.yml")
]
}
GatewaySourceConfig {
EnvironmentConfig {
name = "SNAPSHOT"
map = [
"JMS_DESTINATION": file("./src/main/gateway/config/jms-destinations.yml")
]
}
}
34 changes: 8 additions & 26 deletions mqnative-example/build.gradle
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,30 +1,12 @@
buildscript {
repositories {
gradlePluginPortal()
mavenCentral()
jcenter()
}
dependencies {
classpath "com.ca.apim.gateway:config-builder:1.0.+"
classpath "com.ca.apim.gateway:environment-creator-application:1.0.+"
classpath "com.ca.apim.gateway:gateway-policy-plugin:1.0.+"
classpath "com.ca.apim.gateway:gateway-export-plugin:1.0.+"
}
}

apply plugin: 'com.ca.apim.gateway.gateway-export-plugin'
apply plugin: 'com.ca.apim.gateway.gateway-policy-plugin'
group = "mqnative"
version = '1.0.0'
repositories {
gradlePluginPortal()
mavenCentral()
jcenter()
}

EnvironmentConfig{
name="mqnativeExample"
map=[
"SSG_ACTIVE_CONNECTOR": file("./src/main/gateway/config/active-connectors.yml")
]
}
GatewaySourceConfig {
EnvironmentConfig {
name = "RELEASE"
map = [
"SSG_ACTIVE_CONNECTOR": file("./src/main/gateway/config/active-connectors.yml")
]
}
}
34 changes: 8 additions & 26 deletions password-example/build.gradle
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,30 +1,12 @@
buildscript {
repositories {
gradlePluginPortal()
mavenCentral()
jcenter()
}
dependencies {
classpath "com.ca.apim.gateway:config-builder:1.0.+"
classpath "com.ca.apim.gateway:environment-creator-application:1.0.+"
classpath "com.ca.apim.gateway:gateway-policy-plugin:1.0.+"
classpath "com.ca.apim.gateway:gateway-export-plugin:1.0.+"
}
}

apply plugin: 'com.ca.apim.gateway.gateway-export-plugin'
apply plugin: 'com.ca.apim.gateway.gateway-policy-plugin'
group = "storedpassword"
version = '1.0.0'
repositories {
gradlePluginPortal()
mavenCentral()
jcenter()
}

EnvironmentConfig{
name="passwordExample"
map=[
"PASSWORD.jdbc_con_pass": file("./src/main/gateway/config/stored-passwords.properties")
]
}
GatewaySourceConfig {
EnvironmentConfig{
name="SNAPSHOT"
map=[
"PASSWORD.jdbc_con_pass": file("./src/main/gateway/config/stored-passwords.properties")
]
}
}
Loading