Skip to content
This repository was archived by the owner on Feb 14, 2025. It is now read-only.

Commit be33668

Browse files
committed
Merge branch 'develop' into update-from-template-merged
2 parents 8ae90da + 3502947 commit be33668

38 files changed

+7551
-53
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ body:
1515
attributes:
1616
label: "Checklist"
1717
options:
18-
- label: "I am able to reproduce the bug with the [latest version](https://github.com/xdev-software/template-placeholder/releases/latest)"
18+
- label: "I am able to reproduce the bug with the [latest version](https://github.com/xdev-software/sched-java-client/releases/latest)"
1919
required: true
20-
- label: "I made sure that there are *no existing issues* - [open](https://github.com/xdev-software/template-placeholder/issues) or [closed](https://github.com/xdev-software/template-placeholder/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
20+
- label: "I made sure that there are *no existing issues* - [open](https://github.com/xdev-software/sched-java-client/issues) or [closed](https://github.com/xdev-software/sched-java-client/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
2121
required: true
2222
- label: "I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise."
2323
required: true

.github/ISSUE_TEMPLATE/enhancement.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ body:
1313
attributes:
1414
label: "Checklist"
1515
options:
16-
- label: "I made sure that there are *no existing issues* - [open](https://github.com/xdev-software/template-placeholder/issues) or [closed](https://github.com/xdev-software/template-placeholder/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
16+
- label: "I made sure that there are *no existing issues* - [open](https://github.com/xdev-software/sched-java-client/issues) or [closed](https://github.com/xdev-software/sched-java-client/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
1717
required: true
1818
- label: "I have taken the time to fill in all the required details. I understand that the feature request will be dismissed otherwise."
1919
required: true

.github/ISSUE_TEMPLATE/question.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ body:
1212
attributes:
1313
label: "Checklist"
1414
options:
15-
- label: "I made sure that there are *no existing issues* - [open](https://github.com/xdev-software/template-placeholder/issues) or [closed](https://github.com/xdev-software/template-placeholder/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
15+
- label: "I made sure that there are *no existing issues* - [open](https://github.com/xdev-software/sched-java-client/issues) or [closed](https://github.com/xdev-software/sched-java-client/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
1616
required: true
1717
- label: "I have taken the time to fill in all the required details. I understand that the question will be dismissed otherwise."
1818
required: true

.run/Run Demo.run.xml

-16
This file was deleted.

CHANGELOG.md

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# 1.2.2
2+
* Updated dependencies
3+
* Updated to OpenAPI Generator 7.4
4+
5+
# 1.2.1
6+
* ⚠️ GroupId changed from ``com.xdev-software`` to ``software.xdev``
7+
* Updated dependencies
8+
9+
# 1.2.0
10+
* Add support for the ``/user/mod`` Sched API endpoint
11+
* Updated dependencies
12+
13+
# 1.1.1
14+
* Removed unused dependency ``com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider``
15+
16+
# 1.1.0
17+
* Add undocumented ``video_stream`` field for sessions.<br/>Affected endpoints are:
18+
* ``/session/add``
19+
* ``/session/mod``
20+
* ``/session/export``
21+
22+
# 1.0.2
23+
* Add all available fields to model returned by ``/user/list``
24+
* Updated dependencies
25+
26+
# 1.0.1
27+
* Throw ``APIException`` instead ``ClassCastException`` when error is encountered #12
28+
* Updated dependencies
29+
30+
# 1.0.0
31+
32+
* Initial release
33+
* Supports the following Sched API endpoints
34+
* ``/session/add``
35+
* ``/session/mod``
36+
* ``/session/del``
37+
* ``/session/list``
38+
* ``/session/export``
39+
* ``/user/list``
40+
* ``/user/add``
41+
* ``/role/add``
42+
* ``/role/del``

CONTRIBUTING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ You should have the following things installed:
3434
* Ensure that the JDK/Java-Version is correct
3535

3636

