From d71e49202217cf2770586e587648b51bdb6c3dd8 Mon Sep 17 00:00:00 2001 From: siyul-park Date: Mon, 16 Sep 2024 20:25:33 -0400 Subject: [PATCH] fix: document error --- docs/architecture.md | 36 ++++++++++++++++++------------------ docs/architecture_kr.md | 24 +++++++++++------------- 2 files changed, 29 insertions(+), 31 deletions(-) diff --git a/docs/architecture.md b/docs/architecture.md index 23293b28..55c204f2 100644 --- a/docs/architecture.md +++ b/docs/architecture.md @@ -75,28 +75,28 @@ Users can update node specifications by using a Command-Line Interface (CLI) or path: /v1/secrets port: out[7] ports: - out[0]: + out[0]: - name: nodes_create port: in - out[1]: + out[1]: - name: nodes_read port: in - out[2]: + out[2]: - name: nodes_update port: in - out[3]: + out[3]: - name: nodes_delete port: in - out[4]: + out[4]: - name: secrets_create port: in - out[5]: + out[5]: - name: secrets_read port: in - out[6]: + out[6]: - name: secrets_update port: in - out[7]: + out[7]: - name: secrets_delete port: in @@ -105,7 +105,7 @@ Users can update node specifications by using a Command-Line Interface (CLI) or specs: - kind: snippet language: cel - code: "has(self.body) ? self.body : null" + code: 'has(self.body) ? self.body : null' - kind: native opcode: nodes.create - kind: snippet @@ -123,7 +123,7 @@ Users can update node specifications by using a Command-Line Interface (CLI) or specs: - kind: snippet language: json - code: "null" + code: 'null' - kind: native opcode: nodes.read - kind: snippet @@ -141,7 +141,7 @@ Users can update node specifications by using a Command-Line Interface (CLI) or specs: - kind: snippet language: cel - code: "has(self.body) ? self.body : null" + code: 'has(self.body) ? self.body : null' - kind: native opcode: nodes.update - kind: snippet @@ -159,7 +159,7 @@ Users can update node specifications by using a Command-Line Interface (CLI) or specs: - kind: snippet language: json - code: "null" + code: 'null' - kind: native opcode: nodes.delete - kind: snippet @@ -176,7 +176,7 @@ Users can update node specifications by using a Command-Line Interface (CLI) or specs: - kind: snippet language: cel - code: "has(self.body) ? self.body : null" + code: 'has(self.body) ? self.body : null' - kind: native opcode: secrets.create - kind: snippet @@ -194,7 +194,7 @@ Users can update node specifications by using a Command-Line Interface (CLI) or specs: - kind: snippet language: json - code: "null" + code: 'null' - kind: native opcode: secrets.read - kind: snippet @@ -212,7 +212,7 @@ Users can update node specifications by using a Command-Line Interface (CLI) or specs: - kind: snippet language: cel - code: "has(self.body) ? self.body : null" + code: 'has(self.body) ? self.body : null' - kind: native opcode: secrets.update - kind: snippet @@ -230,7 +230,7 @@ Users can update node specifications by using a Command-Line Interface (CLI) or specs: - kind: snippet language: json - code: "null" + code: 'null' - kind: native opcode: secrets.delete - kind: snippet @@ -245,9 +245,9 @@ Users can update node specifications by using a Command-Line Interface (CLI) or - kind: switch name: catch matches: - - when: self == 'unsupported type' || self == 'unsupported value' + - when: self == "unsupported type" || self == "unsupported value" port: out[0] - - when: "true" + - when: 'true' port: out[1] ports: out[0]: diff --git a/docs/architecture_kr.md b/docs/architecture_kr.md index 60b0c2eb..561603ae 100644 --- a/docs/architecture_kr.md +++ b/docs/architecture_kr.md @@ -103,7 +103,7 @@ specs: - kind: snippet language: cel - code: "has(self.body) ? self.body : null" + code: 'has(self.body) ? self.body : null' - kind: native opcode: nodes.create - kind: snippet @@ -121,7 +121,7 @@ specs: - kind: snippet language: json - code: "null" + code: 'null' - kind: native opcode: nodes.read - kind: snippet @@ -139,7 +139,7 @@ specs: - kind: snippet language: cel - code: "has(self.body) ? self.body : null" + code: 'has(self.body) ? self.body : null' - kind: native opcode: nodes.update - kind: snippet @@ -157,7 +157,7 @@ specs: - kind: snippet language: json - code: "null" + code: 'null' - kind: native opcode: nodes.delete - kind: snippet @@ -174,7 +174,7 @@ specs: - kind: snippet language: cel - code: "has(self.body) ? self.body : null" + code: 'has(self.body) ? self.body : null' - kind: native opcode: secrets.create - kind: snippet @@ -192,7 +192,7 @@ specs: - kind: snippet language: json - code: "null" + code: 'null' - kind: native opcode: secrets.read - kind: snippet @@ -210,7 +210,7 @@ specs: - kind: snippet language: cel - code: "has(self.body) ? self.body : null" + code: 'has(self.body) ? self.body : null' - kind: native opcode: secrets.update - kind: snippet @@ -228,7 +228,7 @@ specs: - kind: snippet language: json - code: "null" + code: 'null' - kind: native opcode: secrets.delete - kind: snippet @@ -243,9 +243,9 @@ - kind: switch name: catch matches: - - when: self == 'unsupported type' || self == 'unsupported value' + - when: self == "unsupported type" || self == "unsupported value" port: out[0] - - when: "true" + - when: 'true' port: out[1] ports: out[0]: @@ -280,10 +280,8 @@ } ``` -이 접근 방식은 안정적인 런타임 환경을 유지하면서 시스템을 유연하게 확장할 수 있도록 합니다. 이 접근 방식은 안정적인 런타임 환경을 유지하면서 시스템을 유연하게 확장할 수 있도록 합니다. -### 컴파일 과정 ### 컴파일 과정 로더는 데이터베이스의 변경 스트림을 통해 실시간으로 노드 명세와 시크릿의 변경 사항을 추적합니다. 추가, 수정, 삭제가 발생하면 로더는 해당 명세를 다시 로드하고, 스키마에 정의된 코덱을 활용해 실행 가능한 형태로 컴파일합니다. 캐싱과 최적화 과정도 함께 수행되어 성능을 개선합니다. @@ -355,4 +353,4 @@ 프로세스가 종료되면, 정상 종료 여부를 확인하고 열린 파일 디스크립터, 할당된 메모리, 데이터베이스 트랜잭션 등을 해제합니다. -부모 프로세스가 종료되면, 그에 의해 파생된 모든 자식 프로세스도 함께 종료됩니다. 이때 부모 프로세스는 자식 프로세스가 모두 종료될 때까지 대기합니다. \ No newline at end of file +부모 프로세스가 종료되면, 그에 의해 파생된 모든 자식 프로세스도 함께 종료됩니다. 이때 부모 프로세스는 자식 프로세스가 모두 종료될 때까지 대기합니다.