Skip to content

Commit

Permalink
[dbe] enabling triggers for cassandra
Browse files Browse the repository at this point in the history
  • Loading branch information
tjlee committed Mar 25, 2019
1 parent 43907e1 commit 6fd7885
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 0 deletions.
Binary file added cassandra/3.0/AuditTrigger.jar
Binary file not shown.
19 changes: 19 additions & 0 deletions cassandra/3.0/AuditTrigger.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

keyspace=guest
table=t
2 changes: 2 additions & 0 deletions cassandra/3.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ FROM cassandra:3.0

ADD entrypoint.sh /
ADD init.sh /
ADD AuditTrigger.jar /etc/cassandra/triggers/
ADD AuditTrigger.properties /etc/cassandra/

ENV CASSANDRA_CONFIG /etc/cassandra

Expand Down
Binary file added cassandra/3.11/AuditTrigger.jar
Binary file not shown.
19 changes: 19 additions & 0 deletions cassandra/3.11/AuditTrigger.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

keyspace=guest
table=t
2 changes: 2 additions & 0 deletions cassandra/3.11/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ FROM cassandra:3

ADD entrypoint.sh /
ADD init.sh /
ADD AuditTrigger.jar /etc/cassandra/triggers/
ADD AuditTrigger.properties /etc/cassandra/

ENV CASSANDRA_CONFIG /etc/cassandra

Expand Down

0 comments on commit 6fd7885

Please sign in to comment.