Skip to content

Commit

Permalink
Merge pull request #94 from nossas/hotfix/remove-certificate-domains
Browse files Browse the repository at this point in the history
Domínios: Remover Certificados Automatizados
  • Loading branch information
igr-santos authored Jan 13, 2025
2 parents f1f7446 + 5fc1888 commit 74d6f31
Show file tree
Hide file tree
Showing 12 changed files with 0 additions and 1,004 deletions.
20 changes: 0 additions & 20 deletions migrations/metadata/actions.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@ type Mutation {
): DomainResult
}

type Mutation {
create_or_update_certificate(
dns_hosted_zone_id: Int!
): UpdateCertificateResult
}

type Mutation {
create_record(
record: RecordInput
Expand All @@ -28,20 +22,6 @@ type Mutation {
): DeleteRecordsResult
}

type Mutation {
resync_mailchimp_start(
is_community: Boolean
id: Int!
): MailchimpStart
}

type Query {
resync_mailchimp_status(
is_community: Boolean
id: Int!
): MailchimpStatus
}

input DomainInput {
domain_name: String!
community_id: Int!
Expand Down
21 changes: 0 additions & 21 deletions migrations/metadata/actions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,6 @@ actions:
handler: '{{API_DOMAINS_URL}}/actions/create-domain'
permissions:
- role: user
- name: create_or_update_certificate
definition:
kind: synchronous
handler: '{{API_DOMAINS_URL}}/actions/create-or-update-certificate'
permissions:
- role: common_user
- role: user
comment: This mutation update routers configuration based on traefik and etcd
- name: create_record
definition:
kind: synchronous
Expand All @@ -31,19 +23,6 @@ actions:
handler: '{{API_DOMAINS_URL}}/actions/delete-record'
permissions:
- role: user
- name: resync_mailchimp_start
definition:
kind: synchronous
handler: '{{ACTION_BASE_URL}}/start-resync-mailchimp'
forward_client_headers: true
permissions:
- role: user
- name: resync_mailchimp_status
definition:
kind: ""
handler: '{{ACTION_BASE_URL}}/status-resync-mailchimp'
permissions:
- role: user
custom_types:
enums: []
input_objects:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,3 @@ select_permissions:
community_users:
user_id:
_eq: X-Hasura-User-Id
event_triggers:
- name: check_certificate
definition:
enable_manual: false
insert:
columns: '*'
retry_conf:
interval_sec: 360
num_retries: 20
timeout_sec: 60
webhook: '{{API_DOMAINS_URL}}/events/check-certificate'
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,3 @@ update_permissions:
user_id:
_eq: X-Hasura-User-Id
check: null
event_triggers:
- name: create_certificate
definition:
enable_manual: true
update:
columns:
- ns_ok
retry_conf:
interval_sec: 10
num_retries: 0
timeout_sec: 60
webhook: '{{API_DOMAINS_URL}}/events/create-certificate'
Loading

0 comments on commit 74d6f31

Please sign in to comment.