diff --git a/README.md b/README.md index 8fc7ec5..62568e6 100644 --- a/README.md +++ b/README.md @@ -53,28 +53,110 @@ soa_ftp digunakan untuk download, upload, move, delete, read jar (unzip), dan ja ## API endpoints and context roots ### span-gateway -context root: -#### `/auth/login` -#### `/api/**` -forwarding to OSB -#### `/users/**` -forwarding to span-user-api -### span-token-api -context root: -digunakan oleh span-gateway, tdk punya API untuk dipanggil user -### span-user-api -context root: -sama -### skramd4j -context root: +context root: `/` + +#### `POST` /auth/login +Request json: +- username +- password + +#### `POST` /api/** +forwarding to OSB + +#### `POST` /users/** +forwarding to span-user-api + +> [!INFO] +> span-token-api dan span-user-api hanya digunakan oleh span-gateway, tdk punya API untuk dipanggil user + +### skramd4j +context root: `skramd4j` + +#### `POST` /api/v2/sign +Request xml: the whole soap message to sign + +#### `POST` /api/v2/verify +Request xml: the whole soap message to verify -... ### BIGEBBRIDGE -context root: +context root: `/BIGEBBRIDGENEW` + +#### `POST` /bankStatementBI +Request json: +- AccountNo +- StatementDate + +#### `POST` /dailyRateBI +Request json: +- dailyRateDate + +#### `POST` /fundTransferBI +Request xml: the whole soap message to sign + +#### `POST` /overbookingBI +Request xml: the whole soap message to sign + +#### `POST` /transactionStatusBI +Request json: +- WarkatNo + ### soa_ftp -context root: +context root: /sftp-app + #### `POST` /api/list -JSON attributes directory +Request json: +- directory + #### `POST` /api/upload -JSON attributes localFile, remoteFile -JSON response \ No newline at end of file +Request json: +- localFile +- remoteFile + +#### `POST` /api/download +Request json: +- localFile +- remoteFile + +#### `POST` /api/move +Request json: +- sourceFile +- destinationFile + +#### `POST` /api/delete +Request json: +- filePath + +#### `POST` /api/generateJar +Request json: +- xmlFilePath + +#### `POST` /api/unzip +Request json: +- jarFilePath + +## Deployment guide + +### Dependencies summary +Database dependencies: +- jndi: jdbc/osbTrxDS on schema osb_trx +- jndi: jdbc/soaGatewayDs on schema gateway + +File dependencies +- /n01/files/common_files/truststore/osb-truststore.jks +- /n01/app/oracle/config/integration/config-bigebbridge.xml + +External dependencies: +- ftpsvr1 + +### Dependencies matrix + +|Repo|Database|File|External| +|-|-|-|-| +|span-gateway|jndi: jdbc/soaGatewayDs on schema gateway||| +|span-user-api|jndi: jdbc/soaGatewayDs on schema gateway||| +|span-token-api|jndi: jndi: jdbc/osbTrxDS on schema osb_trx||| +|skramd4j||/n01/files/common_files/truststore/osb-truststore.jks|| +|BIGEBBRIDGE||/n01/app/oracle/config/integration/config-bigebbridge.xml|| +|soa_ftp|||ftpsvr1| + + diff --git a/service-baru-span.drawio.png b/service-baru-span.drawio.png index b17bf98..324d3f2 100644 Binary files a/service-baru-span.drawio.png and b/service-baru-span.drawio.png differ