Skip to content

Commit

Permalink
Merge branch 'master' into documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
grafnu committed Feb 28, 2024
2 parents 6d2d83f + 676ca4c commit c020085
Show file tree
Hide file tree
Showing 258 changed files with 15,321 additions and 10,058 deletions.
58 changes: 29 additions & 29 deletions .gencode_hash.txt
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
433b3c972a2d4de6f54cf32f00f918fa7e3fd80d4bf29a2c7bee182f532bc660 gencode/docs/command_discovery.html
e5ae5dd058ce298448741a75a6ac67166a9f197b32061b9cbfd47655861864e2 gencode/docs/command_mapping.html
99876633b27acba744ac737a9682e01258752c5439effd07193317767a41a0c6 gencode/docs/config.html
6e853ce072dde0bccd7cdeb31845301ba681841d7cb21a8ff90d023bc9597729 gencode/docs/config_mapping.html
41c2bc68fc3b8151b6a504c8adfe47d7453b972a38e4e056238241ae12ad2859 gencode/docs/command_mapping.html
81ba8b959b8ac79fe792eef5a4aaf984fcfbe3e7b94987556dd23a329dbaac5b gencode/docs/config.html
22bfb3fd7c0e73dac4cbd830aa7983714917ec6da813f6bf5768ce3aa9786fb2 gencode/docs/config_mapping.html
e9f5572ab03a36aa926b5b0496fc58af03eca92b83271eafa3e2e65f7936f05b gencode/docs/configuration_endpoint.html
4ac793390f9a8e9bb6aa74f72265cd166fe185a426df7589b7bf56a5c409e3fd gencode/docs/configuration_execution.html
f7fc9ba938347df94df71bb3c5fee5aae3626de8eb7f5bdc36357c186b0f7b36 gencode/docs/configuration_pod.html
5bbb3136ad3a8d3cc797767b496aa3c45c084beefba4e129d62374a64cd0fbfa gencode/docs/configuration_pubber.html
a5454f8dc6a843115823d1122ce34e36a5e9058cd3f6ea42c3482c8b4b5adf72 gencode/docs/event.html
f7268ffd426cd03007e85a7f73347888c569f2ae92f10ec5569885d1a6c5e807 gencode/docs/event_discovery.html
d0db0ed95c6e2aef32cd55749a13053db2809503e82b20ee04b98fd7f58c1e93 gencode/docs/event_mapping.html
e8c20a53a51febbeb7da3869b768635cb2030d3c690bf92cdb8516835f750664 gencode/docs/configuration_pubber.html
9a4c3876ca5dd7bbbec722a88cfbf99deef5eda23e62404259cad0a3bc242cfd gencode/docs/event.html
06e6f3a4d8de12d11fce0071baff640a9c4dc01d72d537557ed10b08eda4ccab gencode/docs/event_discovery.html
78f655972772f4bee92d88c3a26535612735c794837bfd6f479faeb2e8d8691e gencode/docs/event_mapping.html
f6ca85990e940f109a48e35b25102d8860e5707a7b2145412046f44d599ef635 gencode/docs/event_pointset.html
110090929fdb5af934c852768d25467361a21be7d8a693de333219ce47fa83fb gencode/docs/event_system.html
4c15e549ded3e0489e1717e24a68a94b3995e43c2032ea7ca1c89deaa4f18c21 gencode/docs/event_validation.html
f927607a6acca2dc77bc748287c7db207b348aaef4a77811b4e0724c738ba095 gencode/docs/metadata.html
5d0fa84dde29cbc20b6fe3a3c17819c711360cc8b6388a680c3995a7dcc08a5f gencode/docs/monitoring.html
f849ebe1085d81fb0f16654b7c9d3d14c59b56b1c75154e100b85398694657fd gencode/docs/event_system.html
a4a99c4be9483e889c2d0d180d72d2ed332d587ac9305c7615da0e70fd55a56d gencode/docs/event_validation.html
1d3975eea536fc46c35818db12476296e0968b3a9bc3af787a01038b3d0a518f gencode/docs/metadata.html
93bfecd5facd0ead4c75a90f350fa715e6fb8bdab71d81b1f3e46994f03c1c2e gencode/docs/monitoring.html
a300dd8e873610121d817385acbd16a75a914766ead0b0d798031d1ca0499ad4 gencode/docs/persistent_device.html
5d039d607af9ec75ee552dfe36b16c702687ea16f5663f41fc49b4533b86e00d gencode/docs/properties.html
1766f84518a315fe57e4a4bf934c0a386ad61d87091754a6bab097c686c16019 gencode/docs/readme.md
741b880216be3743f6747800a042f2dbd89f3b0344c6b0a965f4bc010f03a930 gencode/docs/schema_doc.css
878ea88206c974f40643c3cc430875f9c4e8c5e3fd6bcd6358bd3eb6d48699a9 gencode/docs/schema_doc.min.js
7ed934930aee763e0beebc349725ba3909115e8d346bb762f28bcbe745bb163a gencode/docs/schema_extras.js
bbe055a43bea21f55730f5b23b95fa634d31a806a53d3506735f44c43cd03462 gencode/docs/state.html
803eb830c325e0b75f90192d1a4bf46808e8a84198d707ae8950cd519693afb9 gencode/docs/state_mapping.html
4e3d45425d94a2ca826fea24ded247dc812264e580087f6c69d860cf5c79688d gencode/docs/state.html
b2398e7f9e352c47867e38f97168f3eb88e23280c7dd576f13e038c8c3f714c9 gencode/docs/state_mapping.html
567b27a9257816eb9a9063ce089fe0f58c5962f10ea449bb7c653bd6151365a8 gencode/docs/state_udmi.html
fd65f4f64ed324847dbcf90a5c2e215f52f367284f90914f2eba3bc9348dcfea gencode/docs/state_validation.html
c47793798acffff5a0db724674bb21c1d5780789c63379b57be698aafd12b477 gencode/docs/state_validation.html
d39d7fe37a41c74a40080af7b0a429d201ab1fdff7444428c4b98eb7b38c332b gencode/java/udmi/schema/Asset.java
b405ce628f7819b46b19950aeaba89ee938fea54261000616bc534b9f81bd59c gencode/java/udmi/schema/Auth_provider.java
0825a5cec83003bb0a6488c4ed7010a04ae0d3848ef36fe01bb4e6718ba7b96d gencode/java/udmi/schema/Aux.java
Expand All @@ -37,9 +37,9 @@ fcbed49f1af8b791d8c52bcbe18f65521a79d9ac3eb33ec3afd9b342ab2bfc56 gencode/java/u
2e7c0912c6f43b8dae9e9149b7361d3640bde4f01de6e13d8e487fe01be2c2c0 gencode/java/udmi/schema/Bucket.java
0a4f6bcd5065418c1cdc6c05b900b3de31744847d25b6ab6de7aabb1e724710e gencode/java/udmi/schema/BuildingTranslation.java
c47b17d70ed7fffae5cb829623088358eca22c8fa5613edd97518bed0b522620 gencode/java/udmi/schema/CapabilityValidationState.java
24e03efa125f374a785dc90132adec6b4e91abf0bf8cb1f9b4b7de80b27f3d09 gencode/java/udmi/schema/Category.java
ec164962f2f00924ecb41ae07c2e01d6bf027951ccc605e0210988370b987973 gencode/java/udmi/schema/Category.java
f6a557eb73dfa077d7c5daf897bde345c7403232808608c39e24a0cbee2755c9 gencode/java/udmi/schema/CloudModel.java
aa3fc1777951cb1e1e2a68e4c31a9bdeeacc339cb191c347d88534b185fb04a4 gencode/java/udmi/schema/Config.java
377eb78de936317676faaf7ec5a32ad17f2c2c54a3280df87f5fcc2d36c7014d gencode/java/udmi/schema/Config.java
cf9762392e02b5d04c6498963222cc0c00f7be6c3cd82bde3d063a5eceba2b65 gencode/java/udmi/schema/Connections.java
8164e93ccc76d78548d456890e064df8427a09bbcd50686b37a10d3ff5ad429f gencode/java/udmi/schema/Credential.java
10d67bf2080403fd196f63097e4ce2151edaafe3cf4ac77598ef83e06f94cb05 gencode/java/udmi/schema/DeviceMappingConfig.java
Expand All @@ -61,17 +61,17 @@ e9f5c77be81486b6b8c6d88f70f2d50583d8c3fafa2ac09ead80f44b8d5e751e gencode/java/u
9643391d71c6bd206a4ec69ee7b46ba2bf061b85ccd0bc050046a84df85c8414 gencode/java/udmi/schema/FamilyDiscoveryEvent.java
5ad9bf328fa1500250ff8bc75f2044b3815c5c11cb368e1cc228ac8ca16639c2 gencode/java/udmi/schema/FamilyDiscoveryState.java
9959a84eea3e549c142c3edf637c86eb56eca138108ebd51fc2985e45aa41484 gencode/java/udmi/schema/FamilyDiscoveryTestingModel.java
6c4d5e6a713c9df0d46afac2a3967eee2f087821604f3d9d6a2ff51696486f3f gencode/java/udmi/schema/FamilyLocalnetModel.java
09be38b6d52ea4150fecc3e97adc6793030fcf71da01df12ccb05dc4dd3dad9d gencode/java/udmi/schema/FamilyLocalnetModel.java
a7ad0cf79a86a92c8d22b5ac3e609f321454ba4834065e24de208b1f6ebba447 gencode/java/udmi/schema/FamilyLocalnetState.java
d33fe8178d2a18cb588dd29edb0e5659af044634b02d7850623cbc057ccb8c6f gencode/java/udmi/schema/FeatureEnumeration.java
d3fdb2d8b485c1e61786dfde45cc8be08294339bb31a1b8f02180485789a3ab2 gencode/java/udmi/schema/FeatureValidationState.java
60a8115ae1acae7c199b63180823198d38ec50d57b48dd85aca1ccc865058f85 gencode/java/udmi/schema/GatewayConfig.java
56b46f4914ef1f4baa59bf597186ff7901b7c8b607720ec798f4e4e6ad59aa08 gencode/java/udmi/schema/GatewayModel.java
9d606a8e0a3787fc79c3c89db5a0a3aaa58cf88972ecff7e4052e2ce0f78d3de gencode/java/udmi/schema/GatewayState.java
a4fac9e07e930eec7735f67d78eab1e72881987ecc0475c41ce46ae5a9bc5ea7 gencode/java/udmi/schema/GatewayConfig.java
ce79df57185ee108f6a60efb49c2ea80f249e678d3ccd4d91e702b653571c21b gencode/java/udmi/schema/GatewayModel.java
3ac2583e350075d5a07431c4208b87c9f02a5d1e3c651e3a67cf78f5c680ac52 gencode/java/udmi/schema/GatewayState.java
979a2e7abe2eceb74d0f5180e345ce539ccf475efaad793d0993a514abbbe982 gencode/java/udmi/schema/IotAccess.java
b0d4bff14a65ebddc2dd253c996708a4cce99592e82978f057f32a6d9c7768a1 gencode/java/udmi/schema/Jwt.java
a5e5adfc187709e8646a11c92e804acfb67743f9d72149008aaca954df3177f6 gencode/java/udmi/schema/Level.java
07fd4911363437b274c19b024759b04b116152176702da8d4203c4ff4cb55b7f gencode/java/udmi/schema/LocalnetConfig.java
06ed183b1a25179efbb9fdc3f077a09f5c84bf689b973cb027f892f90729cddd gencode/java/udmi/schema/LocalnetConfig.java
910c68183db7703b00bcb81146ad73e6fe0d4bbc4caec4dc9c621f3cc2e5eee5 gencode/java/udmi/schema/LocalnetModel.java
f6dd2fff0e100160f84a5d62c137c618ed616c82f8722a0530f5393bfc82e281 gencode/java/udmi/schema/LocalnetState.java
2df4ae32d0bbecc21f7c3f6a416a195baa766a6210cfa8abca4a7bb45b9c7961 gencode/java/udmi/schema/Location.java
Expand All @@ -84,7 +84,7 @@ f6dd2fff0e100160f84a5d62c137c618ed616c82f8722a0530f5393bfc82e281 gencode/java/u
df64e4ddbf543ac70e7c2af9d3fbc20ffe3dff68c6718aa9ceadab7f64d3d171 gencode/java/udmi/schema/Metrics.java
14722df90406cdcd29c7c946e5fcdf6a3e513eb879a7fbb493801fc0d9093504 gencode/java/udmi/schema/Monitoring.java
b3b7ef6cae004d5fdb4052f860df0aa583df87bb798a027fc769aeaf16489789 gencode/java/udmi/schema/MonitoringMetric.java
3896bacd5b35b37f88bea402947aae7f2f7bab6e63bc30517381158ba0826602 gencode/java/udmi/schema/Operation.java
4e7fb33911cf11845d494a07502577647cb96e1196cb7b76553190d14b6ed099 gencode/java/udmi/schema/Operation.java
5e1c5411fae4d7c47391ceb5d19ae864fcd484df75ac6b6db39fd2d12647dec8 gencode/java/udmi/schema/Physical_tag.java
3e331b3817cc87f2fe087aae3a1e599819ceda1ca086094d7f400f5f1c3bdbb9 gencode/java/udmi/schema/PodConfiguration.java
d808259db6bbcd26ecf438844ce286d15d4750906be24588d97acfbe8a4ae315 gencode/java/udmi/schema/PointEnumerationEvent.java
Expand All @@ -100,7 +100,7 @@ a77b840d671100245c7b68ef8b0130d1ea6375c6ed8a2e145b4208b5962bbc66 gencode/java/u
ca2e7566106818ca7e5190c8041eb86f0c9b3251b0bda8c3ea7ce11a0c891a0a gencode/java/udmi/schema/Position.java
3df66bb1a37a9e0b2b6cf392f8c64d404a73c83e5e13c02bb4844f09b9a04b70 gencode/java/udmi/schema/Properties.java
d5e11dc354995681b894bcb62e4e21da7f0be68aaa3643a3dc5aa13610741f29 gencode/java/udmi/schema/PubberConfiguration.java
3bff2c98c8d41816b44c7623d542428a6378d3c7a4f9440ae35b395fb1f1e386 gencode/java/udmi/schema/PubberOptions.java
8e0490eed4499749b422ffde98a9588a597e8860b74dedae979abdb22f94c38a gencode/java/udmi/schema/PubberOptions.java
703ed0cecb60f284b52e76dc4d612eb798ba3e8781cc40698a46611b36e6b0c9 gencode/java/udmi/schema/SchemaValidationState.java
dc7c549b3358f9b2ceccc8633af3d0fca7eed7c05c94c3396815363b889b4c16 gencode/java/udmi/schema/SequenceValidationState.java
9da49b22341a65580d085fd9d00eaadcaefcf7b813988ef844c617aa4b8a9a4f gencode/java/udmi/schema/SetupUdmiConfig.java
Expand Down Expand Up @@ -136,8 +136,8 @@ dab4f5fca272ec48c2881bca2b6bc43786ada47fa1f6dd935c35f7ce0eb6b0f6 gencode/python
59039eaf2812392329c641ad387f7e27790cf804fc94a014626d2da5ab426e3d gencode/python/udmi/schema/config_blobset_blob.py
7a6411ba2646881ffad5b6ad472c980e48a11b36ab2c9c77d12608ccc7225594 gencode/python/udmi/schema/config_discovery.py
a5edb9ac5ecd5a4459f93ce613691735f299f35718f2e35410206fc91c263dd1 gencode/python/udmi/schema/config_discovery_family.py
b461bdc24310ef972faf579b5be577b5af67fb0977d6afb4c42955211b26e3d5 gencode/python/udmi/schema/config_gateway.py
297c1650d469d2e55fb2358d094dba5430accab2b5fd7b2b6598d7dafb3bd350 gencode/python/udmi/schema/config_localnet.py
428c11f554390cf6f564a8195607458dec4fb9349b82259a4ca333d9a9b7aa7e gencode/python/udmi/schema/config_gateway.py
8b321b699019dda888783b87655546d6624814fd156c54ed572c0467b5547fca gencode/python/udmi/schema/config_localnet.py
ac3facbd96f7cb2f7e387e7497d6a36af379a2687329571f250c5670f9933244 gencode/python/udmi/schema/config_mapping.py
52bce04ef0d73ac1c543dfa676cc9d1d0b5ac8f2ba6dac84b5a26f927a6c2479 gencode/python/udmi/schema/config_mapping_device.py
9eab64849e04b25203d5da47856c3f8dda2b96903e4dc43ab932ee35014700bd gencode/python/udmi/schema/config_pointset.py
Expand Down Expand Up @@ -172,9 +172,9 @@ dd30f748b5321223933c272d58f5fa6dc319912737255170322f0df3244732a7 gencode/python
805cc8dcb29732d1965bbd533b12d2bc4966d584f05b8a478dd2cac98fd99d52 gencode/python/udmi/schema/model_discovery.py
44d057dffcac3a994e7b894f8e1ebb643ba49d7dbfbb0bfea9cc04f97af0bc47 gencode/python/udmi/schema/model_discovery_family.py
bef91798566798ec70b2fe10ae52c909090de9095b92e2567da3cbdcec29cd2c gencode/python/udmi/schema/model_features.py
9416018a6d01094ab7af77c35ae4e5e2271a5d52c3bd3e381a541650415048b2 gencode/python/udmi/schema/model_gateway.py
72d17ba53c9d537720bb0ddf24d615b838fc2b9bb2a5c288742a8d82c77bd85d gencode/python/udmi/schema/model_gateway.py
ae6a7bc93b520cdc90cd158f876a58e98a3e000402ebb1ca632f01ee492d408a gencode/python/udmi/schema/model_localnet.py
15437819e992231f9c1be86f7d9c74f2ea73efe0101fda65c0bbaaeb78e6bf93 gencode/python/udmi/schema/model_localnet_family.py
083afb4579592a702876e579bdc3986d85b803f6e0b3da70729ef928502ccad8 gencode/python/udmi/schema/model_localnet_family.py
cd4be21b66fb3e28dff96cfd39a878791ae8543f2fe67269b66c2c360d3f2513 gencode/python/udmi/schema/model_pointset.py
1ad65c005d865b9259bfa239b2dc4cd1cde13d312ecbc7843bb61cc31d6cabde gencode/python/udmi/schema/model_pointset_point.py
bc5efd660f5ebc8cf27be9f14540fd41d35e09e582307a147eef04c2a42f1bdd gencode/python/udmi/schema/model_system.py
Expand All @@ -183,15 +183,15 @@ b48ae013d203eb31cc388a084c0cc6f93d4d5534336d4da2ecbccd84a085ea2b gencode/python
5c50847e136a033ea511209238bb570499b43fbee6189dae06603132dcb9f01f gencode/python/udmi/schema/model_testing_target.py
7c9a755ae06c44fc2b8117d7918b6401ce08a7218b86033fb3320eda7286e581 gencode/python/udmi/schema/monitoring.py
3a3873c7db8d5fa13b43629031d36417a4ec4838d612a7b8c2fce7c22fdee009 gencode/python/udmi/schema/monitoring_metric.py
743395d4b764d4fd2614aef85cab680498e5f2560767bc24f424d6594f14d75c gencode/python/udmi/schema/options_pubber.py
26da2bca967fc7d5179e41e07cfa5da8b1019dd28bf55b68d89193b831b064cd gencode/python/udmi/schema/options_pubber.py
6c5f3dd1c5ca9d821e3c48298af118fc7eafd97af9265dfd34b2ed8642efca77 gencode/python/udmi/schema/persistent_device.py
a58f8c98e837a5b56126ca0f410e02f1e9cfcd80a8cb429e0ef522defab1f690 gencode/python/udmi/schema/properties.py
e604cf0280fe772de5f4e5ecf10dc6c564b6177eeff9cd9fb8b385af8fe10a95 gencode/python/udmi/schema/state.py
4a908cee3fb8afb559bcbfa594e57dbc515a35e4468e02600751b2fcce05a238 gencode/python/udmi/schema/state_blobset.py
182e07b534403dcc121d980672e41b0fa2ee55c4da1f5c56f0dad5d599450c80 gencode/python/udmi/schema/state_blobset_blob.py
8c6fc5fd63ab50768cb3662228ed893eb8b9d563cd062efaed12f5079a652d0c gencode/python/udmi/schema/state_discovery.py
624af8bc5b9db460daf9458e141ebc0e29e24d698ebadd6022596d655098e771 gencode/python/udmi/schema/state_discovery_family.py
ea5b58d09ab48315a2c589dcc5b15ab9517c718dad1b8a5f5db6cd5172d1c4b1 gencode/python/udmi/schema/state_gateway.py
b492296db941daf0c104e53fe5bc0030b89a1f1167db2601f5c6a2f0075aa6cf gencode/python/udmi/schema/state_gateway.py
09ef5dc99116cf84b987a3cb014bdeb74577ccc04a4fc6b4278c8cfab9b180f4 gencode/python/udmi/schema/state_localnet.py
041415747e97a3bdcf8a0974fe280e4f1852c0837e981e1006f01b4bdf2ba0ab gencode/python/udmi/schema/state_localnet_family.py
cb6a5558fe87dea5bce9e1cc6b22984a7d8c379babc4941c50df13edad36579a gencode/python/udmi/schema/state_mapping.py
Expand Down
32 changes: 16 additions & 16 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Checkout source
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: start and test local servers
run: |
bin/setup_base
Expand All @@ -43,7 +43,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 1
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Check Spelling
uses: rojopolis/[email protected]
with:
Expand All @@ -55,8 +55,8 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.9.0
- name: Install Angular CLI
Expand All @@ -82,11 +82,11 @@ jobs:
IMAGE_NAME: ${{ github.repository }}
GITHUB_REF: ${{ github.ref }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
Expand All @@ -96,7 +96,7 @@ jobs:
[[ -n $TARGET_PROJECT ]]
- name: Log in to the github registry
if: ${{ github.event_name == 'push' }}
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ${{ env.PUSH_REGISTRY }}
username: ${{ github.actor }}
Expand All @@ -113,7 +113,7 @@ jobs:
echo Pushing built container as $PUSH_TAG | tee -a $GITHUB_STEP_SUMMARY
- name: Build and push docker image
if: ${{ github.event_name == 'push' }}
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
file: udmis/Dockerfile.udmis
context: udmis
Expand Down Expand Up @@ -142,8 +142,8 @@ jobs:
MATRIX_SHARD_COUNT: 10
MATRIX_SHARD_INDEX: ${{ matrix.shard }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
Expand Down Expand Up @@ -194,8 +194,8 @@ jobs:
TARGET_PROJECT: ${{ vars.TARGET_PROJECT }}
UDMI_ALT_REGISTRY: ZZ-REDIRECT-NA
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
Expand Down Expand Up @@ -239,8 +239,8 @@ jobs:
UDMI_ALT_REGISTRY: ZZ-REDIRECT-NA
MQTT_PROXY_HOST: ${{ vars.MQTT_PROXY_HOST }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
Expand Down Expand Up @@ -274,7 +274,7 @@ jobs:
TARGET_PROJECT: ${{ vars.TARGET_PROJECT }}
UDMI_ALT_REGISTRY: ZZ-REDIRECT-NA
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.10'
Expand Down
1 change: 1 addition & 0 deletions .wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ UI
unconfigured
underspecified
uniqs
unprocessable
unwriteable
uplink
url
Expand Down
12 changes: 10 additions & 2 deletions bin/sequencer
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ OUT_DIR=$UDMI_ROOT/out
mkdir -p $OUT_DIR
echo $(date --utc +%Y%m%d-%H%M%S) $0 $@ >> $OUT_DIR/cmd_history.log

JARFILE=validator/build/libs/validator-1.0-SNAPSHOT-all.jar
JAVA_CMD="java -cp $JARFILE com.google.daq.mqtt.sequencer.SequenceRunner"
SEQUENCER_LOG=$OUT_DIR/sequencer.log
SEQUENCER_OUT=$OUT_DIR/sequencer.out
SCHEMA_OUT=$OUT_DIR/schema.out
Expand All @@ -24,6 +26,14 @@ export LC_ALL=C

rm -f $SEQUENCER_LOG $SEQUENCER_OUT $SCHEMA_OUT

# Shortcut to run sequencer with a fixed config and cmd-line tests.
# TODO: Make this a better (more standard) command line format in-line with other tools.
if [[ $1 == -- ]]; then
shift
$JAVA_CMD $@
exit 0
fi

while [[ $1 =~ ^- ]]; do
if [[ $1 == '-a' ]]; then
min_stage=ALPHA
Expand Down Expand Up @@ -158,8 +168,6 @@ cat $SEQUENCER_CONFIG

validator/bin/build

JARFILE=validator/build/libs/validator-1.0-SNAPSHOT-all.jar
JAVA_CMD="java -cp $JARFILE com.google.daq.mqtt.sequencer.SequenceRunner"
echo $JAVA_CMD $test_names
result=0
$JAVA_CMD $test_names 2>&1 | tee $SEQUENCER_LOG
Expand Down
12 changes: 10 additions & 2 deletions bin/sequencer_report
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,19 @@ class Sequence:
self.act_path = os.path.join(results_dir, test.name, Sequence.FILE_NAME)
self.ref_path = os.path.join(reference_dir, test.name, Sequence.FILE_NAME)

if not os.path.isfile(self.act_path):
print(f"Missing input file: {self.act_path}")
sys.exit(1)

with open(self.act_path, encoding="utf-8") as f:
self.act_text = f.read()

with open(self.ref_path, encoding="utf-8") as f:
self.ref_text = f.read()
if not os.path.isfile(self.ref_path):
print(f"Missing reference file: {self.ref_path}")
self.ref_text = "1. Missing input file"
else:
with open(self.ref_path, encoding="utf-8") as f:
self.ref_text = f.read()

self.act = Sequence.post_process_actual_results(
Sequence.get_steps(self.act_text)
Expand Down
Loading

0 comments on commit c020085

Please sign in to comment.