[BUG] Properties are randomly overwritten/empty when moving between environments.
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
Research direction
Start with the publish step, comparing the behavior of "publish-artifacts-in-last-commit" and "Publish-All-Artifact-in-repo" across the Test and PreProd APIM instances. Trace how the repo values for Description and Web Service Url are handled during publishing; done means those values remain unchanged in every target environment. Reproduction is currently described as random and difficult.
Written by the indexing model from the issue text.
Description
Release version
APIOps v6 (v6.0.1 and v6.0.1.1)
Describe the bug
The "Description" and "Web Service Url" properties of APIs are sometimes incorrectly overwritten/empty when moving between environments.
The environment I tested in consists of 3 APIM instances, Test, PreProd and Prod. What may differ a little from the standard config is that the 3 APIM instances are each in their own subscription.
Since all other properties seem to work, I don't think that should be the cause.
The API's is imported WSDL services with no problem and have all properties correct in APIM test-Environment after the import.
When moving APIs (about 60 pcs) from Test to PreProd, sometimes the properties is overwritten with incorrect values for some APIs. It can be overwritten in both Test and PreProd.
There may be different APIs that are overwritten at different times.
Property "Description" becomes empty, Property "Web Service Url" gets the value for APIM (base url).
This seems to happen a bit randomly, sometimes it works sometimes it doesn't.
Never seen the problem with other properties.
It seems to appear at the Publish step and that it write wrong values to APIM Test or/and APIM Preprod.
I normally use "publish-artifacts-in-last-commit", but I see that it also could appear when using "Publish-All-Artifact-in-repo".
Also tested version 5 of APIOps but there I don't experience the same problem.
Expected behavior
That the properties are the same as those in the repo and are not overwritten.
Actual behavior
See description
Reproduction Steps
See description. Hard to make a reproduction step. Properties are overwritten randomly at the publish step (I guess)
- Dominant language
- C#
- Stars
- 448
- Forks
- 247
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Azure/apiops
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 70/100
-
Difficulty 4/5 3-5 days Newbie friendliness 55/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
nightscout/nocturne#1425 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Documentation
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
cake-build/cake#5024 ·
-
Frontend status/draft TechnicalDebt
Difficulty 2/5 1-2 days Newbie friendliness 75/100
Altinn/altinn-auth#4143 ·