Skip to content

Commit 7b9b6fe

Browse files
Merge pull request alldatacenter#330 from alldatacenter/alldatadc
[master] 引入ranger建设数据安全管理 && 引入shifu建设云原生IOT开发引擎
2 parents 55796f5 + 6230dbc commit 7b9b6fe

File tree

3,200 files changed

+934251
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,200 files changed

+934251
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
FROM java:8
2+
# 在主机/var/lib/docker创建临时文件链接到容器的/tmp
3+
VOLUME /tmp
4+
# 将jar包添加到容器中并更名为real-app.jar
5+
ADD docker-app.jar real-app.jar
6+
# 运行jar包
7+
RUN bash -c 'touch /real-app.jar'
8+
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/real-app.jar"]
9+
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
docker build -t docker-app .
2+
docker run -d -p 8080:8080 docker-app

govern/data-security/InstallGuide.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# INSTALL GUIDE FOR ALL DATA
2+
3+
```markdown
4+
5+
> 安装指南
6+
7+
```

govern/data-security/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# DATA GOVERN FOR ALL DATA PLATFORM 数据治理引擎
2+
3+
## 基于Apache Ranger建设AllData统一数据安全管理
4+
5+
> 数据全生命周期的安全管控
6+
>
7+
> 安全预警机制,让数据使用安全、合规
8+
>
9+
> 1、数据权限管理
10+
>
11+
> 2、敏感数据发现
12+
>
13+
> 3、隐私保护
14+
>
15+
> 4、风险预警
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto
3+
4+
*.java text diff=java eol=lf
5+
*.html text diff=html eol=lf
6+
*.py text diff=python eol=lf
7+
*.css text eol=lf
8+
*.js text eol=lf
9+
*.sql text eol=lf
10+
*.sh text eol=lf
11+
*.xml text eol=lf
12+
*.txt text eol=lf
13+
*.json text eol=lf
14+
*.jsp text eol=lf
15+
*.csv text eol=lf
16+
*.properties text eol=lf
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
*.class
2+
*.iml
3+
.pydevproject
4+
.settings/
5+
.metadata
6+
.classpath
7+
.project
8+
/target/
9+
/venv/
10+
winpkg/target
11+
.DS_Store
12+
.idea
13+
14+
#Python
15+
*.pyc
16+
**/build
17+
**/dist
18+
**/apache_ranger.egg-info
19+
.python-version
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one or more
2+
# contributor license agreements. See the NOTICE file distributed with
3+
# this work for additional information regarding copyright ownership.
4+
# The ASF licenses this file to You under the Apache License, Version 2.0
5+
# (the "License"); you may not use this file except in compliance with
6+
# the License. You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
16+
17+
sudo: false
18+
dist: bionic
19+
language: generic
20+
21+
cache:
22+
directories:
23+
- $HOME/.m2
24+
25+
env:
26+
global:
27+
- KEY=default VALUE=default
28+
29+
# Environment to testing with different versions, disabled because ranger is not compatible
30+
# - KEY=hadoop.version VALUE=2.8.0
31+
32+
jobs:
33+
include:
34+
- name: Linux AMD64 OpenJDK8
35+
env: JDK_VERSION=8
36+
- name: Linux AMD64 OpenJDK11
37+
env: JDK_VERSION=11
38+
- name: Linux ARM64 OpenJDK11
39+
arch: arm64-graviton2
40+
dist: focal
41+
virt: lxd
42+
group: edge
43+
env:
44+
- JDK_VERSION=11
45+
- MAVEN_ARGS="-DskipJSTests=true -P!all"
46+
47+
before_install:
48+
- export MAVEN_OPTS="-Xmx1200M -XX:MaxPermSize=768m -Xms512m"
49+
- sudo apt update -y
50+
- sudo apt install openjdk-${JDK_VERSION}-jdk maven
51+
52+
install:
53+
- mvn install $MAVEN_ARGS -D$KEY=$VALUE -DskipTests -Dmaven.javadoc.skip=true --no-transfer-progress -B -V
54+
55+
# KafkaRangerAuthorizerGSSTest is a failing test, TestLdapUserGroup needs too much memory for travis
56+
script:
57+
- mvn test $MAVEN_ARGS -D$KEY=$VALUE -Dmaven.javadoc.skip=true -B -V -pl !plugin-kafka,!ugsync,!hive-agent
58+
- mvn test $MAVEN_ARGS -D$KEY=$VALUE -Dmaven.javadoc.skip=true -B -V -pl plugin-kafka -Dtest="*,!KafkaRangerAuthorizerGSSTest"
59+
- mvn test $MAVEN_ARGS -D$KEY=$VALUE -Dmaven.javadoc.skip=true -B -V -pl ugsync -Dtest="*,!TestLdapUserGroup"
60+
- if [[ "$JDK_VERSION" != "8" ]]; then mvn test $MAVEN_ARGS -D$KEY=$VALUE -Dmaven.javadoc.skip=true -B -V -pl hive-agent -Dtest="*,!HIVERangerAuthorizerTest" -DfailIfNoTests=false ; fi
61+
- if [[ "$JDK_VERSION" == "8" ]]; then mvn test $MAVEN_ARGS -D$KEY=$VALUE -Dmaven.javadoc.skip=true -B -V -pl hive-agent ; fi
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Apache Ranger is a Top Level Project (TLP) at the Apache Software Foundation (ASF).
2+
3+
This product includes software developed at The Apache Software
4+
Foundation (http://www.apache.org/).
5+
6+
http://ranger.apache.org

govern/data-security/ranger-2.3.0/LICENSE.txt

Lines changed: 323 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Apache Ranger
2+
Copyright 2014-2022 The Apache Software Foundation
3+
4+
This product includes software developed at The Apache Software Foundation (http://www.apache.org/).
5+
This product includes software developed by Spring Security Project (http://www.springframework.org/security)
6+
This product includes Azure/azure-sdk-for-java (https://github.com/Azure/azure-sdk-for-java/blob/master/LICENSE.txt ), Copyright (c) 2015 Microsoft.

0 commit comments

Comments
 (0)