Skip to content

Commit

Permalink
fix: setters
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilczaja committed Aug 8, 2024
1 parent 7880034 commit a10d174
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/api/sovity-edc-api-wrapper.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -603,11 +603,11 @@ components:
DataSourceType:
type: string
description: Supported Data Source Types by UiDataSource
default: CUSTOM
enum:
- HTTP_DATA
- ON_REQUEST
- CUSTOM
default: CUSTOM
SecretValue:
type: object
properties:
Expand Down Expand Up @@ -815,14 +815,14 @@ components:
UiDataSourceHttpDataMethod:
type: string
description: Supported HTTP Methods by UiDataSource
default: GET
enum:
- GET
- POST
- PUT
- PATCH
- DELETE
- OPTIONS
default: GET
UiDataSourceOnRequest:
required:
- contactEmail
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ public static void insertConnector(
Consumer<ConnectorRecord> applier
) {
var organization = dsl.newRecord(Tables.ORGANIZATION);
organization.setMdsId(connectorRef.getOrganizationId());
organization.setId(connectorRef.getOrganizationId());
organization.setName(connectorRef.getOrganizationLegalName());
organization.insert();

var connector = dsl.newRecord(Tables.CONNECTOR);
connector.setEnvironment(connectorRef.getEnvironmentId());
connector.setMdsId(connectorRef.getOrganizationId());
connector.setOrganizationId(connectorRef.getOrganizationId());
connector.setConnectorId(connectorRef.getConnectorId());
connector.setName(connectorRef.getConnectorId() + " Name");
connector.setEndpointUrl(connectorRef.getEndpoint());
Expand Down

0 comments on commit a10d174

Please sign in to comment.