You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spot.apache.org by le...@apache.org on 2017/07/04 23:56:24 UTC

[17/20] incubator-spot git commit: Adding OA network context migration

Adding OA network context migration


Project: http://git-wip-us.apache.org/repos/asf/incubator-spot/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-spot/commit/1fc93dec
Tree: http://git-wip-us.apache.org/repos/asf/incubator-spot/tree/1fc93dec
Diff: http://git-wip-us.apache.org/repos/asf/incubator-spot/diff/1fc93dec

Branch: refs/heads/SPOT-35_graphql_api
Commit: 1fc93deccfbd935e8f03956e9be6eaec7f572a78
Parents: 57bf736
Author: Moy Valdovinos <mo...@gmail.com>
Authored: Mon Jul 3 15:28:39 2017 -0500
Committer: LedaLima <ga...@intel.com>
Committed: Tue Jul 4 18:55:44 2017 -0500

----------------------------------------------------------------------
 spot-setup/migrate_spot_0_9_to_1_0.py | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/1fc93dec/spot-setup/migrate_spot_0_9_to_1_0.py
----------------------------------------------------------------------
diff --git a/spot-setup/migrate_spot_0_9_to_1_0.py b/spot-setup/migrate_spot_0_9_to_1_0.py
index 32ef3a4..c6adef2 100755
--- a/spot-setup/migrate_spot_0_9_to_1_0.py
+++ b/spot-setup/migrate_spot_0_9_to_1_0.py
@@ -61,6 +61,7 @@ def main():
   log.info("Copy Spot OA context files to new Spot location") 
   util.execute_cmd('cp {0}/spot-oa/context/iploc.csv {1}/spot-oa/context/iploc.csv'.format(old_spot_path, new_spot_path),log)
   util.execute_cmd('cp {0}/spot-oa/context/ipranges.csv {1}/spot-oa/context/ipranges.csv'.format(old_spot_path, new_spot_path),log)
+  util.execute_cmd('cp {0}/spot-oa/context/networkcontext_1.csv {1}/spot-oa/context/networkcontext_1.csv'.format(old_spot_path, new_spot_path),log)
 
   log.info("Install browserify and uglifyjs using npm")
   os.chdir('{0}/ui'.format(new_oa_path))