Skip to content

Commit

Permalink
tr(cleanup): remove deprecated apis
Browse files Browse the repository at this point in the history
* tenant
* theme
* profileEntry
  • Loading branch information
educhastenier committed Nov 7, 2022
1 parent b127503 commit 74adfb7
Show file tree
Hide file tree
Showing 20 changed files with 18 additions and 635 deletions.
2 changes: 1 addition & 1 deletion openapi/components/responses/ServerError.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ content:
schema:
$ref: '../schemas/Error.yaml'
example:
message: "An unexpected error occured."
message: "An unexpected error occurred."
10 changes: 9 additions & 1 deletion openapi/components/schemas/ApplicationUpdateRequest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,17 @@ properties:
theme id for the application
type: string
layoutId:
description: |
![edition](https://img.shields.io/badge/edition-entreprise-blue)
layout id for the application
type: string
example:
version: "1.0"
profileId: "2"
token: "myapp"
displayName: "My app"
description: "My application description"
description: "My application description"
themeId: "2"
layoutId: "17"
33 changes: 0 additions & 33 deletions openapi/components/schemas/ProfileEntry.yaml

This file was deleted.

30 changes: 0 additions & 30 deletions openapi/components/schemas/ProfileEntryCreateRequest.yaml

This file was deleted.

30 changes: 0 additions & 30 deletions openapi/components/schemas/ProfileEntryUpdateRequest.yaml

This file was deleted.

8 changes: 2 additions & 6 deletions openapi/components/schemas/SystemTenant.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
type: object
description: ""
description: "The current tenant state"
properties:
id:
description: "system tenant id"
type: string
paused:
description: "wether the system tenant is paused or not"
description: "whether the system tenant is paused or not"
type: boolean
example:
id: 1
paused: false
38 changes: 0 additions & 38 deletions openapi/components/schemas/Tenant.yaml

This file was deleted.

20 changes: 0 additions & 20 deletions openapi/components/schemas/TenantCreateRequest.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion openapi/components/schemas/TenantPauseRequest.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
type: object
properties:
paused:
description: "wether the system tenant should be paused or not"
description: "whether the system tenant should be paused or not"
type: string
example:
paused: true
20 changes: 0 additions & 20 deletions openapi/components/schemas/TenantUpdateRequest.yaml

This file was deleted.

12 changes: 0 additions & 12 deletions openapi/components/schemas/ThemeCreateRequest.yaml

This file was deleted.

8 changes: 0 additions & 8 deletions openapi/components/schemas/ThemeRestoreRequest.yaml

This file was deleted.

34 changes: 3 additions & 31 deletions openapi/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ info:
license:
name: GPL-v2.0
url: 'http://www.gnu.org/licenses/gpl-2.0.txt'
version: 0.0.9
version: 0.0.11
title: Bonita HTTP API
description:
# Ignore IDE warnings
Expand Down Expand Up @@ -95,17 +95,13 @@ x-tagGroups:
tags:
- PlatformAuthentication
- Platform
- PlatformTenant
- Tenant
- License

- name: Portal
tags:
- Page
- Profile
- ProfileEntry
- ProfileMember
- Theme
- Upload

- name: System
Expand Down Expand Up @@ -289,9 +285,6 @@ tags:
- name: Platform
x-displayName: Platform
description: The Platform API resources require a platform session. In order to get one, log in as the platform administrator using the platform login service.
- name: PlatformTenant
x-displayName: PlatformTenant
description: PlatformTenant
- name: Process
x-displayName: Process
description: Deploy and manage process definitions. In addition, you can instantiate a process, which will create a new process instance (case).
Expand All @@ -313,9 +306,6 @@ tags:
- name: Profile
x-displayName: Profile
description: Profile
- name: ProfileEntry
x-displayName: ProfileEntry
description: ProfileEntry
- name: ProfileMember
x-displayName: ProfileMember
description: ProfileMember
Expand All @@ -331,12 +321,6 @@ tags:
- name: Task
x-displayName: Task
description: Task
- name: Tenant
x-displayName: Tenant
description: Handle the tenants (**Enterprise editions only**). This requires a platform session. Log in using the platform login service.
- name: Theme
x-displayName: Theme
description: Theme
- name: TimerEventTrigger
x-displayName: TimerEventTrigger
description: TimerEventTrigger
Expand Down Expand Up @@ -600,10 +584,6 @@ paths:
$ref: './paths/platformlogoutservice.yaml'
/API/platform/platform/unusedid:
$ref: './paths/platform@platform@unusedid.yaml'
/API/platform/tenant:
$ref: './paths/API@platform@tenant.yaml'
/API/platform/tenant/{id}:
$ref: './paths/API@platform@tenant@{id}.yaml'
/API/platform/license:
$ref: './paths/API@platform@license.yaml'

Expand All @@ -624,18 +604,10 @@ paths:
$ref: './paths/API@portal@profile.yaml'
/API/portal/profile/{id}:
$ref: './paths/API@portal@profile@{id}.yaml'
/API/portal/profileEntry:
$ref: './paths/API@portal@profileEntry.yaml'
/API/portal/profileEntry/{id}:
$ref: './paths/API@portal@profileEntry@{id}.yaml'
/API/portal/profileMember:
$ref: './paths/API@portal@profileMember.yaml'
/API/portal/profileMember/{id}:
$ref: './paths/API@portal@profileMember@{id}.yaml'
/API/portal/theme:
$ref: './paths/API@portal@theme.yaml'
/API/portal/theme/unusedId:
$ref: './paths/API@portal@theme@unusedId.yaml'
# =======================
# SYSTEM API
# =======================
Expand All @@ -645,8 +617,8 @@ paths:
$ref: './paths/API@system@i18ntranslation.yaml'
/API/system/session/unusedId:
$ref: "./paths/API@system@session@unusedId.yaml"
/API/system/tenant/{id}:
$ref: "./paths/API@system@tenant@{id}.yaml"
/API/system/tenant/unusedId:
$ref: "./paths/API@system@tenant@unusedId.yaml"
/API/system/license/unusedid:
$ref: "./paths/API@system@license@unusedid.yaml"
/APIv2/service/install:
Expand Down
Loading

0 comments on commit 74adfb7

Please sign in to comment.