13 Commits

Author SHA1 Message Date
Zuul
e313864402 Merge "Remove unused fallback to simplejson" 2024-09-01 18:04:53 +00:00
Yasufumi Ogawa
046a136021 Fix issue of Content-Type of the v1 modify vnflcm
- Fix so that Content-Type of the v1 modify vnflcm request is
  "application/merge-patch+json".
- Fix so that as the same, Content-Type of all patch request is
  "application/merge-patch+json".
- Fix so that Accept of all patch request and put vnfpkgm request
  is "application/json".
- All patch request of above:
  - PATCH VNF LCM(V1)
  - PATCH VNF packages
  - PATCH VNF LCM(V2)
  - PATCH VNF FM
  - PATCH VNF PM(Modify a PM job)
  - PATCH VNF PM(Modify a PM threshold)

Closes-Bug: #2069701
Change-Id: Ia37312f1ba5560438970beffad432832d30d7d53
Signed-off-by: Yasufumi Ogawa <yasufum.o@gmail.com>
Co-Authored-By: Takahiro Miyajima <fj6257jz@fujitsu.com>
2024-08-28 06:46:58 +00:00
Takashi Kajinami
d556f845f3 Remove unused fallback to simplejson
Python provides the bulit-in json module since Python 2.6 .

Change-Id: Id6b92c28d26ad4bb50da31224817e726b27d73b9
2024-05-03 22:09:51 +09:00
Ayumu Ueha
a2406d9510 Fix the handling of content-type in HTTPClient
If content-type other than application/json is used, an error occur
because the processing is lacked in HTTPClient to pass content-type.
So, this patch fixes the handling of `content-type` in HTTPClient.

Closes-Bug: #2052768
Change-Id: Ief823dbdec9cceea3c7129860381b9ab34d0e438
2024-02-09 11:08:56 +00:00
Shubham Potale
ac02653f21 Add command to read vnfd of vnf package API
Added command support for fetching VNFD of the vnf package.

Please see results here:-
http://paste.openstack.org/show/789212/

Change-Id: Ifa15ddf7ff306ed2705cf7a170d9e9f512491fba
Implements: bp enhance-vnf-package-support-part1
2020-04-09 07:21:06 +00:00
gongysh
919dca0855 Revert "Switch to oslo_log"
it caused No handlers could be found for logger "tackerclient.shell"
This reverts commit af2f0f031f.

Change-Id: I8556dbf7ea45a268daa900e00c5334f11cd106d0
2017-03-18 06:12:33 +00:00
Trinath Somanchi
af2f0f031f Switch to oslo_log
tackerclient is currently using python logging module to
implement logging functionality.
This patch made a switch to oslo.log(logging for openstack projects)

Reference:-
http://docs.openstack.org/developer/oslo.log

Change-Id: Iecab180e605c788bb820c7a628781abf9a4918ea
Closes-Bug: #1656167
2017-03-14 14:37:31 +05:30
Tin Lam
12e2230b3b Fix deprecation warning in tackerclient
Changed _extract_service_catalog to match neutronclient to remove
deprecation warnings when attr is provided without filter_value to
get_urls().

Change-Id: Ic58060bdf50ce1f3834324372f1a375fbd15beb6
Closes-Bug: #1570641
2016-04-20 20:53:48 -05:00
dharmendra kushwaha
9c5461b1dd Code clean-up in client.py
Removing duplicate code from client.py

Change-Id: I408915211e005488c8cb08acbd32fdd0501d8c7a
2016-03-07 15:46:58 +00:00
an.abdulrehman
5903bc9338 Renamed 'servicevm' in python-tackerclient
After renaming the service 'servicevm' and 'advsvc' in install file,
functional tests were failing. Now renamed to 'tacker' in all files of
python-tackerclient repo so that functional test wouldn't fail.

Change-Id: I919d77276af72586a20f50239166325adbf9fb11
Partial-Bug: #1524224
2016-01-07 12:09:02 +00:00
Isaku Yamahata
e843dbd1b6 catch up neutronclient change
Change-Id: I1354fe5378566dec66e7cac311a394cb5498c734
2015-04-10 11:16:28 -07:00
Isaku Yamahata
4291ce92df use servicevm as service type for openstack client
Change-Id: I88138064b08a858a6fcdc715bc055e5ad031bcb9
2015-04-09 19:17:40 -07:00
Isaku Yamahata
14eeda8a0b rename neutron to tacker
Change-Id: I1d7c0729d387827e8d4355db9f4dccb265c2ec32
2014-07-04 19:10:43 +09:00