Responsible for sending commands to Seon DevOps microsoft Real Time job
Project description
Goal
It is reponsible for sending command to Devops Microsoft Real Time Job
Installation
To install devops_microsoft_client_real_time, run this command in your terminal:
pip install devops_microsoft_client_real_time
Usage
To use devops_microsoft_client_real_time in a Python project:
from pprint import pprint
from devops_microsoft_client_real_time.factory.factory import Factory
from devops_microsoft_client_real_time.factory.service_enum import Service
project_service = Factory.create(Service.ScrumProject)
team_project_service = Factory.create(Service.ProjectTeam)
team_member_service = Factory.create(Service.TeamMember)
sprint_service = Factory.create(Service.Sprint)
user_story_service = Factory.create(Service.UserStory)
task_service = Factory.create(Service.ScrumDevelopmentTask)
product_backlog_sprint_backlog_service = Factory.create(Service.Product_backlog)
organization = "Organization UUID SEON"
tfs_key = ""
tfs_url = ""
application = "Application UUID SEON"
pprint ("enviando os dados - Project")
content_task = {
'createdDate': '2019-11-29T21:11:46.8222058Z',
'eventType': 'workitem.created',
'id': '69',
'resource': {'fields':{'System.WorkItemType': 'Task'}},
'resourceContainers':
{
'account': {'baseUrl': 'https://dev.azure.com/paulossjunior/','id': '16ad67c1-3286-44bb-a0bb-d8ef245f21d2'},
'collection': {'baseUrl': 'https://dev.azure.com/paulossjunior/','id': '31d31367-7618-485a-a500-f2dcb12e14ec'},
'project': {'baseUrl': 'https://dev.azure.com/paulossjunior/','id': '0cfe9a70-c6ce-45b0-a898-d3594fc6a08a'}
}
}
data = {'organization_id': organization,
"tfs_key": tfs_key,
"tfs_url": tfs_url,
"application": application,
"content": content_task
}
pprint ("enviando as task")
task_service.integrate(organization,data)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file devops_microsoft_client_real_time-3.0.2-py3-none-any.whl
.
File metadata
- Download URL: devops_microsoft_client_real_time-3.0.2-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc0fa89705cac9feeec60c286f22781040eb5090f213a3a6c026f00f70157ca6 |
|
MD5 | 3f769f530cd90c86d5acdf29ffc8164f |
|
BLAKE2b-256 | b39a7900c301ed5ade95a2308901893b691b1d39f7ee58ad83664fc5077ad8a4 |