Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tr(cleanup): remove deprecated apis #65

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all 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
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.

39 changes: 0 additions & 39 deletions openapi/components/schemas/Tenant.yaml

This file was deleted.

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

This file was deleted.

25 changes: 1 addition & 24 deletions openapi/components/schemas/TenantUpdateRequest.yaml
Original file line number Diff line number Diff line change
@@ -1,31 +1,8 @@
type: object
deprecated: true
description: "Since Bonita 7.12, tenant update is deprecated"
properties:
name:
description: "the name of the tenant"
type: string
description:
description: "the description"
type: string
username:
description: "the username"
type: string
password:
description: "the password"
type: string
format: password
icon:
description: "the path of the icon"
type: string
state:
description: "the tenant state"
description: "the new tenant state"
type: string
enum: [ ACTIVATED, DEACTIVATED ]
example:
name: "MyTenant"
description: "My new tenant description"
username: "john"
password: "bpm"
icon: "/default.png"
state: "ACTIVATED"
14 changes: 0 additions & 14 deletions openapi/components/schemas/ThemeCreateRequest.yaml

This file was deleted.

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

This file was deleted.

20 changes: 1 addition & 19 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.10
version: 0.0.11
title: Bonita HTTP API
description:
# Ignore IDE warnings
Expand Down Expand Up @@ -103,9 +103,7 @@ x-tagGroups:
tags:
- Page
- Profile
- ProfileEntry
- ProfileMember
- Theme
- Upload

- name: System
Expand Down Expand Up @@ -313,9 +311,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 @@ -334,9 +329,6 @@ tags:
- 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 @@ -602,8 +594,6 @@ paths:
$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 +614,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 Down
Loading