Skip to content

Commit

Permalink
fix(release): see CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerald Baulig committed Oct 27, 2023
1 parent cce8d24 commit 6ac5c2c
Show file tree
Hide file tree
Showing 6 changed files with 53 additions and 143 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 0.0.11 (October 27th, 2023)

- fix production configs
- upgrade dependencies
- use decorators of new acs-client lib

## 0.0.10 (October 18th, 2023)

- fix config typo
Expand All @@ -10,6 +16,10 @@

- change default config redis url

## 0.0.7 (October 17st, 2023)

- add access-control support

## 0.0.6 (September 1st, 2023)

- updated dependencies
Expand Down
123 changes: 0 additions & 123 deletions src/experimental/access_control_decorators.ts

This file was deleted.

8 changes: 3 additions & 5 deletions src/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ import {
import {
ACSClientContext,
AuthZAction,
access_controlled_function,
access_controlled_service,
DefaultACSClientContextFactory,
Operation
} from '@restorecommerce/acs-client';
import {
Expand Down Expand Up @@ -95,11 +98,6 @@ import {
VAT
} from '@restorecommerce/rc-grpc-clients/dist/generated-server/io/restorecommerce/amount';
import { Subject } from '@restorecommerce/rc-grpc-clients/dist/generated-server/io/restorecommerce/auth';
import {
access_controlled_service,
access_controlled_function,
DefaultACSClientContextFactory
} from './experimental/access_control_decorators';
import { COUNTRY_CODES_EU } from './utils';

export type RatioedTax = Tax & {
Expand Down
53 changes: 39 additions & 14 deletions test/mocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,29 @@ import {
OrderState,
} from '@restorecommerce/rc-grpc-clients/dist/generated/io/restorecommerce/order';
import {
ProductListResponse, ProductResponse
ProductListResponse,
ProductResponse
} from '@restorecommerce/rc-grpc-clients/dist/generated/io/restorecommerce/product';
import {
OrganizationListResponse, OrganizationResponse
OrganizationListResponse,
OrganizationResponse
} from '@restorecommerce/rc-grpc-clients/dist/generated/io/restorecommerce/organization';
import {
ContactPointListResponse, ContactPointResponse
ContactPointListResponse,
ContactPointResponse
} from '@restorecommerce/rc-grpc-clients/dist/generated/io/restorecommerce/contact_point';
import {
AddressListResponse, BillingAddress, ShippingAddress
AddressListResponse,
BillingAddress,
ShippingAddress
} from '@restorecommerce/rc-grpc-clients/dist/generated/io/restorecommerce/address';
import {
CountryListResponse,
CountryResponse
} from '@restorecommerce/rc-grpc-clients/dist/generated/io/restorecommerce/country';
import {
TaxListResponse, TaxResponse
TaxListResponse,
TaxResponse
} from '@restorecommerce/rc-grpc-clients/dist/generated/io/restorecommerce/tax';
import {
TaxTypeListResponse
Expand All @@ -33,10 +39,13 @@ import {
PackingSolutionListResponse
} from '@restorecommerce/rc-grpc-clients/dist/generated/io/restorecommerce/fulfillment_product';
import {
UserListResponse, UserResponse, UserType
UserListResponse,
UserResponse,
UserType
} from '@restorecommerce/rc-grpc-clients/dist/generated-server/io/restorecommerce/user';
import {
ShopListResponse, ShopResponse
ShopListResponse,
ShopResponse
} from '@restorecommerce/rc-grpc-clients/dist/generated/io/restorecommerce/shop';
import {
CustomerListResponse
Expand All @@ -45,13 +54,29 @@ import {
FulfillmentListResponse,
State as FulfillmentState
} from '@restorecommerce/rc-grpc-clients/dist/generated/io/restorecommerce/fulfillment';
import { OperationStatus } from '@restorecommerce/rc-grpc-clients/dist/generated/io/restorecommerce/status';
import { InvoiceListResponse, PaymentState } from '@restorecommerce/rc-grpc-clients/dist/generated/io/restorecommerce/invoice';
import { DeepPartial } from '@restorecommerce/rc-grpc-clients/dist/generated/io/restorecommerce/resource_base';
import { Effect } from '@restorecommerce/rc-grpc-clients/dist/generated/io/restorecommerce/rule';
import { Subject } from '@restorecommerce/rc-grpc-clients/dist/generated/io/restorecommerce/auth';
import { getRedisInstance, logger } from '.';
import { HierarchicalScope } from '@restorecommerce/rc-grpc-clients/dist/generated-server/io/restorecommerce/auth';
import {
OperationStatus
} from '@restorecommerce/rc-grpc-clients/dist/generated/io/restorecommerce/status';
import {
InvoiceListResponse,
PaymentState
} from '@restorecommerce/rc-grpc-clients/dist/generated/io/restorecommerce/invoice';
import {
DeepPartial
} from '@restorecommerce/rc-grpc-clients/dist/generated/io/restorecommerce/resource_base';
import {
Effect
} from '@restorecommerce/rc-grpc-clients/dist/generated/io/restorecommerce/rule';
import {
Subject
} from '@restorecommerce/rc-grpc-clients/dist/generated/io/restorecommerce/auth';
import {
HierarchicalScope
} from '@restorecommerce/rc-grpc-clients/dist/generated-server/io/restorecommerce/auth';
import {
getRedisInstance,
logger
} from './utils';

type Address = ShippingAddress & BillingAddress;

Expand Down
2 changes: 1 addition & 1 deletion test/ordering-srv.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import {
connectEvents,
connectTopics,
mockServices,
} from '.';
} from './utils';

describe('The Ordering Service:', () => {
let mocking: GrpcMockServer[];
Expand Down
File renamed without changes.

0 comments on commit 6ac5c2c

Please sign in to comment.