Skip to content

Commit

Permalink
Merge pull request #9 from virtualidentityag/develop
Browse files Browse the repository at this point in the history
Merge dev to staging
  • Loading branch information
Leandro13Silva13 authored Sep 18, 2024
2 parents 81e2c63 + 10deb6c commit 2aa8bb3
Show file tree
Hide file tree
Showing 72 changed files with 765 additions and 1,901 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dockerImage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Setup JVM
uses: actions/setup-java@v1
with:
java-version: 11.0.10
java-version: 17.0.7
java-package: jdk
architecture: x64

Expand All @@ -44,7 +44,7 @@ jobs:
run: mvn -B -Pprod clean package -DskipTests=true
- name: Maven Verify
run: mvn -B -Pprod clean verify -DskipTests=true
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: targetfiles
path: target/*.jar
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Download buildfiles artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: targetfiles
- name: Get current time
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/dockerImageSkipTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Setup JVM
uses: actions/setup-java@v1
with:
java-version: 11.0.10
java-version: 17.0.7
java-package: jdk
architecture: x64

Expand All @@ -40,7 +40,7 @@ jobs:
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }}
- name: Maven Package
run: mvn -B -Pprod clean package -DskipTests
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: targetfiles
path: target/*.jar
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Download buildfiles artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: targetfiles
- name: Get current time
Expand Down Expand Up @@ -179,4 +179,4 @@ jobs:
value: ${{ env.DOCKER_IMAGE_TAG }}
custom-actions: |
- text: View CI
url: "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
url: "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
2 changes: 1 addition & 1 deletion .github/workflows/feature-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Setup JVM
uses: actions/setup-java@v1
with:
java-version: 11.0.10
java-version: 17.0.7
java-package: jdk
architecture: x64

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM adoptopenjdk/openjdk11
FROM openjdk:17-oracle
VOLUME ["/tmp","/log"]
EXPOSE 8080
ARG JAR_FILE
Expand Down
133 changes: 0 additions & 133 deletions api/messageservice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,54 +82,6 @@ paths:
- Bearer: [ ]
x-codegen-request-body-name: Message

/messages/feedback/new:
post:
tags:
- message-controller
summary: 'Add new Rocket.Chat message to feedback chat [Authorization: authority
for feedback chat]'
operationId: createFeedbackMessage
parameters:
- name: rcToken
in: header
required: true
schema:
type: string
- name: rcUserId
in: header
required: true
schema:
type: string
- name: rcFeedbackGroupId
in: header
required: true
schema:
type: string
requestBody:
content:
'application/json':
schema:
$ref: '#/components/schemas/MessageDTO'
required: true
responses:
201:
description: CREATED - message was successfully created
content:
'application/json':
schema:
$ref: '#/components/schemas/MessageResponseDTO'
400:
description: BAD REQUEST - invalid/incomplete request or body object
401:
description: UNAUTHORIZED - no/invalid Keycloak token
403:
description: FORBIDDEN - no/invalid role/authorization
500:
description: INTERNAL SERVER ERROR - server encountered unexpected condition
security:
- Bearer: [ ]
x-codegen-request-body-name: Message

/messages/videohint/new:
post:
tags:
Expand Down Expand Up @@ -323,54 +275,6 @@ paths:
security:
- Bearer: [ ]

/messages/forward:
post:
tags:
- message-controller
summary: 'Forward a Rocket.Chat message to another group [Authorization: Role:
u25-consultant]'
operationId: forwardMessage
parameters:
- name: rcToken
in: header
required: true
schema:
type: string
- name: rcUserId
in: header
required: true
schema:
type: string
- name: rcGroupId
in: header
required: true
schema:
type: string
requestBody:
description: Body description
content:
'application/json':
schema:
$ref: '#/components/schemas/ForwardMessageDTO'
required: true
responses:
201:
description: CREATED - message was successfully created
content:
'application/json':
schema:
$ref: '#/components/schemas/MessageResponseDTO'
400:
description: BAD REQUEST - invalid/incomplete request or body object
401:
description: UNAUTHORIZED - no/invalid Keycloak token
403:
description: FORBIDDEN - no/invalid role/authorization
500:
description: INTERNAL SERVER ERROR - server encountered unexpected condition
security:
- Bearer: [ ]

/messages/draft:
post:
tags:
Expand Down Expand Up @@ -629,45 +533,13 @@ components:
AliasMessageDTO:
type: object
properties:
forwardMessageDTO:
$ref: '#/components/schemas/ForwardMessageDTO'
videoCallMessageDTO:
$ref: '#/components/schemas/VideoCallMessageDTO'
messageType:
$ref: '#/components/schemas/MessageType'
content:
type: string

ForwardMessageDTO:
type: object
required:
- message
- timestamp
- username
- rcUserId
properties:
message:
type: string
example: "Lorem ipsum dolor sit amet, consetetur..."
org:
type: string
example: "Lorem ipsum dolor sit amet, consetetur..."
description: "Legacy fallback for stringified messages"
timestamp:
type: string
description: "Full qualified timestamp"
example: "2018-11-15T09:33:00.057Z"
username:
type: string
example: "asker23"
displayName:
type: string
rcUserId:
type: string
example: "ag89h3tjkerg94t"
t:
type: string

VideoCallMessageDTO:
type: object
required:
Expand Down Expand Up @@ -708,7 +580,6 @@ components:
- "APPOINTMENT_CANCELLED"
- "APPOINTMENT_RESCHEDULED"
- "FINISHED_CONVERSATION"
- "FORWARD"
- "FURTHER_STEPS"
- "UPDATE_SESSION_DATA"
- "VIDEOCALL"
Expand All @@ -720,10 +591,6 @@ components:
- "REASSIGN_CONSULTANT_RESET_LAST_MESSAGE"

AliasArgs:
oneOf:
- $ref: '#/components/schemas/ConsultantReassignment'

ConsultantReassignment:
type: object
description: >
toConsultantId, toConsultantName, toAskerName and fromConsultantName are required during
Expand Down
1 change: 0 additions & 1 deletion google_checks_light.xml
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,6 @@
</module>
-->
<module name="JavadocMethod">
<property name="scope" value="public"/>
<property name="allowMissingParamTags" value="true"/>
<property name="allowMissingReturnTag" value="true"/>
<property name="allowedAnnotations" value="Override, Test"/>
Expand Down
Loading

0 comments on commit 2aa8bb3

Please sign in to comment.