sonata-nfv / son-tests

SONATA's Service Platform Tests for Integration and Qualification environments
http://www.sonata-nfv.eu/
Apache License 2.0
0 stars 11 forks source link

Package format #92

Closed jbonnet closed 8 years ago

jbonnet commented 8 years ago

The project-Y has the following content:

project-Y1
├── dependencies
├── deployment
├── project.yml
└── sources
    ├── nsd
    │   └── sonata-demo.yml
    ├── pattern
    │   └── sample
    │       └── patterm.yml
    ├── ssm
    │   └── sample
    │       └── ssm.yml
    └── vnf
        ├── firewall
        │   └── firewall-vnfd.yml
        ├── iperf
        │   └── iperf-vnfd.yml
        └── tcpdump
            └── tcpdump-vnfd.yml

Shouldn't it have the following?

├── META-INF
│   └── MANIFEST.MF
├── README.md
├── docker_files
│   ├── firewall
│   │   └── Dockerfile
│   ├── iperf
│   │   └── Dockerfile
│   └── tcpdump
│       └── Dockerfile
├── function_descriptors
│   ├── firewall-vnfd.yml
│   ├── iperf-vnfd.yml
│   └── tcpdump-vnfd.yml
└── service_descriptors
    └── sonata-demo.yml

And have the .son extension, instead of .zip?

lconceicao commented 8 years ago

The package that is being pushed to the GK is in the correct format (second part of the comment) and with the correct extension (.son).

I imagine that the format from the first part of the comment was retrieved from the location int-sdk/tests/resources/project-Y1-*.zip, but this has nothing to do with the package that is sent to the gatekeeper. This is just the son-cli workspace project structure before being packaged. The packaging will result in a file with format and extension.

Could you please check the file that the GK is receiving?

jbonnet commented 8 years ago

Ok, there was a failure in communication. I'm already testing the correct file, and I cloud reproduce the error. I've opened [sonata-nfv/son-gkeeper#219] to cover it.