"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "keystone/common/sql/expand_repo/versions/056_expand_add_application_credential_access_rules.py" between
keystone-16.0.1.tar.gz and keystone-17.0.0.tar.gz

About: OpenStack Keystone (Core Service: Identity) provides an authentication and authorization service for other OpenStack services. Provides a catalog of endpoints for all OpenStack services.
The "Ussuri" series (latest release).

056_expand_add_application_credential_access_rules.py  (keystone-16.0.1):056_expand_add_application_credential_access_rules.py  (keystone-17.0.0)
skipping to change at line 21 skipping to change at line 21
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
import sqlalchemy as sql import sqlalchemy as sql
def upgrade(migrate_engine): def upgrade(migrate_engine):
meta = sql.MetaData() meta = sql.MetaData()
meta.bind = migrate_engine meta.bind = migrate_engine
application_credential = sql.Table('application_credential', meta, autoload= application_credential = sql.Table(
True) 'application_credential', meta, autoload=True)
access_rule = sql.Table( access_rule = sql.Table(
'access_rule', meta, 'access_rule', meta,
sql.Column('id', sql.Integer, primary_key=True, nullable=False), sql.Column('id', sql.Integer, primary_key=True, nullable=False),
sql.Column('service', sql.String(64)), sql.Column('service', sql.String(64)),
sql.Column('path', sql.String(128)), sql.Column('path', sql.String(128)),
sql.Column('method', sql.String(16)), sql.Column('method', sql.String(16)),
mysql_engine='InnoDB', mysql_charset='utf8' mysql_engine='InnoDB', mysql_charset='utf8'
) )
app_cred_access_rule = sql.Table( app_cred_access_rule = sql.Table(
'application_credential_access_rule', meta, 'application_credential_access_rule', meta,
 End of changes. 1 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)