forked from TEAMMATES/teammates
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TEAMMATES#12048] Config prod settings and convenience scripts for no…
…n course migration (TEAMMATES#12959) * Add fields * Change based on feedback * Add changes
- Loading branch information
Showing
5 changed files
with
60 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
src/client/java/teammates/client/scripts/sql/NonCourseMigrationAfterMaintenanceWindow.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package teammates.client.scripts.sql; | ||
|
||
/** | ||
* Step 8 in the non course migration process. | ||
*/ | ||
@SuppressWarnings("PMD") | ||
public class NonCourseMigrationAfterMaintenanceWindow { | ||
|
||
public static void main(String[] args) { | ||
try { | ||
DataMigrationForUsageStatisticsSql.main(args); | ||
VerifyUsageStatisticsAttributes.main(args); | ||
VerifyNonCourseEntityCounts.main(args); | ||
} catch (Exception e) { | ||
System.out.println(e); | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
src/client/java/teammates/client/scripts/sql/NonCourseMigrationBeforeMaintenanceWindow.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package teammates.client.scripts.sql; | ||
|
||
/** | ||
* Step 3 in the non course migration process. | ||
*/ | ||
@SuppressWarnings("PMD") | ||
public class NonCourseMigrationBeforeMaintenanceWindow { | ||
|
||
public static void main(String[] args) { | ||
try { | ||
DataMigrationForUsageStatisticsSql.main(args); | ||
DataMigrationForAccountRequestSql.main(args); | ||
VerifyAccountRequestAttributes.main(args); | ||
} catch (Exception e) { | ||
System.out.println(e); | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
src/client/java/teammates/client/scripts/sql/NonCourseMigrationDuringMaintenanceWindow.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package teammates.client.scripts.sql; | ||
|
||
/** | ||
* Step 5 in the non course migration process. | ||
*/ | ||
@SuppressWarnings("PMD") | ||
public class NonCourseMigrationDuringMaintenanceWindow { | ||
|
||
public static void main(String[] args) { | ||
try { | ||
DataMigrationForAccountAndReadNotificationSql.main(args); | ||
VerifyAccountAttributes.main(args); | ||
} catch (Exception e) { | ||
System.out.println(e); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters