Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

ServiceNow change creation tool for EPFL-IDevelop

Project description

PYSNOW CHANGE EPFL

ServiceNow change creation tool for EPFL-IDevelop.

Travis Status Apache License 2.0 PyPI Version


Description

This tool offer the possibility to create a Standard Change in the ServiceNow of the EPFL with a unique command. This change is created directly closed. It could be used for every new deployment in production, unless the change need an approval by the Management (which in this case must be done manually one week in advance).

Details
  • The usage is reserved for the unit IDevelop of the VPSI, EPFL.
  • The planned and work start date is set to current date.
  • The planned and work end date is set to current date plus 1 minute.

Install

$ pip install pysnow-change-epfl

Usage

  1. Create an environment variable 'SCIPER' with your Sciper number (ex: SCIPER=123456)
  2. Create an environment variable 'SNOW_CHG_PWD' with the password of user 'idevelop_webservice'
  3. See an implementation example in example/example1.py

API

create_change()

Parameters:

Name Type Required Description Possible values Example
service_id String yes Business Service ID <All existing Business Service> 'SVC0016'
snow_group String yes Assignement group <All existing assignable group> 'SI_NEWS'
impact_category String yes Impact 'Minor', 'Significant' or 'Major' 'Minor'
short_description String yes Short description (title of the change) <free text> 'Actu - v1.4.3'
description String yes Description (list of changes) <free text> '- Fix unit test
- Update dependencies'
env String no (default:'test') ServiceNow environment 'test', 'prod' 'prod'

Return value:
A string who contains a confirmation message with the Change Number and URL or an error message.

Contributing

Contributions are welcome.

Developers

Contributors

License

Apache License 2.0

(c) ECOLE POLYTECHNIQUE FEDERALE DE LAUSANNE, Switzerland, VPSI, 2018-2019.

See the LICENSE file for more details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pysnow-change-epfl, version 2.0.0
Filename, size File type Python version Upload date Hashes
Filename, size pysnow_change_epfl-2.0.0-py3-none-any.whl (8.6 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size pysnow_change_epfl-2.0.0.tar.gz (4.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page