|
7 | 7 | - implementation: nodestream.interpreting:Interpreter
|
8 | 8 | arguments:
|
9 | 9 | interpretations:
|
10 |
| - - type: source_node |
11 |
| - node_type: GithubRepo |
12 |
| - additional_indexes: |
13 |
| - - full_name |
14 |
| - - html_url |
15 |
| - key_normalization: |
16 |
| - do_lowercase_strings: false |
17 |
| - key: |
18 |
| - node_id: !jmespath 'node_id' |
19 |
| - - type: properties |
20 |
| - properties: |
21 |
| - id: !jmespath 'id' |
22 |
| - name: !jmespath 'name' |
23 |
| - full_name: !jmespath 'full_name' |
24 |
| - private: !jmespath 'private' |
25 |
| - html_url: !jmespath 'html_url' |
26 |
| - description: !jmespath 'description' |
27 |
| - fork: !jmespath 'fork' |
28 |
| - url: !jmespath 'url' |
29 |
| - homepage: !jmespath 'homepage' |
30 |
| - language: !jmespath 'language' |
31 |
| - forks_count: !jmespath 'forks_count' |
32 |
| - stargazers_count: !jmespath 'stargazers_count' |
33 |
| - watchers_count: !jmespath 'watchers_count' |
34 |
| - size: !jmespath 'size' |
35 |
| - default_branch: !jmespath 'default_branch' |
36 |
| - open_issues_count: !jmespath 'open_issues_count' |
37 |
| - is_template: !jmespath 'is_template' |
38 |
| - topics: !jmespath 'topics' |
39 |
| - has_issues: !jmespath 'has_issues' |
40 |
| - has_projects: !jmespath 'has_projects' |
41 |
| - has_wiki: !jmespath 'has_wiki' |
42 |
| - has_pages: !jmespath 'has_pages' |
43 |
| - has_downloads: !jmespath 'has_downloads' |
44 |
| - has_discussions: !jmespath 'has_discussions' |
45 |
| - archived: !jmespath 'archived' |
46 |
| - disabled: !jmespath 'disabled' |
47 |
| - visibility: !jmespath 'visibility' |
48 |
| - pushed_at: !jmespath 'pushed_at' |
49 |
| - created_at: !jmespath 'created_at' |
50 |
| - updated_at: !jmespath 'updated_at' |
51 |
| - security_and_analysis_advanced_security: !jmespath 'security_and_analysis.advanced_security.status' |
52 |
| - security_and_analysis_secret_scanning: !jmespath 'security_and_analysis.secret_scanning.status' |
53 |
| - security_and_analysis_secret_scanning_push_protection: !jmespath 'security_and_analysis.secret_scanning_push_protection.status' |
| 10 | + - type: source_node |
| 11 | + node_type: GithubRepo |
| 12 | + additional_indexes: |
| 13 | + - full_name |
| 14 | + - html_url |
| 15 | + key_normalization: |
| 16 | + do_lowercase_strings: false |
| 17 | + key: |
| 18 | + node_id: !jmespath 'node_id' |
| 19 | + - type: properties |
| 20 | + properties: |
| 21 | + id: !jmespath 'id' |
| 22 | + name: !jmespath 'name' |
| 23 | + full_name: !jmespath 'full_name' |
| 24 | + private: !jmespath 'private' |
| 25 | + html_url: !jmespath 'html_url' |
| 26 | + description: !jmespath 'description' |
| 27 | + fork: !jmespath 'fork' |
| 28 | + url: !jmespath 'url' |
| 29 | + homepage: !jmespath 'homepage' |
| 30 | + language: !jmespath 'language' |
| 31 | + forks_count: !jmespath 'forks_count' |
| 32 | + stargazers_count: !jmespath 'stargazers_count' |
| 33 | + watchers_count: !jmespath 'watchers_count' |
| 34 | + size: !jmespath 'size' |
| 35 | + default_branch: !jmespath 'default_branch' |
| 36 | + open_issues_count: !jmespath 'open_issues_count' |
| 37 | + is_template: !jmespath 'is_template' |
| 38 | + topics: !jmespath 'topics' |
| 39 | + has_issues: !jmespath 'has_issues' |
| 40 | + has_projects: !jmespath 'has_projects' |
| 41 | + has_wiki: !jmespath 'has_wiki' |
| 42 | + has_pages: !jmespath 'has_pages' |
| 43 | + has_downloads: !jmespath 'has_downloads' |
| 44 | + has_discussions: !jmespath 'has_discussions' |
| 45 | + archived: !jmespath 'archived' |
| 46 | + disabled: !jmespath 'disabled' |
| 47 | + visibility: !jmespath 'visibility' |
| 48 | + pushed_at: !jmespath 'pushed_at' |
| 49 | + created_at: !jmespath 'created_at' |
| 50 | + updated_at: !jmespath 'updated_at' |
| 51 | + security_and_analysis_advanced_security: !jmespath 'security_and_analysis.advanced_security.status' |
| 52 | + security_and_analysis_secret_scanning: !jmespath 'security_and_analysis.secret_scanning.status' |
| 53 | + security_and_analysis_secret_scanning_push_protection: !jmespath 'security_and_analysis.secret_scanning_push_protection.status' |
54 | 54 |
|
55 |
| - - type: relationship |
56 |
| - node_type: GithubOrg |
57 |
| - relationship_type: IN_ORGANIZATION |
58 |
| - key_normalization: |
59 |
| - do_lowercase_strings: false |
60 |
| - node_key: |
61 |
| - node_id: !jmespath 'org_owner.node_id' |
62 |
| - node_properties: |
63 |
| - id: !jmespath "org_owner.id" |
64 |
| - name: !jmespath "org_owner.name" |
65 |
| - login: !jmespath "org_owner.login" |
| 55 | + - type: relationship |
| 56 | + node_type: GithubOrg |
| 57 | + relationship_type: IN_ORGANIZATION |
| 58 | + key_normalization: |
| 59 | + do_lowercase_strings: false |
| 60 | + node_key: |
| 61 | + node_id: !jmespath 'org_owner.node_id' |
| 62 | + node_properties: |
| 63 | + id: !jmespath "org_owner.id" |
| 64 | + name: !jmespath "org_owner.name" |
| 65 | + login: !jmespath "org_owner.login" |
66 | 66 |
|
67 | 67 |
|
68 |
| - - type: relationship |
69 |
| - node_type: GithubUser |
70 |
| - relationship_type: IS_OWNER |
71 |
| - outbound: false |
72 |
| - key_normalization: |
73 |
| - do_lowercase_strings: false |
74 |
| - node_key: |
75 |
| - node_id: !jmespath 'user_owner.node_id' |
76 |
| - node_properties: |
77 |
| - id: !jmespath "user_owner.id" |
78 |
| - login: !jmespath "user_owner.login" |
| 68 | + - type: relationship |
| 69 | + node_type: GithubUser |
| 70 | + relationship_type: IS_OWNER |
| 71 | + outbound: false |
| 72 | + key_normalization: |
| 73 | + do_lowercase_strings: false |
| 74 | + node_key: |
| 75 | + node_id: !jmespath 'user_owner.node_id' |
| 76 | + node_properties: |
| 77 | + id: !jmespath "user_owner.id" |
| 78 | + login: !jmespath "user_owner.login" |
79 | 79 |
|
80 |
| - - type: github-user-relationship |
81 |
| - relationship_type: IS_COLLABORATOR |
82 |
| - iterate_on: !jmespath 'collaborators[*]' |
83 |
| - outbound: false |
84 |
| - key_normalization: |
85 |
| - do_lowercase_strings: false |
86 |
| - relationship_properties: |
87 |
| - "affiliation": !jmespath "affiliation" |
88 |
| - "permission": !jmespath "role_name" |
| 80 | + - type: github-user-relationship |
| 81 | + relationship_type: IS_COLLABORATOR |
| 82 | + iterate_on: !jmespath 'collaborators[*]' |
| 83 | + outbound: false |
| 84 | + key_normalization: |
| 85 | + do_lowercase_strings: false |
| 86 | + relationship_properties: |
| 87 | + "affiliation": !jmespath "affiliation" |
| 88 | + "role_name": !jmespath "role_name" |
89 | 89 |
|
90 |
| - - type: relationship |
91 |
| - node_type: ProgrammingLanguage |
92 |
| - relationship_type: HAS_LANGUAGE |
93 |
| - key_normalization: |
94 |
| - do_lowercase_strings: true |
95 |
| - node_key: |
96 |
| - name: !jmespath 'name' |
97 |
| - relationship_properties: |
98 |
| - size: !jmespath size |
99 |
| - iterate_on: !jmespath 'languages' |
| 90 | + - type: relationship |
| 91 | + node_type: ProgrammingLanguage |
| 92 | + relationship_type: HAS_LANGUAGE |
| 93 | + key_normalization: |
| 94 | + do_lowercase_strings: true |
| 95 | + node_key: |
| 96 | + name: !jmespath 'name' |
| 97 | + relationship_properties: |
| 98 | + size: !jmespath size |
| 99 | + iterate_on: !jmespath 'languages' |
100 | 100 |
|
101 |
| - - type: relationship |
102 |
| - node_type: GithubWebhook |
103 |
| - iterate_on: !jmespath 'webhooks[*]' |
104 |
| - relationship_type: WEBHOOK_ON |
105 |
| - outbound: false |
106 |
| - key_normalization: |
107 |
| - do_lowercase_strings: false |
108 |
| - relationship_properties: |
109 |
| - events: !jmespath "events" |
110 |
| - node_key: |
111 |
| - id: !jmespath 'id' |
112 |
| - node_properties: |
113 |
| - type: !jmespath 'type' |
114 |
| - id: !jmespath 'id' |
115 |
| - name: !jmespath 'name' |
116 |
| - active: !jmespath 'active' |
117 |
| - config_content_type: !jmespath 'config.content_type' |
118 |
| - config_insecure_ssl: !jmespath 'config.insecure_ssl' |
119 |
| - config_url: !jmespath 'config.url' |
120 |
| - updated_at: !jmespath 'updated_at' |
121 |
| - created_at: !jmespath 'created_at' |
122 |
| - url: !jmespath 'url' |
123 |
| - last_response_code: !jmespath 'last_response.code' |
124 |
| - last_response_status: !jmespath 'last_response.status' |
125 |
| - last_response_message: !jmespath 'last_response.message' |
| 101 | + - type: relationship |
| 102 | + node_type: GithubWebhook |
| 103 | + iterate_on: !jmespath 'webhooks[*]' |
| 104 | + relationship_type: WEBHOOK_ON |
| 105 | + outbound: false |
| 106 | + key_normalization: |
| 107 | + do_lowercase_strings: false |
| 108 | + relationship_properties: |
| 109 | + events: !jmespath "events" |
| 110 | + node_key: |
| 111 | + id: !jmespath 'id' |
| 112 | + node_properties: |
| 113 | + type: !jmespath 'type' |
| 114 | + id: !jmespath 'id' |
| 115 | + name: !jmespath 'name' |
| 116 | + active: !jmespath 'active' |
| 117 | + config_content_type: !jmespath 'config.content_type' |
| 118 | + config_insecure_ssl: !jmespath 'config.insecure_ssl' |
| 119 | + config_url: !jmespath 'config.url' |
| 120 | + updated_at: !jmespath 'updated_at' |
| 121 | + created_at: !jmespath 'created_at' |
| 122 | + url: !jmespath 'url' |
| 123 | + last_response_code: !jmespath 'last_response.code' |
| 124 | + last_response_status: !jmespath 'last_response.status' |
| 125 | + last_response_message: !jmespath 'last_response.message' |
126 | 126 |
|
0 commit comments