-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #238 from telefonicaid/task/upgrade_antelope
Task/upgrade antelope
- Loading branch information
Showing
12 changed files
with
125 additions
and
57 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
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
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
Binary file not shown.
Binary file not shown.
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,37 @@ | ||
--- 073_expand_initial_migration.py | ||
+++ 073_expand_initial_migration.py_new | ||
@@ -533,6 +533,26 @@ | ||
mysql_charset='utf8', | ||
) | ||
|
||
+ spassword = sql.Table( | ||
+ 'spassword', | ||
+ meta, | ||
+ sql.Column('user_id', sql.String(64), primary_key=True), | ||
+ sql.Column('user_name', sql.String(255)), | ||
+ sql.Column('domain_id', sql.String(64)), | ||
+ sql.Column('creation_time', sql.DateTime()), | ||
+ sql.Column('login_attempts', sql.Integer), | ||
+ sql.Column('last_login_attempt_time', sql.DateTime()), | ||
+ sql.Column('extra', sql.Text()), | ||
+ sql.Column('sndfa', sql.Boolean, default=False), | ||
+ sql.Column('sndfa_last', sql.DateTime(), default=None), | ||
+ sql.Column('sndfa_code', sql.String(32), default=None), | ||
+ sql.Column('sndfa_time_code', sql.DateTime(), default=None), | ||
+ sql.Column('sndfa_email', sql.Boolean, default=False), | ||
+ sql.Column('sndfa_email_code', sql.String(32), default=None), | ||
+ mysql_engine='InnoDB', | ||
+ mysql_charset='utf8', | ||
+ ) | ||
+ | ||
system_assignment = sql.Table( | ||
'system_assignment', | ||
meta, | ||
@@ -1045,6 +1065,7 @@ | ||
sensitive_config, | ||
service, | ||
service_provider, | ||
+ spassword, | ||
system_assignment, | ||
token, | ||
trust, |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash | ||
echo "[ keystone-all ] " | ||
sleep 5 | ||
while ! tcping -t 1 localhost 5001 ; do echo "[ keystone-all ] forcing restart "; /usr/sbin/httpd -k restart; sleep 10; done | ||
while ! nc -zvw10 localhost 5001 ; do echo "[ keystone-all ] forcing restart "; /usr/sbin/httpd -k restart; sleep 10; done |
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 @@ | ||
#!/usr/bin/env python | ||
|
||
# Licensed under the Apache License, Version 2.0 (the "License"); you may | ||
# not use this file except in compliance with the License. You may obtain | ||
# a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT | ||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
# License for the specific language governing permissions and limitations | ||
# under the License. | ||
|
||
from migrate.versioning.shell import main | ||
|
||
if __name__ == '__main__': | ||
main(debug='False') |
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
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
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
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