diff --git a/src/main/resources/interface-specification.yml b/src/main/resources/interface-specification.yml index 51542723..35cccd1d 100644 --- a/src/main/resources/interface-specification.yml +++ b/src/main/resources/interface-specification.yml @@ -1575,41 +1575,6 @@ components: - certified - declared - verified - FlatEService: - type: object - required: - - id - - producerId - - producerName - - name - - description - - certifiedAttributes - properties: - id: - type: string - format: uuid - producerId: - type: string - format: uuid - producerName: - type: string - name: - type: string - version: - type: string - description: - type: string - state: - $ref: '#/components/schemas/EServiceDescriptorState' - descriptorId: - type: string - agreement: - $ref: '#/components/schemas/FlatAgreement' - certifiedAttributes: - description: 'contains a flat version of the certified attribute identifiers of this e-service' - type: array - items: - $ref: '#/components/schemas/FlatAttributes' EServiceTechnology: type: string description: API Technology @@ -1631,40 +1596,6 @@ components: enum: - INTERFACE - DOCUMENT - FlatEServices: - type: array - items: - $ref: '#/components/schemas/FlatEService' - FlatAgreement: - type: object - properties: - id: - type: string - format: uuid - state: - $ref: '#/components/schemas/AgreementState' - required: - - id - - state - FlatAttributes: - type: object - properties: - attributes: - type: array - items: - type: array - items: - $ref: '#/components/schemas/FlatAttribute' - required: - - attributes - FlatAttribute: - type: object - properties: - id: - type: string - format: uuid - required: - - id AgreementState: type: string description: Agreement State diff --git a/src/main/scala/it/pagopa/interop/catalogprocess/api/impl/package.scala b/src/main/scala/it/pagopa/interop/catalogprocess/api/impl/package.scala index e7ce1447..bf10bb80 100644 --- a/src/main/scala/it/pagopa/interop/catalogprocess/api/impl/package.scala +++ b/src/main/scala/it/pagopa/interop/catalogprocess/api/impl/package.scala @@ -47,11 +47,6 @@ package object impl extends SprayJsonSupport with DefaultJsonProtocol { ) implicit val riskAnalysisSeedFormat: RootJsonFormat[EServiceRiskAnalysisSeed] = jsonFormat2(EServiceRiskAnalysisSeed) - implicit val flatAgreementFormat: RootJsonFormat[FlatAgreement] = jsonFormat2(FlatAgreement) - implicit val flatAttributeFormat: RootJsonFormat[FlatAttribute] = jsonFormat1(FlatAttribute) - implicit val flatAttributesFormat: RootJsonFormat[FlatAttributes] = jsonFormat1(FlatAttributes) - implicit val flatEServiceFormat: RootJsonFormat[FlatEService] = jsonFormat10(FlatEService) - implicit val eServiceConsumerFormat: RootJsonFormat[EServiceConsumer] = jsonFormat5(EServiceConsumer) implicit val eServiceConsumersFormat: RootJsonFormat[EServiceConsumers] = jsonFormat2(EServiceConsumers) diff --git a/src/main/scala/it/pagopa/interop/catalogprocess/errors/CatalogProcessErrors.scala b/src/main/scala/it/pagopa/interop/catalogprocess/errors/CatalogProcessErrors.scala index 641ea039..29344ca7 100644 --- a/src/main/scala/it/pagopa/interop/catalogprocess/errors/CatalogProcessErrors.scala +++ b/src/main/scala/it/pagopa/interop/catalogprocess/errors/CatalogProcessErrors.scala @@ -23,9 +23,6 @@ object CatalogProcessErrors { s"Descriptor $descriptorId has a not valid status for this operation $descriptorStatus" ) - final case object FlattenedEServicesRetrievalError - extends ComponentError("0005", s"Unexpected error while retrieving flattened E-Services") - final case class DescriptorDocumentNotFound(eServiceId: String, descriptorId: String, documentId: String) extends ComponentError( "0006",