Skip to content

Commit

Permalink
HWKALERTS-145 Remove Hawkular Accounts dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasponce committed May 5, 2016
1 parent cb7405e commit 2b9f512
Show file tree
Hide file tree
Showing 34 changed files with 25 additions and 411 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
<jboss-deployment-structure>
<deployment>
<dependencies>
<module name="org.hawkular.commons.cassandra-driver" export="true" />
<module name="com.google.guava" export="true" />
<module name="org.hawkular.bus"/>
</dependencies>
</deployment>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,4 @@
-->
<jboss-web>
<context-root>/hawkular/actions/aerogear</context-root>
<security-domain>keycloak</security-domain>
</jboss-web>
Original file line number Diff line number Diff line change
Expand Up @@ -21,31 +21,4 @@
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
version="3.0">

<context-param>
<param-name>org.keycloak.secretstore.enabled</param-name>
<param-value>true</param-value>
</context-param>

<security-constraint>
<web-resource-collection>
<web-resource-name>REST endpoints</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>*</role-name>
</auth-constraint>
</security-constraint>

<login-config>
<auth-method>KEYCLOAK</auth-method>
<realm-name>hawkular</realm-name>
</login-config>

<security-role>
<role-name>user</role-name>
</security-role>
<security-role>
<role-name>admin</role-name>
</security-role>

</web-app>
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
<jboss-deployment-structure>
<deployment>
<dependencies>
<module name="org.hawkular.commons.cassandra-driver" export="true" />
<module name="com.google.guava" export="true" />
<module name="org.hawkular.bus" />
</dependencies>
</deployment>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,4 @@
-->
<jboss-web>
<context-root>/hawkular/actions/email</context-root>
<security-domain>keycloak</security-domain>
</jboss-web>
Original file line number Diff line number Diff line change
Expand Up @@ -21,31 +21,4 @@
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
version="3.0">

<context-param>
<param-name>org.keycloak.secretstore.enabled</param-name>
<param-value>true</param-value>
</context-param>

<security-constraint>
<web-resource-collection>
<web-resource-name>REST endpoints</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>*</role-name>
</auth-constraint>
</security-constraint>

<login-config>
<auth-method>KEYCLOAK</auth-method>
<realm-name>hawkular</realm-name>
</login-config>

<security-role>
<role-name>user</role-name>
</security-role>
<security-role>
<role-name>admin</role-name>
</security-role>

</web-app>
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
<jboss-deployment-structure>
<deployment>
<dependencies>
<module name="org.hawkular.commons.cassandra-driver" export="true" />
<module name="com.google.guava" export="true" />
<module name="org.hawkular.bus" />
</dependencies>
</deployment>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,4 @@
-->
<jboss-web>
<context-root>/hawkular/actions/file</context-root>
<security-domain>keycloak</security-domain>
</jboss-web>
Original file line number Diff line number Diff line change
Expand Up @@ -21,31 +21,4 @@
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
version="3.0">

<context-param>
<param-name>org.keycloak.secretstore.enabled</param-name>
<param-value>true</param-value>
</context-param>

<security-constraint>
<web-resource-collection>
<web-resource-name>REST endpoints</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>*</role-name>
</auth-constraint>
</security-constraint>

<login-config>
<auth-method>KEYCLOAK</auth-method>
<realm-name>hawkular</realm-name>
</login-config>

<security-role>
<role-name>user</role-name>
</security-role>
<security-role>
<role-name>admin</role-name>
</security-role>

</web-app>
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
<jboss-deployment-structure>
<deployment>
<dependencies>
<module name="org.hawkular.commons.cassandra-driver" export="true" />
<module name="com.google.guava" export="true" />
<module name="org.hawkular.bus" />
</dependencies>
</deployment>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,4 @@
-->
<jboss-web>
<context-root>/hawkular/actions/irc</context-root>
<security-domain>keycloak</security-domain>
</jboss-web>
Original file line number Diff line number Diff line change
Expand Up @@ -21,31 +21,4 @@
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
version="3.0">

<context-param>
<param-name>org.keycloak.secretstore.enabled</param-name>
<param-value>true</param-value>
</context-param>

<security-constraint>
<web-resource-collection>
<web-resource-name>REST endpoints</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>*</role-name>
</auth-constraint>
</security-constraint>

<login-config>
<auth-method>KEYCLOAK</auth-method>
<realm-name>hawkular</realm-name>
</login-config>

<security-role>
<role-name>user</role-name>
</security-role>
<security-role>
<role-name>admin</role-name>
</security-role>

