<commit_before>(function() {

    angular
        .module('crowbarData.upgrade')
        .factory('upgradeStepsFactory', upgradeStepsFactory);

    upgradeStepsFactory.$inject = [];
    /* @ngInject */
    function upgradeStepsFactory() {
        var steps = initialSteps(),
            factory = {
                getAll: getSteps
            };

        return factory;

        function initialSteps() {
            return [
                {
                    id: 0,
                    title: 'Download Backup of Administration Server',
                    state: 'upgrade7.backup',
                    active: false,
                    enabled: false
                },
                {
                    id: 1,
                    title: 'Check Administration Server Repositories',
                    state: 'upgrade7.administration-repository-checks',
                    active: false,
                    enabled: false
                },
                {
                    id: 2,
                    title: 'Upgrade Administration Server',
                    state: 'upgrade7.upgrade-administration-server',
                    active: false,
                    enabled: false
                },
                {
                    id: 3,
                    title: 'Connect or Create OpenStack Database',
                    state: 'upgrade7.database-configuration',
                    active: false,
                    enabled: false
                },
                {
                    id: 4,
                    title: 'Check Add-On & Node Repositories',
                    state: 'upgrade7.nodes-repositories-checks',
                    active: false,
                    enabled: false
                },
                {
                    id: 5,
                    title: 'Migrate OpenStack Database',
                    state: 'upgrade7.migrate-openstack-database',
                    active: false,
                    enabled: false
                },
                {
                    id: 6,
                    title: 'Upgrade Nodes & Reapply Barclamps',
                    state: 'upgrade7.finish-upgrade',
                    active: false,
                    enabled: false
                }
            ];
        }

        function getSteps() {
            return steps;
        }
    }
})();
<commit_msg>Update Steps factory with Openstack Services step<commit_after>(function() {

    angular
        .module('crowbarData.upgrade')
        .factory('upgradeStepsFactory', upgradeStepsFactory);

    upgradeStepsFactory.$inject = [];
    /* @ngInject */
    function upgradeStepsFactory() {
        var steps = initialSteps(),
            factory = {
                getAll: getSteps
            };

        return factory;

        function initialSteps() {
            return [
                {
                    id: 0,
                    title: 'Download Backup of Administration Server',
                    state: 'upgrade7.backup',
                    active: false,
                    enabled: false
                },
                {
                    id: 1,
                    title: 'Check Administration Server Repositories',
                    state: 'upgrade7.administration-repository-checks',
                    active: false,
                    enabled: false
                },
                {
                    id: 2,
                    title: 'Upgrade Administration Server',
                    state: 'upgrade7.upgrade-administration-server',
                    active: false,
                    enabled: false
                },
                {
                    id: 3,
                    title: 'Connect or Create OpenStack Database',
                    state: 'upgrade7.database-configuration',
                    active: false,
                    enabled: false
                },
                {
                    id: 4,
                    title: 'Check Add-On & Node Repositories',
                    state: 'upgrade7.nodes-repositories-checks',
                    active: false,
                    enabled: false
                },
                {
                    id: 5,
                    title: 'Migrate OpenStack Database',
                    state: 'upgrade7.openstack-services',
                    active: false,
                    enabled: false
                },
                {
                    id: 6,
                    title: 'Upgrade Nodes & Reapply Barclamps',
                    state: 'upgrade7.finish-upgrade',
                    active: false,
                    enabled: false
                }
            ];
        }

        function getSteps() {
            return steps;
        }
    }
})();

{'fraction_non_alphanumeric': 0.0808144416456759, 'fraction_numerical': 0.005877413937867338, 'mean_word_length': 0.883399209486166, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4257412', 'n_tokens_mistral': 1124, 'n_tokens_neox': 967, 'n_words': 236}