Skip to content

Commit 30027c9

Browse files
rockb1017luckyj5
andauthored
tile migration script (#270)
* update tile with migration step Co-authored-by: Shubham Jain <[email protected]>
1 parent 87f3cc3 commit 30027c9

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

tile/tile-history.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ history:
77
- 1.1.0
88
- 1.1.1
99
- 1.1.2
10-
version: 1.2.0
10+
- 1.2.0
11+
version: 1.2.1

tile/tile.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,13 @@ forms:
190190
default: true
191191
description: Do not trigger an app metadata refresh when encountering data from an app without info in the app metadata cache.
192192

193+
migration: |
194+
if (properties['properties']['.properties.add_app_info']['value']==true) {
195+
properties['properties']['.properties.add_app_info']['value']="AppName,OrgName,OrgGuid,SpaceName,SpaceGuid";
196+
} else {
197+
properties['properties']['.properties.add_app_info']['value']="";
198+
}
199+
193200
packages:
194201
- name: splunk_firehose_nozzle
195202
type: app
@@ -203,4 +210,4 @@ packages:
203210
path: ../splunk-firehose-nozzle
204211
command: ./splunk-firehose-nozzle
205212
env:
206-
GOPACKAGENAME: main
213+
GOPACKAGENAME: main

0 commit comments

Comments
 (0)