Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

[SELC-5058] Feat: Removed Api and method used to send event for contract and user #516

Merged
merged 4 commits into from
Jun 17, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions app/src/main/resources/config/core-config.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ mscore.mail-template.placeholders.onboarding.notificationProductName = productNa

scheduler.threads.max-number=${THREADS_SCHEDULE_MAX_NUMBER:1}
scheduler.fixed-delay.delay=${SCHEDULER_FIXED_DELAY:20000}
scheduler.regenerate-kafka-queue-config.name=${SCHEDULER_REGENERATE_KAFKA_QUEUE_CONFIG_NAME:KafkaScheduler}
scheduler.regenerate-kafka-queue.enabled=${SCHEDULER_REGENERATE_KAFKA_QUEUE_ENABLED:false}

mscore.blob-storage.container-product=${PRODUCT_STORAGE_CONTAINER:selc-d-product}
mscore.blob-storage.filepath-product = products.json
Expand Down
7 changes: 0 additions & 7 deletions app/src/main/resources/config/kafka.properties

This file was deleted.

109 changes: 0 additions & 109 deletions app/src/main/resources/swagger/api-docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@
"tags" : [ {
"name" : "Delegation",
"description" : "Delegation Controller"
}, {
"name" : "Event",
"description" : "Queue Notification Controller"
}, {
"name" : "External",
"description" : "External Controller"
Expand Down Expand Up @@ -2328,71 +2325,6 @@
"bearerAuth" : [ "global" ]
} ]
}
},
"/notification-event/contracts" : {
"put" : {
"tags" : [ "Event" ],
"summary" : "resendContractsByInstitutionIdAndTokenId",
"description" : "Function to send a specific onboarding using institutionId and tokenId ",
"operationId" : "resendContractsByInstitutionIdAndTokenIdUsingPUT",
"parameters" : [ {
"name" : "tokenId",
"in" : "query",
"description" : "tokenId",
"required" : true,
"style" : "form",
"schema" : {
"type" : "string"
}
}, {
"name" : "institutionId",
"in" : "query",
"description" : "institutionId",
"required" : true,
"style" : "form",
"schema" : {
"type" : "string"
}
} ],
"responses" : {
"200" : {
"description" : "OK"
},
"400" : {
"description" : "Bad Request",
"content" : {
"application/problem+json" : {
"schema" : {
"$ref" : "#/components/schemas/Problem"
}
}
}
},
"403" : {
"description" : "Forbidden",
"content" : {
"application/problem+json" : {
"schema" : {
"$ref" : "#/components/schemas/Problem"
}
}
}
},
"404" : {
"description" : "Not Found",
"content" : {
"application/problem+json" : {
"schema" : {
"$ref" : "#/components/schemas/Problem"
}
}
}
}
},
"security" : [ {
"bearerAuth" : [ "global" ]
} ]
}
}
},
"components" : {
Expand Down Expand Up @@ -3020,12 +2952,6 @@
},
"tokenId" : {
"type" : "string"
},
"users" : {
"type" : "array",
"items" : {
"$ref" : "#/components/schemas/Person"
}
}
}
},
Expand Down Expand Up @@ -3723,41 +3649,6 @@
}
}
},
"Person" : {
"title" : "Person",
"type" : "object",
"properties" : {
"email" : {
"type" : "string"
},
"env" : {
"type" : "string",
"enum" : [ "COLL", "DEV", "PROD", "ROOT" ]
},
"id" : {
"type" : "string"
},
"name" : {
"type" : "string"
},
"productRole" : {
"type" : "string"
},
"role" : {
"type" : "string",
"enum" : [ "DELEGATE", "MANAGER", "OPERATOR", "SUB_DELEGATE" ]
},
"roleLabel" : {
"type" : "string"
},
"surname" : {
"type" : "string"
},
"taxCode" : {
"type" : "string"
}
}
},
"Problem" : {
"title" : "Problem",
"type" : "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,12 @@ class SwaggerConfigTest {
@MockBean
OnboardingService onboardingService;

@MockBean
QueueNotificationService queueNotificationService;

@Autowired
WebApplicationContext context;

@MockBean
DelegationService delegationService;

@MockBean
private UserEventService userEventService;

@Autowired
private ObjectMapper objectMapper;

Expand Down
7 changes: 1 addition & 6 deletions connector-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-commons</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.kafka</groupId>
<artifactId>spring-kafka</artifactId>
<version>2.7.3</version>
</dependency>
<dependency>
<groupId>it.pagopa.selfcare</groupId>
<artifactId>selc-commons-base</artifactId>
Expand All @@ -38,7 +33,7 @@
<dependency>
<groupId>it.pagopa.selfcare</groupId>
<artifactId>onboarding-sdk-product</artifactId>
<version>0.1.10</version>
<version>0.1.8</version>
</dependency>
</dependencies>

Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading