"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "keystone/cmd/status.py" between
keystone-18.0.0.tar.gz and keystone-19.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 "Wallaby" series (latest release).

status.py  (keystone-18.0.0):status.py  (keystone-19.0.0)
skipping to change at line 15 skipping to change at line 15
# http://www.apache.org/licenses/LICENSE-2.0 # http://www.apache.org/licenses/LICENSE-2.0
# #
# Unless required by applicable law or agreed to in writing, software # Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# 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.
from oslo_policy import _checks from oslo_policy import _checks
from oslo_policy import policy from oslo_policy import policy
from oslo_upgradecheck import common_checks
from oslo_upgradecheck import upgradecheck from oslo_upgradecheck import upgradecheck
from keystone.common import driver_hints from keystone.common import driver_hints
from keystone.common import provider_api from keystone.common import provider_api
from keystone.common import rbac_enforcer from keystone.common import rbac_enforcer
import keystone.conf import keystone.conf
from keystone.server import backends from keystone.server import backends
CONF = keystone.conf.CONF CONF = keystone.conf.CONF
ENFORCER = rbac_enforcer.RBACEnforcer ENFORCER = rbac_enforcer.RBACEnforcer
skipping to change at line 88 skipping to change at line 89
"Roles are not immutable: %s" % ", ".join(failed_roles) "Roles are not immutable: %s" % ", ".join(failed_roles)
) )
return upgradecheck.Result( return upgradecheck.Result(
upgradecheck.Code.SUCCESS, "Default roles are immutable.") upgradecheck.Code.SUCCESS, "Default roles are immutable.")
_upgrade_checks = ( _upgrade_checks = (
("Check trust policies are not empty", ("Check trust policies are not empty",
check_trust_policies_are_not_empty), check_trust_policies_are_not_empty),
("Check default roles are immutable", ("Check default roles are immutable",
check_default_roles_are_immutable), check_default_roles_are_immutable),
("Policy File JSON to YAML Migration",
(common_checks.check_policy_json, {'conf': CONF})),
) )
def main(): def main():
keystone.conf.configure() keystone.conf.configure()
backends.load_backends() backends.load_backends()
return upgradecheck.main(CONF, 'keystone', Checks()) return upgradecheck.main(CONF, 'keystone', Checks())
 End of changes. 2 change blocks. 
0 lines changed or deleted 3 lines changed or added

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