New Charm: IBM IB
Bug #1452242 reported by
vsr
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juju Charms Collection |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hi!
Here is a new charm for IBM Integration Bus (IB) for review.
To test this charm, a license to IBM IB is required.
You need to get an IBM IB license for at least IB 10.0.0.0 (for x86_64)
Repo: https:/
Thanks
Related branches
lp:~ibmcharmers/charms/trusty/ibm-ib/trunk
- Review Queue (community): Needs Fixing (automated testing)
- charmers: Pending requested
-
Diff: 11 lines (+1/-0)1 file modifiedmetadata.yaml (+1/-0)
Changed in charms: | |
status: | Fix Committed → In Progress |
Changed in charms: | |
status: | In Progress → Fix Committed |
Changed in charms: | |
status: | Fix Committed → In Progress |
Changed in charms: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
# Charm ibm-ib review
Hello vsr and thank you for the submission of this new Integration Bus charm! I am very concerned about the extra steps (downloading the binary) creating a burden on the Juju user that other charms do not. Please consider adding an automatic way to get the trial version software and the trial version license to the charm if possible.
Here is my review:
## charm proof
$ charm proof
I: all charms should provide at least one thing
I: missing recommended hook start
I: missing recommended hook stop
The charm proof tool reports no errors! That is great and reveals a valid charm. Since this software deals with integration I would expect it to provide relations for other charms to consume. The README states that this server must be installed on the same system as IBM MQ, and I see the relation there. Reading the [IBM Knowledge Center](http:// www-01. ibm.com/ support/ knowledgecenter /SSMKHH_ 10.0.0/ com.ibm. etools. mft.doc/ bb43020_ .htm) tells me this charm supports HTTP, and HTTPS, along with web service protocols. To me that means this charm should also expose the website relation on the “http” interface. Is my assumption invalid here? What other charms can be linked with this charm? How can it be used?
The README instructs the user to download the software and host it on a webserver like apache. This is a big gap in the instructions and a regular Juju user may not know how to host the file. Is the software available to be downloaded automatically? The charm should give more instructions to the user on how to host the file if the software is not available for automatic download.
## config.yaml
There was a misspelling of incorrectly in this file. Since all the variables are tied to this charm, the “ib_” prefix is unnecessary.
## copyright
This looks like a valid Apache 2.0 license. That works for us. Consider adding another license file for the IB software in this directory as well so the user does not have to use the web to find it.
## icon.svg
The icon looks great and is within the parameters.
## revision
This file is no longer used (deprecated) and can safely be deleted.
## install /jujucharms. com/docs/ devel/authors- charm-policy) that all downloaded software must be cryptographically verified. The install hook does not do this. There are a few ways to fix this problem:
It is [charm store policy](https:/
It is always best to include the software in the charm directories. This option is much preferred because files included in the charm directories do not have to be verified. However since the software file is 1.2GB that creates a problem of upload to the cloud. I would really like to see if we can find a way to download the software automatically when deploying the charm.
Is it possible to generate some code that would download the code from the IBM site directly so the user does not have to set up their own HTTP server? Could you do something like this?
The second way is to add a configuration option for the cryptographic sum. The user would then have to set both the URL and the hash sum for the software to install. There are examples of this in other charms as well. Please con...