-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EbmsAcknowledgment + ebmsmessage tabel
Co-authored-by: Alexander Petrov <[email protected]> Co-authored-by: Chris Olsen <[email protected]>
- Loading branch information
Showing
3 changed files
with
81 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
ebms-provider/src/main/kotlin/no/nav/emottak/ebms/model/EbmsAcknowledgment.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package no.nav.emottak.ebms.model | ||
|
||
import org.oasis_open.committees.ebxml_msg.schema.msg_header_2_0.Acknowledgment | ||
import org.oasis_open.committees.ebxml_msg.schema.msg_header_2_0.MessageHeader | ||
|
||
class EbmsAcknowledgment(override val messageHeader: MessageHeader, | ||
val acknowledgment: Acknowledgment) : EbMSBaseMessage { | ||
|
||
|
||
} |
15 changes: 15 additions & 0 deletions
15
ebms-provider/src/main/resources/db/migrations/V1_ebms_message.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
CREATE TABLE ebms_message | ||
( | ||
cpa_id VARCHAR(256) NOT NULL, | ||
conversation_id VARCHAR(256) NOT NULL, | ||
message_id VARCHAR(256) NOT NULL, | ||
ref_to_message_id VARCHAR(256) NULL, | ||
from_party_id VARCHAR(256) NOT NULL, | ||
from_role VARCHAR(256) NULL, | ||
to_party_id VARCHAR(256) NOT NULL, | ||
to_role VARCHAR(256) NULL, | ||
service VARCHAR(256) NOT NULL, | ||
action VARCHAR(256) NOT NULL, | ||
content TEXT NULL | ||
PRIMARY KEY (message_id,message_nr) | ||
); |