Skip to content

Commit

Permalink
feat: update sames
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Apr 27, 2020
1 parent 358e3a2 commit 011a5ac
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.ledge-sunburst {
width: auto;
height: auto;
min-width: 500px;
min-height: 500px;
max-width: 800px;
min-width: 960px;
min-height: 960px;
max-width: 1200px;
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export class LedgeSunburstComponent implements OnInit, AfterViewInit {

@ViewChild('chart', {}) chart: ElementRef;

private childLevel = 1;
private childLevel = 0;

ngOnInit(): void {
}
Expand Down Expand Up @@ -53,17 +53,16 @@ export class LedgeSunburstComponent implements OnInit, AfterViewInit {
}

private setValue(list: LedgeListItem[], value) {
this.childLevel++;
for (const item of list) {
value++;
if (item.children) {
this.setValue(item.children, value);
item.value = value;
} else {
item.value = 1;
value = 0;
}
}

this.childLevel--;
return list;
}
}
22 changes: 11 additions & 11 deletions src/assets/docs/pattern.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,10 +206,10 @@ ThoughtWorks Tech Lead 模型
- Idea
- Sonarlint
- 版本控制
- truffleHog \*
- truffleHog *
- Git Toolkit
- Gitlab
- git-secrets \*
- git-secrets *
- 持续集成
- Jenkins
- Blue Ocean
Expand All @@ -220,23 +220,23 @@ ThoughtWorks Tech Lead 模型
- Pipeline
- 构建
- Dockerfile
- hadolint \*
- hadolint *
- 分析
- SAST \*
- SAST *
- Sonarqube
- Snyk
- FOSSology
- CodeQL CLI
- Compliance \*
- SCA \*
- Compliance *
- SCA *
- Ort
- Dependency-Check
- Dependency-Track
- 制品
- 供应链安全 \*
- 供应链安全 *
- ClearlyDefined
- OpenChain
- 容器 \*
- 容器 *
- Anchore
- Trivy
- Clair
Expand All @@ -262,7 +262,7 @@ ThoughtWorks Tech Lead 模型
- Rancher
- OpenShift/OKD
- KubeOperator
- hardening & compliance \*
- hardening & compliance *
- kube-hunter
- Falco
- Lynis
Expand All @@ -278,15 +278,15 @@ ThoughtWorks Tech Lead 模型
- ELK
- Loki
- 集成测试
- Fuzzing \*
- Fuzzing *
- 自动化测试
- Dredd
- Newman + Postman
- Http Runner 基于录制
- Cucumber
- galasa-dev
- Pact
- DAST \*
- DAST *
- Zed
- Openvas Nvt
- Contrast Security
Expand Down

0 comments on commit 011a5ac

Please sign in to comment.