add config provider and examples for images api
- edit reference.*.config to conform to configparser properties - edit reference.xml.config to reflect xml as marshalling method Change-Id: I6a6392dfc306de0b57adc8006df11f3b1ce983d5
This commit is contained in:
24
configs/images/reference.json.config
Normal file
24
configs/images/reference.json.config
Normal file
@@ -0,0 +1,24 @@
|
||||
# ======================================================
|
||||
# reference.json.config
|
||||
# ------------------------------------------------------
|
||||
# This configuration is specifically a reference
|
||||
# implementation for a configuration file.
|
||||
# You must create a proper configuration file and supply
|
||||
# the correct values for your Environment(s)
|
||||
#
|
||||
# For multiple environments it is suggested that you
|
||||
# generate specific configurations and name the files
|
||||
# along the lines of
|
||||
# <ENVIRONMENT>.<FORMAT>.config
|
||||
# ======================================================
|
||||
|
||||
[marshalling]
|
||||
serialize_format=json
|
||||
deserialize_format=json
|
||||
|
||||
[images]
|
||||
base_url=<base_url>
|
||||
api_version=<v1/v2>
|
||||
primary_image=<image_id>
|
||||
secondary_image=<different_image_id>
|
||||
|
||||
24
configs/images/reference.xml.config
Normal file
24
configs/images/reference.xml.config
Normal file
@@ -0,0 +1,24 @@
|
||||
# ======================================================
|
||||
# reference.json.config
|
||||
# ------------------------------------------------------
|
||||
# This configuration is specifically a reference
|
||||
# implementation for a configuration file.
|
||||
# You must create a proper configuration file and supply
|
||||
# the correct values for your Environment(s)
|
||||
#
|
||||
# For multiple environments it is suggested that you
|
||||
# generate specific configurations and name the files
|
||||
# along the lines of
|
||||
# <ENVIRONMENT>.<FORMAT>.config
|
||||
# ======================================================
|
||||
|
||||
[marshalling]
|
||||
serialize_format=xml
|
||||
deserialize_format=xml
|
||||
|
||||
[images]
|
||||
base_url=<base_url>
|
||||
api_version=<v1/v2>
|
||||
primary_image=<image_id>
|
||||
secondary_image=<different_image_id>
|
||||
|
||||
Reference in New Issue
Block a user