Commit f8dda545 authored by Stavros-Anastasios Charismiadis's avatar Stavros-Anastasios Charismiadis
Browse files

Remove source provider domain field

parent 632f0fc0
Loading
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -136,7 +136,6 @@ components:
      required:
      required:
        - caRoot
        - caRoot
        - publicKey
        - publicKey
        - srcProvDom
        - ccfId
        - ccfId
        - dstProvDom
        - dstProvDom
      properties:
      properties:
@@ -144,8 +143,6 @@ components:
          type: string
          type: string
        publicKey:
        publicKey:
          type: string
          type: string
        srcProvDom:
          type: string
        ccfId:
        ccfId:
          type: string
          type: string
        dstProvDom:
        dstProvDom:
+0 −1
Original line number Original line Diff line number Diff line
@@ -28,7 +28,6 @@ publisher_ops = Publisher()




service_api_not_found_message = "Service API not found"
service_api_not_found_message = "Service API not found"
srcProvDom = "ccfB.fogus.org"




class CapifDomainOperations(Resource):
class CapifDomainOperations(Resource):
+1 −29
Original line number Original line Diff line number Diff line
@@ -12,15 +12,13 @@ class CcfInstanceDetails(Model):
    Do not edit the class manually.
    Do not edit the class manually.
    """
    """


    def __init__(self, ca_root=None, public_key=None, src_prov_dom=None, ccf_id=None, dst_prov_dom=None):  # noqa: E501
    def __init__(self, ca_root=None, public_key=None, ccf_id=None, dst_prov_dom=None):  # noqa: E501
        """CcfInstanceDetails - a model defined in OpenAPI
        """CcfInstanceDetails - a model defined in OpenAPI


        :param ca_root: The ca_root of this CcfInstanceDetails.  # noqa: E501
        :param ca_root: The ca_root of this CcfInstanceDetails.  # noqa: E501
        :type ca_root: str
        :type ca_root: str
        :param public_key: The public_key of this CcfInstanceDetails.  # noqa: E501
        :param public_key: The public_key of this CcfInstanceDetails.  # noqa: E501
        :type public_key: str
        :type public_key: str
        :param src_prov_dom: The src_prov_dom of this CcfInstanceDetails.  # noqa: E501
        :type src_prov_dom: str
        :param ccf_id: The ccf_id of this CcfInstanceDetails.  # noqa: E501
        :param ccf_id: The ccf_id of this CcfInstanceDetails.  # noqa: E501
        :type ccf_id: str
        :type ccf_id: str
        :param dst_prov_dom: The dst_prov_dom of this CcfInstanceDetails.  # noqa: E501
        :param dst_prov_dom: The dst_prov_dom of this CcfInstanceDetails.  # noqa: E501
@@ -29,7 +27,6 @@ class CcfInstanceDetails(Model):
        self.openapi_types = {
        self.openapi_types = {
            'ca_root': str,
            'ca_root': str,
            'public_key': str,
            'public_key': str,
            'src_prov_dom': str,
            'ccf_id': str,
            'ccf_id': str,
            'dst_prov_dom': str
            'dst_prov_dom': str
        }
        }
@@ -37,14 +34,12 @@ class CcfInstanceDetails(Model):
        self.attribute_map = {
        self.attribute_map = {
            'ca_root': 'caRoot',
            'ca_root': 'caRoot',
            'public_key': 'publicKey',
            'public_key': 'publicKey',
            'src_prov_dom': 'srcProvDom',
            'ccf_id': 'ccfId',
            'ccf_id': 'ccfId',
            'dst_prov_dom': 'dstProvDom'
            'dst_prov_dom': 'dstProvDom'
        }
        }


        self._ca_root = ca_root
        self._ca_root = ca_root
        self._public_key = public_key
        self._public_key = public_key
        self._src_prov_dom = src_prov_dom
        self._ccf_id = ccf_id
        self._ccf_id = ccf_id
        self._dst_prov_dom = dst_prov_dom
        self._dst_prov_dom = dst_prov_dom


@@ -105,29 +100,6 @@ class CcfInstanceDetails(Model):


        self._public_key = public_key
        self._public_key = public_key


    @property
    def src_prov_dom(self) -> str:
        """Gets the src_prov_dom of this CcfInstanceDetails.


        :return: The src_prov_dom of this CcfInstanceDetails.
        :rtype: str
        """
        return self._src_prov_dom

    @src_prov_dom.setter
    def src_prov_dom(self, src_prov_dom: str):
        """Sets the src_prov_dom of this CcfInstanceDetails.


        :param src_prov_dom: The src_prov_dom of this CcfInstanceDetails.
        :type src_prov_dom: str
        """
        if src_prov_dom is None:
            raise ValueError("Invalid value for `src_prov_dom`, must not be `None`")  # noqa: E501

        self._src_prov_dom = src_prov_dom

    @property
    @property
    def ccf_id(self) -> str:
    def ccf_id(self) -> str:
        """Gets the ccf_id of this CcfInstanceDetails.
        """Gets the ccf_id of this CcfInstanceDetails.
+0 −5
Original line number Original line Diff line number Diff line
@@ -140,7 +140,6 @@ components:
        ccfId: ccfId
        ccfId: ccfId
        dstProvDom: dstProvDom
        dstProvDom: dstProvDom
        publicKey: publicKey
        publicKey: publicKey
        srcProvDom: srcProvDom
        caRoot: caRoot
        caRoot: caRoot
      properties:
      properties:
        caRoot:
        caRoot:
@@ -149,9 +148,6 @@ components:
        publicKey:
        publicKey:
          title: publicKey
          title: publicKey
          type: string
          type: string
        srcProvDom:
          title: srcProvDom
          type: string
        ccfId:
        ccfId:
          title: ccfId
          title: ccfId
          type: string
          type: string
@@ -163,7 +159,6 @@ components:
      - ccfId
      - ccfId
      - dstProvDom
      - dstProvDom
      - publicKey
      - publicKey
      - srcProvDom
      title: CcfInstanceDetails
      title: CcfInstanceDetails
      type: object
      type: object
    ProblemDetails:
    ProblemDetails: