1
0
mirror of https://github.com/vmware/vsphere-automation-sdk-python.git synced 2024-11-21 17:29:59 -05:00

Add copyright info to oauth util and webserver

Signed-Off-By: Anusha Hegde <anushah@vmware.com>
This commit is contained in:
anushah 2020-10-15 09:04:29 +05:30
parent 9950adddeb
commit 99cab7457d
2 changed files with 31 additions and 3 deletions

View File

@ -1,3 +1,18 @@
#!/usr/bin/env python
"""
* *******************************************************
* Copyright (c) VMware, Inc. 2020. All Rights Reserved.
* SPDX-License-Identifier: MIT
* *******************************************************
*
* DISCLAIMER. THIS PROGRAM IS PROVIDED TO YOU "AS IS" WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, WHETHER ORAL OR WRITTEN,
* EXPRESS OR IMPLIED. THE AUTHOR SPECIFICALLY DISCLAIMS ANY IMPLIED
* WARRANTIES OR CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY,
* NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE.
"""
from vmware.vapi.stdlib.client.factories import StubConfigurationFactory from vmware.vapi.stdlib.client.factories import StubConfigurationFactory
from vmware.vapi.lib.connect import get_requests_connector from vmware.vapi.lib.connect import get_requests_connector
from com.vmware.vcenter.identity_client import Providers from com.vmware.vcenter.identity_client import Providers

View File

@ -1,4 +1,18 @@
''' #!/usr/bin/env python
"""
* *******************************************************
* Copyright (c) VMware, Inc. 2020. All Rights Reserved.
* SPDX-License-Identifier: MIT
* *******************************************************
*
* DISCLAIMER. THIS PROGRAM IS PROVIDED TO YOU "AS IS" WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, WHETHER ORAL OR WRITTEN,
* EXPRESS OR IMPLIED. THE AUTHOR SPECIFICALLY DISCLAIMS ANY IMPLIED
* WARRANTIES OR CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY,
* NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE.
This is a lightweight webserver This is a lightweight webserver
****Not recommended in a production setting**** ****Not recommended in a production setting****
@ -21,8 +35,7 @@ We define listeners for two endpoints,
In case, you want to change the names of these endpoints in your client, In case, you want to change the names of these endpoints in your client,
make sure to change in the below server code as well make sure to change in the below server code as well
"""
'''
try: try:
# these imports are specific to Python 2.x # these imports are specific to Python 2.x