Comments (4)
Sure, will be there by Monday EOB ;-)
from tng-sdk-package.
Here is the example (the UUID was returned when the package file was posted):
curl -X GET http://127.0.0.1:5099/api/v1/packages/status/05153ab3-b929-4649-b78e-deb7cf18f198
Returns:
{
"package_process_uuid": "05153ab3-b929-4649-b78e-deb7cf18f198",
"status": "success",
"error_msg": null
}
Is this what you need?
from tng-sdk-package.
:-) lovely!
Many thanks
from tng-sdk-package.
Also added an endpoint to return the full list of known precesses (for convenience):
curl -X GET http://127.0.0.1:5099/api/v1/packages/status
{
"package_processes": [
{
"package_process_uuid": "fb78914d-050e-4b16-a4d2-0ccfa085b24f",
"status": "failed",
"error_msg": "tng-cat-be: could not upload package descriptor: (409) Duplicate with Package ID => 07616cf3-d79a-476c-bfb4-8b01819d0b6e"
}
]
}
I add the example to the readme and close the issue.
from tng-sdk-package.
Related Issues (20)
- Check existence of files and package descriptors before pushing to tng-cat HOT 2
- Integrate with 5GTANGO SDK GUI
- Add --quiet flag
- Support package signing
- Align with ETSI SOL007 NS package format
- Package signing
- 5GTANGO logging standard HOT 1
- Align with ETSI SOL004: YANG-based VNFD and YANG-based TOSCA entry def. file
- Increase auto-validation level to -i (integrity) when validator supports CNFs
- Include git commit hash into version (or a new extra) field
- Multi-user support
- tng-cat: Add platform field for descriptor uploads
- Increase the timer of the package test HOT 1
- Have a CLI argument to pass the validation level to the validator HOT 2
- Support testing_tags in project.yml and NAPDR
- Support triple ID of OSM descriptors in tng-cat storage backend
- Pre-download the tng-schemas to the tng-sdk-package container
- Testing tags do not show up in catalogue HOT 2
- Tags for OSM package file destination control
- Automated compression of arbitrary subfolders
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tng-sdk-package.