Skip to content

Commit

Permalink
consolidate cloud schema to match all across (opensearch-project#846) (
Browse files Browse the repository at this point in the history
…opensearch-project#902)

(cherry picked from commit 07a621b)

Signed-off-by: YANGDB <yang.db.dev@gmail.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
(cherry picked from commit 398335e)
  • Loading branch information
opensearch-trigger-bot[bot] authored and A9 Swift Project User committed Sep 28, 2023
1 parent f8a8e67 commit e301209
Show file tree
Hide file tree
Showing 4 changed files with 103 additions and 16 deletions.
4 changes: 2 additions & 2 deletions auto_sync_commit_metadata.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"last_github_commit": "7a4bc745c8cb86888b882194df911841725871e9",
"last_gitfarm_commit": "06faae4e7b8288eae66833395fdd8f3d8f944cd2"
"last_github_commit": "398335e5c910aed6e2b17b6ce0e1b4360019c1f6",
"last_gitfarm_commit": "902dcde5a1ab483d5a0b7acc4fbda383c6e9df37"
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,30 +9,70 @@
},
"properties": {
"cloud": {
"type" : "object",
"properties": {
"provider": {
"type": "keyword"
},
"availability_zone": {
"type": "keyword"
},
"region": {
"type": "keyword"
},
"machine": {
"type": "object",
"properties": {
"type": {
"type": "keyword"
}
}
},
"account": {
"type": "object",
"properties": {
"id": {
"type": "keyword"
},
"name": {
"type": "keyword"
}
}
},
"region": {
"platform": {
"type": "keyword"
},
"resource_id": {
"type": "keyword"
"service": {
"type": "object",
"properties": {
"name": {
"type": "keyword"
}
}
},
"availability_zone": {
"type": "keyword"
"project": {
"type": "object",
"properties": {
"id": {
"type": "keyword"
},
"name": {
"type": "keyword"
}
}
},
"platform": {
"resource_id": {
"type": "keyword"
},
"instance": {
"type": "object",
"properties": {
"id": {
"type": "keyword"
},
"name": {
"type": "keyword"
}
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
}
}
},
"platform": {
"type": "keyword"
},
"service": {
"type": "object",
"properties": {
Expand All @@ -57,6 +60,9 @@
}
}
},
"resource_id": {
"type": "keyword"
},
"instance": {
"type": "object",
"properties": {
Expand All @@ -73,4 +79,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,66 @@
"provider": {
"type": "keyword"
},
"availability_zone": {
"type": "keyword"
},
"region": {
"type": "keyword"
},
"machine": {
"type": "object",
"properties": {
"type": {
"type": "keyword"
}
}
},
"account": {
"type": "object",
"properties": {
"id": {
"type": "keyword"
},
"name": {
"type": "keyword"
}
}
},
"region": {
"platform": {
"type": "keyword"
},
"resource_id": {
"type": "keyword"
"service": {
"type": "object",
"properties": {
"name": {
"type": "keyword"
}
}
},
"availability_zone": {
"type": "keyword"
"project": {
"type": "object",
"properties": {
"id": {
"type": "keyword"
},
"name": {
"type": "keyword"
}
}
},
"platform": {
"resource_id": {
"type": "keyword"
},
"instance": {
"type": "object",
"properties": {
"id": {
"type": "keyword"
},
"name": {
"type": "keyword"
}
}
}
}
}
Expand Down

0 comments on commit e301209

Please sign in to comment.