-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #265 from ODMDev/vnext-release
ICP4BA 2101 release
- Loading branch information
Showing
35 changed files
with
282 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
### Metering properties ### | ||
com.ibm.rules.metering.server.url=METERING_SERVER_URL | ||
# API key to identify the user in IBM Connect to Cloud service | ||
# Mandatory | ||
com.ibm.rules.metering.api.key=None | ||
# Identifier to use to identifier the Decision Center instance | ||
# Optional: If not specified, the value is automatically computed | ||
com.ibm.rules.metering.instance.identifier=METERING_INSTANCE_ID | ||
# Period of time to wait between two usage reports to send to IBM Connect to Cloud service (en milliseconds) | ||
# Optional: If not specified, the value is 15 minutes | ||
com.ibm.rules.metering.send.period=METERING_SEND_PERIOD | ||
# If true, send usages to the IBM Connect to Cloud service | ||
com.ibm.rules.metering.send.usages=true | ||
# If true, log usages on the filesystem | ||
com.ibm.rules.metering.log.usages=true | ||
### End of metering properties ### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#!/bin/bash | ||
|
||
if [ -s "/config/pluginconfig/plugin-configuration.properties" ] | ||
then | ||
echo "Configure metering using /config/pluginconfig/plugin-configuration.properties provided config" | ||
elif [ -n "$METERING_SERVER_URL" ] | ||
then | ||
echo "Configure metering using /config/metering-template.properties template" | ||
echo "Set METERING_SERVER_URL with $METERING_SERVER_URL" | ||
sed -i 's|METERING_SERVER_URL|'$METERING_SERVER_URL'|g' /config/metering-template.properties | ||
if [ -n "$RELEASE_NAME" ] | ||
then | ||
echo "Set METERING_INSTANCE_ID with $RELEASE_NAME" | ||
sed -i 's|METERING_INSTANCE_ID|'$RELEASE_NAME'|g' /config/metering-template.properties | ||
else | ||
echo "Set METERING_INSTANCE_ID with $HOSTNAME" | ||
sed -i 's|METERING_INSTANCE_ID|'$HOSTNAME'|g' /config/metering-template.properties | ||
fi | ||
|
||
if [ -n "$METERING_SEND_PERIOD" ] | ||
then | ||
echo "Set METERING_SEND_PERIOD with $METERING_SEND_PERIOD milliseconds" | ||
sed -i 's|METERING_SEND_PERIOD|'$METERING_SEND_PERIOD'|g' /config/metering-template.properties | ||
else | ||
echo "Set METERING_SEND_PERIOD with 900000 milliseconds" | ||
sed -i 's|METERING_SEND_PERIOD|900000|g' /config/metering-template.properties | ||
fi | ||
|
||
mkdir /config/pluginconfig | ||
cp /config/metering-template.properties /config/pluginconfig/plugin-configuration.properties | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
-Djavax.net.ssl.trustStore=/config/security/truststore.jks | ||
-Djavax.net.ssl.trustStorePassword=__TRUSTSTORE_PASSWORD__ | ||
-Duser.language=en | ||
-Duser.country=US |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.