</web-app>
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
<jboss-deployment-structure>
<deployment>
<dependencies>
<module name="org.hawkular.commons.cassandra-driver" export="true" />
<module name="com.google.guava" export="true" />
<module name="org.hawkular.bus" />
</dependencies>
</deployment>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,4 @@
-->
<jboss-web>
<context-root>/hawkular/actions/pagerduty</context-root>
<security-domain>keycloak</security-domain>
</jboss-web>
Original file line number Diff line number Diff line change
Expand Up @@ -21,31 +21,4 @@
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
version="3.0">

<context-param>
<param-name>org.keycloak.secretstore.enabled</param-name>
<param-value>true</param-value>
</context-param>

<security-constraint>
<web-resource-collection>
<web-resource-name>REST endpoints</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>*</role-name>
</auth-constraint>
</security-constraint>

<login-config>
<auth-method>KEYCLOAK</auth-method>
<realm-name>hawkular</realm-name>
</login-config>

<security-role>
<role-name>user</role-name>
</security-role>
<security-role>
<role-name>admin</role-name>
</security-role>

</web-app>
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
<jboss-deployment-structure>
<deployment>
<dependencies>
<module name="org.hawkular.commons.cassandra-driver" export="true" />
<module name="com.google.guava" export="true" />
<module name="org.hawkular.bus" />
</dependencies>
</deployment>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,4 @@
-->
<jboss-web>
<context-root>/hawkular/actions/sms</context-root>
<security-domain>keycloak</security-domain>
</jboss-web>
Original file line number Diff line number Diff line change
Expand Up @@ -21,31 +21,4 @@
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
version="3.0">

<context-param>
<param-name>org.keycloak.secretstore.enabled</param-name>
<param-value>true</param-value>
</context-param>

<security-constraint>
<web-resource-collection>
<web-resource-name>REST endpoints</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>*</role-name>
</auth-constraint>
</security-constraint>

<login-config>
<auth-method>KEYCLOAK</auth-method>
<realm-name>hawkular</realm-name>
</login-config>

<security-role>
<role-name>user</role-name>
</security-role>
<security-role>
<role-name>admin</role-name>
</security-role>

</web-app>
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
<jboss-deployment-structure>
<deployment>
<dependencies>
<module name="org.hawkular.commons.cassandra-driver" export="true" />
<module name="com.google.guava" export="true" />
<module name="org.hawkular.bus" />
</dependencies>
</deployment>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,4 @@
-->
<jboss-web>
<context-root>/hawkular/actions/snmp</context-root>
<security-domain>keycloak</security-domain>
</jboss-web>
Original file line number Diff line number Diff line change
Expand Up @@ -21,31 +21,4 @@
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
version="3.0">

<context-param>
<param-name>org.keycloak.secretstore.enabled</param-name>
<param-value>true</param-value>
</context-param>

<security-constraint>
<web-resource-collection>
<web-resource-name>REST endpoints</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>*</role-name>
</auth-constraint>
</security-constraint>

<login-config>
<auth-method>KEYCLOAK</auth-method>
<realm-name>hawkular</realm-name>
</login-config>

<security-role>
<role-name>user</role-name>
</security-role>
<security-role>
<role-name>admin</role-name>
</security-role>

</web-app>
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
<jboss-deployment-structure>
<deployment>
<dependencies>
<module name="org.hawkular.commons.cassandra-driver" export="true" />
<module name="com.google.guava" export="true" />
<module name="org.hawkular.bus" />
</dependencies>
</deployment>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<!--
Copyright 2015 Red Hat, Inc. and/or its affiliates
Copyright 2015-2016 Red Hat, Inc. and/or its affiliates
and other contributors as indicated by the @author tags.
Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -19,5 +19,4 @@
-->
<jboss-web>
<context-root>/hawkular/actions/webhook</context-root>
<security-domain>keycloak</security-domain>
</jboss-web>
Original file line number Diff line number Diff line change
Expand Up @@ -21,31 +21,4 @@
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
version="3.0">

<context-param>
<param-name>org.keycloak.secretstore.enabled</param-name>
<param-value>true</param-value>
</context-param>

<security-constraint>
<web-resource-collection>
<web-resource-name>REST endpoints</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>*</role-name>
</auth-constraint>
</security-constraint>

<login-config>
<auth-method>KEYCLOAK</auth-method>
<realm-name>hawkular</realm-name>
</login-config>

<security-role>
<role-name>user</role-name>
</security-role>
<security-role>
<role-name>admin</role-name>
</security-role>

</web-app>

0 comments on commit 2b9f512

Please sign in to comment.