37-
## Releasing [![Build](https://img.shields.io/github/actions/workflow/status/xdev-software/template-placeholder/release.yml?branch=master)](https://github.com/xdev-software/template-placeholder/actions/workflows/release.yml)
37+
## Releasing [![Build](https://img.shields.io/github/actions/workflow/status/xdev-software/sched-java-client/release.yml?branch=master)](https://github.com/xdev-software/sched-java-client/actions/workflows/release.yml)
3838

3939
Before releasing:
40-
* Consider doing a [test-deployment](https://github.com/xdev-software/template-placeholder/actions/workflows/test-deploy.yml?query=branch%3Adevelop) before actually releasing.
40+
* Consider doing a [test-deployment](https://github.com/xdev-software/sched-java-client/actions/workflows/test-deploy.yml?query=branch%3Adevelop) before actually releasing.
4141
* Check the [changelog](CHANGELOG.md)
4242

4343
If the ``develop`` is ready for release, create a pull request to the ``master``-Branch and merge the changes

README.md

+75-9
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,83 @@
1-
[![Latest version](https://img.shields.io/maven-central/v/software.xdev/template-placeholder?logo=apache%20maven)](https://mvnrepository.com/artifact/software.xdev/template-placeholder)
2-
[![Build](https://img.shields.io/github/actions/workflow/status/xdev-software/template-placeholder/check-build.yml?branch=develop)](https://github.com/xdev-software/template-placeholder/actions/workflows/check-build.yml?query=branch%3Adevelop)
3-
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=xdev-software_template-placeholder&metric=alert_status)](https://sonarcloud.io/dashboard?id=xdev-software_template-placeholder)
4-
[![API Specification Editor](https://img.shields.io/badge/API--Spec-Editor-85ea2d?logo=swagger)](https://editor.swagger.io/?url=https://raw.githubusercontent.com/xdev-software/template-placeholder/develop/openapi/openapi.yml)
1+
[![Latest version](https://img.shields.io/maven-central/v/software.xdev/sched-java-client?logo=apache%20maven)](https://mvnrepository.com/artifact/software.xdev/sched-java-client)
2+
[![Build](https://img.shields.io/github/actions/workflow/status/xdev-software/sched-java-client/check-build.yml?branch=develop)](https://github.com/xdev-software/sched-java-client/actions/workflows/check-build.yml?query=branch%3Adevelop)
3+
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=xdev-software_sched-java-client&metric=alert_status)](https://sonarcloud.io/dashboard?id=xdev-software_sched-java-client)
4+
[![API Specification Editor](https://img.shields.io/badge/API--Spec-Editor-85ea2d?logo=swagger)](https://editor.swagger.io/?url=https://raw.githubusercontent.com/xdev-software/sched-java-client/develop/openapi/openapi.yml)
55

6-
# template-placeholder
6+
# <img src="https://i0.wp.com/sched.com/wp-content/uploads/2021/11/cropped-favicon.png?fit=28,28&ssl=1" height="28" /> [sched](https://sched.com/)-java-client
7+
Java client for the [Sched API](https://sched.com/api)
78

8-
This client [is generated](./template-placeholder/pom.xml) from an [``openapi.yml``](./openapi/openapi.yml) using [OpenAPI Generator](https://openapi-generator.tech/).
9+
> [!IMPORTANT]
10+
> An API-Key is required for using the API.<br/>
11+
> You can get a key - if you have a payed plan - at https://insertYourConferenceHERE.sched.com/editor/exports/api
12+
13+
This client [is generated](./sched-java-client/pom.xml) from an [``openapi.yml``](./openapi/openapi.yml) using [OpenAPI Generator](https://openapi-generator.tech/).
14+
15+
> [!NOTE]
16+
> The client may look/behave odd because the Sched API violates some well established standards.
17+
> <details><summary>List of violations</summary>
18+
>
19+
> * Errors are (partially) returned with status code [``200 (OK)``](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/200)
20+
> * ``text/html`` is used as [content type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types#important_mime_types_for_web_developers) for plain text (should be ``text/plain``)
21+
> * ``boolean`` is handled as ``"Y"``/``"N"`` or as ``"0"``/``"1"``
22+
> * Numbers are (partially) handled as string
23+
> * Dates are not formatted according to [``RFC 3339``](https://datatracker.ietf.org/doc/html/rfc3339)
24+
> * Sometimes unix timestamps are used instead of dates
25+
> * Arrays are not handled as arrays and instead comma separated lists are used
26+
> * Some fields are not returned when using the 'Read-Only API Key' e.g. the ``id`` of users
27+
> * Incorrect [HTTP Request methods](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods) are used. E.g. ``GET`` for ``/api/session/del`` (should be ``DELETE``)
28+
> * Some endpoints don't return JSON by default
29+
>
30+
> </details>
31+
32+
#### API Support Status
33+
34+
<details><summary>Supported endpoints</summary>
35+
36+
* Site
37+
* Sync
38+
* Session
39+
* Add ✔️
40+
* Modify ✔️
41+
* Delete ✔️
42+
* List ✔️
43+
* Export ✔️
44+
* Seats
45+
* Count
46+
* User
47+
* List ✔️
48+
* Add ✔️
49+
* Modify ✔️
50+
* Get
51+
* Active
52+
* Avatar
53+
* Sessions
54+
* Auth¹
55+
* Login
56+
* Tag
57+
* Add
58+
* Modify
59+
* Delete
60+
* List
61+
* Going¹
62+
* Add
63+
* Delete
64+
* Schedule
65+
* All
66+
* Assets
67+
* Banner
68+
* Role
69+
* Add ✔️
70+
* Delete ✔️
71+
* Export
72+
73+
¹ Handles `User Session Key`
74+
</details>
975

1076
## Installation
11-
[Installation guide for the latest release](https://github.com/xdev-software/template-placeholder/releases/latest#Installation)
77+
[Installation guide for the latest release](https://github.com/xdev-software/sched-java-client/releases/latest#Installation)
1278

1379
## Demo
14-
A minimal demo is also available [here](./template-placeholder-demo/src/main/java/software/xdev/Application.java).
80+
A minimal demo is also available [here](./sched-java-client-demo/src/main/java/software/xdev/Application.java).
1581

1682
## Support
1783
If you need support as soon as possible and you can't wait for any pull request, feel free to use [our support](https://xdev.software/en/services/support).
@@ -20,4 +86,4 @@ If you need support as soon as possible and you can't wait for any pull request,
2086
See the [contributing guide](./CONTRIBUTING.md) for detailed instructions on how to get started with our project.
2187

2288
## Dependencies and Licenses
23-
View the [license of the current project](LICENSE) or the [summary including all dependencies](https://xdev-software.github.io/template-placeholder/dependencies)
89+
View the [license of the current project](LICENSE) or the [summary including all dependencies](https://xdev-software.github.io/sched-java-client/dependencies)

SECURITY.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
## Reporting a Vulnerability
44

5-
Please report a security vulnerability [on GitHub Security Advisories](https://github.com/xdev-software/template-placeholder/security/advisories/new).
5+
Please report a security vulnerability [on GitHub Security Advisories](https://github.com/xdev-software/sched-java-client/security/advisories/new).

openapi/INFO.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
This ``openapi.yml`` was written manually as INSERT_NAME_HERE fails to provide an API schema or something similar.
1+
This ``openapi.yml`` was written manually as Sched fails to provide an API schema or something similar.
22

3-
The Java API Client can be generated using ``mvn clean compile -P openapi-generator`` inside [``template-placeholder``](../template-placeholder/).
3+
The Java API Client can be generated using ``mvn clean compile -P openapi-generator`` inside [``sched-java-client``](../sched-java-client/).
44

55
Helpful links:
66
* https://jsonformatter.org/json-to-jsonschema

0 commit comments

Comments
 (0)