This file contains hidden or 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
echo "building framework" | |
cd identity-framework | |
mvn clean install -Dmaven.test.skip=true | |
if [ $? -ne 0 ] | |
then | |
cd .. | |
echo Build failed at identity-framework | |
notify-send "Build failed at identity-framework" | |
exit 1 | |
else |
This file contains hidden or 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
mvn versions:update-properties -Dincludes=org.wso2.carbon.identity.* -DgenerateBackupPoms=false | |
mvn versions:update-properties -DgenerateBackupPoms=false -Dincludes=org.wso2.carbon.identity.*,org.wso2.carbon.extension.identity.*,org.wso2.charon,org.apache.rampart.wso2,org.apache.ws.security.wso2,org.wso2.carbon.consent.*,org.wso2.carbon.database.utils -U | |
//Run in release profile with signing disabled | |
mvn clean install -P wso2-release -Dgpg.skip | |
mvn versions:set -DnewVersion=1.0.8-SNAPSHOT |
This file contains hidden or 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
<datasources-configuration xmlns:svns="http://org.wso2.securevault/configuration"> | |
<providers> | |
<provider>org.wso2.carbon.ndatasource.rdbms.RDBMSDataSourceReader</provider> | |
</providers> | |
<datasources> | |
<datasource> | |
<name>WSO2_CARBON_DB</name> | |
<description>The datasource used for registry and user manager</description> | |
<jndiConfig> | |
<name>jdbc/WSO2CarbonDB</name> |
This file contains hidden or 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
https://github.com/wso2/security-tools/blob/master/dynamic-tools/zap-extensions/wso2-security-policy/WSO2Policy.policy |
This file contains hidden or 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
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:forcePasswordReset |
This file contains hidden or 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
package org.wso2.carbon.identity.sample.prometheus.servlet; | |
import io.prometheus.client.CollectorRegistry; | |
import io.prometheus.client.exporter.common.TextFormat; | |
import javax.servlet.http.HttpServlet; | |
import javax.servlet.http.HttpServletRequest; | |
import javax.servlet.http.HttpServletResponse; | |
import java.io.BufferedWriter; | |
import java.io.IOException; |
This file contains hidden or 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
package org.wso2.carbon.identity.sample.prometheus.internal; | |
import org.osgi.service.http.HttpService; | |
public class DataHolder { | |
private static DataHolder instance = new DataHolder(); | |
private HttpService httpService; |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<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 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>org.wso2.carbon.identity.sample</groupId> | |
<artifactId>org.wso2.carbon.identity.sample.prometheus.agent</artifactId> | |
<version>0.1.0-SNAPSHOT</version> | |
<packaging>bundle</packaging> |
This file contains hidden or 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
package org.wso2.carbon.identity.sample.prometheus.event.handler; | |
import io.prometheus.client.Counter; | |
import org.apache.commons.logging.Log; | |
import org.apache.commons.logging.LogFactory; | |
import org.wso2.carbon.identity.application.authentication.framework.context.AuthenticationContext; | |
import org.wso2.carbon.identity.application.authentication.framework.model.AuthenticatedUser; | |
import org.wso2.carbon.identity.application.authentication.framework.util.FrameworkConstants; | |
import org.wso2.carbon.identity.application.common.model.User; | |
import org.wso2.carbon.identity.event.IdentityEventConstants; |
This file contains hidden or 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
# my global config | |
global: | |
scrape_interval: 15s | |
evaluation_interval: 15s | |
# Alertmanager configuration | |
alerting: | |
alertmanagers: | |
- static_configs: |
OlderNewer