Skip to content
  •  
  •  
  •  
12 changes: 5 additions & 7 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,14 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest]
php: [8.2, 8.1]
laravel: [9.*, 10.*]
php: [8.3]
laravel: [10.*, '11.*']
stability: [prefer-lowest, prefer-stable]
include:
- laravel: 9.*
testbench: 7.*
carbon: ^2.53.1
- laravel: 10.*
testbench: 8.*
carbon: ^2.63
- laravel: 11.*
testbench: 9.*
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}

steps:
Expand All @@ -43,7 +41,7 @@ jobs:

- name: Install dependencies
run: |
composer require "illuminate/contracts:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "nesbot/carbon:${{ matrix.carbon }}" --no-interaction --no-update
composer require "illuminate/contracts:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer update --${{ matrix.stability }} --prefer-dist --no-interaction

- name: List Installed Dependencies
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ echo $flexnetOperations->echoPhrase('Hello, Flexsim!');
# Type Generation

1. Fix types in wsdl files
1. ProductPackagineService
- featureBundlesListType - add minOccurs="0" to the "featureBundle" property
- featuresListType - add minOccurs="0" to the "feature" property
- getProductRelationshipsResponseType - add minOccurs="0" to the "relationship" property
2. LicenseService
- fulfillmentHistoryDetailsType - add minOccurs="0" to the "record" property

1. ProductPackagineService
- featureBundlesListType - add minOccurs="0" to the "featureBundle" property
- featuresListType - add minOccurs="0" to the "feature" property
- getProductRelationshipsResponseType - add minOccurs="0" to the "relationship" property
2. LicenseService
- fulfillmentHistoryDetailsType - add minOccurs="0" to the "record" property

2. Normalize Extension types in the wsdl file by extracting them from the base type into the child type
3. Run the flexnet WSDL file through the xml to json tool here: https://codebeautify.org/xmlviewer
Expand Down Expand Up @@ -97,8 +97,8 @@ Please review [our security policy](../../security/policy) on how to report secu

## Credits

- [Cole Shirley](https://github.com/cole.shirley)
- [All Contributors](../../contributors)
- [Cole Shirley](https://github.com/cole.shirley)
- [All Contributors](../../contributors)

## License

Expand Down
14 changes: 6 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,17 @@
}
],
"require": {
"php": "^8.1",
"php": "^8.3",
"guzzlehttp/guzzle": "^7.2",
"illuminate/contracts": "^9.0|^10.0",
"phpro/soap-client": "^2.4",
"illuminate/contracts": "^10.0|^11.0",
"phpro/soap-client": "^3.0",
"spatie/laravel-package-tools": "^1.13.0"
},
"require-dev": {
"laravel/pint": "^1.0",
"nunomaduro/collision": "^6.0",
"orchestra/testbench": "^7.0|^8.0",
"pestphp/pest": "^1.21",
"pestphp/pest-plugin-laravel": "^1.4",
"phpunit/phpunit": "^9.5|^10.0",
"orchestra/testbench": "^8.0|^9.0",
"pestphp/pest": "^2.0",
"pestphp/pest-plugin-laravel": "^2.0",
"spatie/laravel-ray": "^1.26"
},
"autoload": {
Expand Down
8 changes: 4 additions & 4 deletions entitlementOrderService.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
->setClassMapName('EntitlementOrderServiceClassmap')
->setClassMapNamespace('Flexnet\\EntitlementOrderService')
->setRuleSet(new RuleSet([
new Rules\AssembleRule(new Assembler\ClassMapAssembler()),
new Rules\AssembleRule(new Assembler\ClientConstructorAssembler()),
new Rules\AssembleRule(new Assembler\ClientMethodAssembler()),
new Rules\AssembleRule(new Assembler\ClassMapAssembler),
new Rules\AssembleRule(new Assembler\ClientConstructorAssembler),
new Rules\AssembleRule(new Assembler\ClientMethodAssembler),
]))
->addRule(new Rules\AssembleRule(new FlexnetAssembler\PropertyAssembler(__DIR__.'/entitlementOrderService.json')))
->addRule(new Rules\AssembleRule(new FlexnetAssembler\ConstructorAssembler(
Expand All @@ -41,7 +41,7 @@
new Rules\IsRequestRule(
$engine->getMetadata(),
new Rules\MultiRule([
new Rules\AssembleRule(new Assembler\RequestAssembler()),
new Rules\AssembleRule(new Assembler\RequestAssembler),
])
)
)
Expand Down
Loading