Flamapy REST 2.9.0 publishes software feature model analysis and planning APIs
The distribution from the University of Seville-linked Flamapy project exposes selected model operations and backend plans through separate HTTP routes.
A REST interface for feature models
Flamapy REST 2.9.0 reached PyPI at 01:56:51 on November 29 in Istanbul. Open Source Insights separately records the release. The package lists a University of Seville contact. Its wheel includes operation routes, configuration and process execution modules. A feature model defines the combinations available in a family of products. An HTTP interface can expose an operation against that model to another application. The release is a distribution of software and does not describe a particular business deployment.
Model rules behind a product choice
An offline queue might require device storage in a small field recording product. Two report formats could be mutually exclusive. Representing those constraints in a model lets a product check the selected combination separately from displaying the choices. Keep the input model version and requested operation with the result. This history makes it easier to investigate whether a later result reflects different rules or a change in the analysis environment. The package provides routes for selected operations against such models.
Planning and execution give different evidence
The wheel defines a plan route for applicable operations. The plan can indicate which backend an automatic selection would choose for the supplied model. A successful plan does not give the completed result of the model operation itself. A client can record the plan and separately request the actual operation. This helps in comparing results when different backends are used. The planning routes apply to selected operations, so an integration should check which operation and input its call expects.
Treat a timeout as an execution result
The packaged runner includes code to enforce a time budget in a child process. A timed-out analysis does not tell a caller whether a feature combination satisfies the model. Test a small valid example, invalid input and a controlled timeout separately. Keep the operation name, source model and time budget with the outcome. These distinctions help a team see whether a result calls for fixing the model or investigating the analysis environment. No REST service was launched to examine the wheel.
Preserve the dependency version with the model
The wheel metadata requires a compatible Flamapy 2.9 series dependency. Record both package versions, the model and the selected operation when trying to reproduce an earlier result. Some provenance information can be included in response headers. A client can verify which fields it expects and how to interpret an absent header. The accompanying archive image shows the University of Seville’s computer engineering school and does not depict a particular installation. The route definitions also distinguish rate limits for selected operations. An integration test can check that a rate limit and an execution timeout map to different outcomes in the client.
Photo · Ana Rey / Wikimedia Commons. Resized and converted to WebP. ↗ · CC BY-SA 2.0
Sources and verification
- Primary sourceFlamapy / PyPI ↗
- Reporting / cross-checkOpen Source Insights ↗
Reader discussion
Which alternative architecture would you try for the same problem?
No comments yet. Be the first to contribute.
Write a comment