-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Design very minimal Tx base system Bug corrections Rename prj accounting to accounting-structure Blazor, best token and session management Application cleanup endpoint for integration tests First tx submit with validation Masstransit events chain after submit Tx Renaming, cleanings Some important commits from older to new... * First version of entry and transaction db entity design. * Vat rate contarcts and mappers * Vat rate, minimal base service. Change account to add the Active param. * New account field * Active/Inactive account + add a filter in the BlazorView * IsActive account in Blazor * Correction of bug in unique index for security api. * Big commit: rename accounting api to accounting-structure.api * Rename accounting contracts prj + namespace * New backend prj to manage VAT or Sales tax * Correct db name for accounting_struct_api and security api for table users_roles_by_tenant * Put in place vatsales tax api * Sales tax vat first endpoint * Ok, token management is working better and in minikube too. Only session management is missing. * Prepare for tax rates endpoints * Cleanup endpoint for integration tests * Test add taxrates, modify to dateonly for the valid to, valid from * Change applications routes * Change data seed for application in struct api * Account data in sales-vat tax module. * Some progress on attaching tax rates to account with a target tax rates account if needed. (for additionnal accounting entries) * Add account tax rates config and init base data * Add accountTaxratecongfigs tests * Consumers account in VAT Tax Api * Account consumers in tax api. * Clean all the useless navigation properties * Rename Feature erro type * Prepare transaction service * Consumer for tax rates in transaction API * Populate tenant_id in events. * Replace audit field in all model by a value object and adapt the change tracker accordinly * Prepare for Submit TX * First tx submit (with minimal and naive checks). * Loop on entries check info. * Submit transaction: first minimal version. (not checking from VAT api now) * First submit TX test OK. * Base routes testing for submit TX (security) * Tx minimal first submit version * Entry link for tax/vat entries that will be linked to other entries * Blazor not used thing * Ok Tx submit with state in the DB * Fake consumer for tax validation * Publish the state of a TX for other components... * force ubik name as docker compose project * Config for minikube for accounting-tx and accounting-tax * comment in README * update readme * Remove unused usings ---------
- Loading branch information
Showing
384 changed files
with
9,293 additions
and
1,823 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -396,3 +396,4 @@ FodyWeavers.xsd | |
|
||
# JetBrains Rider | ||
*.sln.iml | ||
/src/mycert.cer |
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
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
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,51 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: accounting-sales-vat-tax-api | ||
labels: | ||
app: accounting-sales-vat-tax-api | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
app: accounting-sales-vat-tax-api | ||
template: | ||
metadata: | ||
labels: | ||
app: accounting-sales-vat-tax-api | ||
spec: | ||
containers: | ||
- name: accounting-sales-vat-tax-api | ||
image: ubik-accounting-sales-vat-tax-api-test:latest | ||
imagePullPolicy: Never | ||
env: | ||
- name: ConnectionStrings__AccountingSalesTaxDbContext | ||
value: 'Host=ubik-postgres-postgresql;Port=5432;Database=ubik_accounting_salestax;Username=postgres;Password=test01' | ||
- name: ASPNETCORE_ENVIRONMENT | ||
value: Development | ||
- name: MessageBroker__Host | ||
value: 'amqp://ubik-rabbitmq:5672' | ||
- name: AuthServer__MetadataAddress | ||
value: "https://keycloak-local/realms/ubik/.well-known/openid-configuration" | ||
- name: AuthServer__Authority | ||
value: "https://keycloak-local/realms/ubik" | ||
- name: AuthServer__AuthorizationUrl | ||
value: "https://keycloak-local/realms/ubik/protocol/openid-connect/auth" | ||
- name: AuthServer__TokenUrl | ||
value: "https://keycloak-local/realms/ubik/protocol/openid-connect/token" | ||
- name: AuthManagerKeyCloakClient__RootUrl | ||
value: "http://keycloak-local/" | ||
ports: | ||
- containerPort: 8080 | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: accounting-sales-vat-tax-api | ||
spec: | ||
selector: | ||
app: accounting-sales-vat-tax-api | ||
ports: | ||
- protocol: TCP | ||
port: 80 | ||
targetPort: 8080 |
51 changes: 51 additions & 0 deletions
51
deploy/accounting-transaction-api/accounting-transaction-api-deploy.yaml
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,51 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: accounting-transaction-api | ||
labels: | ||
app: accounting-transaction-api | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
app: accounting-transaction-api | ||
template: | ||
metadata: | ||
labels: | ||
app: accounting-transaction-api | ||
spec: | ||
containers: | ||
- name: accounting-transaction-api | ||
image: ubik-accounting-tx-api-test:latest | ||
imagePullPolicy: Never | ||
env: | ||
- name: ConnectionStrings__AccountingTxContext | ||
value: 'Host=ubik-postgres-postgresql;Port=5432;Database=ubik_accounting_tx;Username=postgres;Password=test01' | ||
- name: ASPNETCORE_ENVIRONMENT | ||
value: Development | ||
- name: MessageBroker__Host | ||
value: 'amqp://ubik-rabbitmq:5672' | ||
- name: AuthServer__MetadataAddress | ||
value: "https://keycloak-local/realms/ubik/.well-known/openid-configuration" | ||
- name: AuthServer__Authority | ||
value: "https://keycloak-local/realms/ubik" | ||
- name: AuthServer__AuthorizationUrl | ||
value: "https://keycloak-local/realms/ubik/protocol/openid-connect/auth" | ||
- name: AuthServer__TokenUrl | ||
value: "https://keycloak-local/realms/ubik/protocol/openid-connect/token" | ||
- name: AuthManagerKeyCloakClient__RootUrl | ||
value: "http://keycloak-local/" | ||
ports: | ||
- containerPort: 8080 | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: accounting-transaction-api | ||
spec: | ||
selector: | ||
app: accounting-transaction-api | ||
ports: | ||
- protocol: TCP | ||
port: 80 | ||
targetPort: 8080 |
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
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
Oops, something went wrong.