Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

list devfile components catalog in json format #3264

Conversation

yangcao77
Copy link
Contributor

@yangcao77 yangcao77 commented May 28, 2020

Signed-off-by: Stephanie [email protected]

What type of PR is this?

Uncomment only one /kind line, and delete the rest.
For example, > /kind bug would simply become: /kind bug

/kind bug
/area devfile

What does does this PR do / why we need it:

This PR fixes the bug that run catalog list component in json format does not print devfile catalog components.

Which issue(s) this PR fixes:

Fixes #3247

How to test changes / Special notes to the reviewer:
create a devfile component and run odo catalog list component -o json

{
    "kind": "List",
    "apiVersion": "odo.dev/v1alpha1",
    "metadata": {
        "creationTimestamp": null
    },
    "s2iItems": [
        {
            "kind": "ComponentType",
            "apiVersion": "odo.dev/v1alpha1",
            "metadata": {
                "name": "dotnet",
                "namespace": "openshift",
                "creationTimestamp": null
            },
            "spec": {
                "allTags": [
                    "2.0",
                    "latest"
                ],
                "nonHiddenTags": [
                    "2.0",
                    "latest"
                ],
                "supportedTags": []
            }
        },
    ]
    "devfileItems": [
        {
            "Name": "openLiberty",
            "DisplayName": "Open Liberty",
            "Description": "Open Liberty microservice in Java",
            "Link": "/devfiles/openLiberty/devfile.yaml",
            "Support": true,
            "Registry": {
                "Name": "DefaultDevfileRegistry",
                "URL": "https://raw.githubusercontent.com/elsony/devfile-registry/master"
            }
        },
    ]
}

(Just to show the format, not the actual result. The actual result contains more items. )

@openshift-ci-robot openshift-ci-robot added kind/bug Categorizes issue or PR as related to a bug. area/devfile-spec Issues or PRs related to the Devfile specification and how odo handles and interprets it. labels May 28, 2020
@dharmit
Copy link
Member

dharmit commented May 29, 2020

@yangcao77 the PR is doing what's mentioned in the "How to test changes" section. However, IMO, printing the list of registries should be avoided in the output of odo catalog list components -o json. It's more appropriate for odo registry list -o json, no?

Besides that, if we look at the output of the command for s2i based components, it is:

{
    "kind": "List",
    "apiVersion": "odo.dev/v1alpha1",
    "metadata": {
        "creationTimestamp": null
    },
    "items": [
        {
            "kind": "ComponentType",
            "apiVersion": "odo.dev/v1alpha1",
            "metadata": {
                "name": "dotnet",
                "namespace": "openshift",
                "creationTimestamp": null
            },
            "spec": {
                "allTags": [
                    "2.1",
                    "3.0",
                    "3.1",
                    "latest"
                ],
                "nonHiddenTags": [
                    "2.1",
                    "3.0",
                    "3.1",
                    "latest"
                ],
                "supportedTags": []
            }
        },
    ]                                                                                                                                                                                         
}

I'm thinking from the plugin developer point of view. Should we try to adhere to the output format above? Specifically the part:

 "kind": "List",
    "apiVersion": "odo.dev/v1alpha1",
    "metadata": {
        "creationTimestamp": null
    },
    "items": [
     devfile components' json here.
    ]

IMO, this will be a breaking change for them otherwise. @kadel @elsony WDYT?

@yangcao77
Copy link
Contributor Author

There are two lists defined: catalogList and catalogDevfileList, for odo component and devfile registry respectively. And the item types are different as well.
Ping @GeekArthur since he implemented it.
Any reason we did not combined catalogList and catalogDevfileList? (i.e. componentTypeandDevfileComponentType`)

@GeekArthur
Copy link
Contributor

Any reason we did not combined catalogList and catalogDevfileList? (i.e. componentType and DevfileComponentType`)

componentType and DevfileComponentType are totally different structs and they have totally different fields inside, that's why we can't combine.

However, IMO, printing the list of registries should be avoided in the output of odo catalog list components -o json. It's more appropriate for odo registry list -o json, no?

List registry information for each DEVFILE component is necessary because we already have dynamic registry support and we might hit the case where same component name exist in different registry. In order to resolve the naming conflict issue, we need to record which component belongs to which registry. Same for odo create, we use --registry to specify the registry when creating component.

That being said, I find this PR directly calls machineoutput.OutputSuccess(o.catalogDevfileList) to output the json format, instead of doing that I think we should:

  1. Have a design of expected json output content/format to ensure the upstream project such as IDE plugin can consume the json output like @dharmit points out so that avoid breaking change.
  2. Modify the existing json converter/code base according to the design.

@yangcao77
Copy link
Contributor Author

yangcao77 commented Jun 2, 2020

@dharmit
Discussed with @elsony @GeekArthur , running odo catalog list components is also separating out the output into two list.

Odo OpenShift Components:
NAME        PROJECT       TAGS                                        SUPPORTED
nodejs      openshift     10,8,8-RHOAR,latest                         YES
dotnet      openshift     2.0,latest                                  NO
httpd       openshift     2.4,latest                                  NO
nginx       openshift     1.10,1.12,1.8,latest                        NO
nodejs      openshift     6                                           NO
perl        openshift     5.24,5.26,latest                            NO
php         openshift     7.0,7.1,latest                              NO
python      openshift     2.7,3.5,3.6,latest                          NO
ruby        openshift     2.3,2.4,2.5,latest                          NO
wildfly     openshift     10.0,10.1,11.0,12.0,13.0,8.1,9.0,latest     NO

Odo Devfile Components:
NAME                 DESCRIPTION                            REGISTRY                   SUPPORTED
openLiberty          Open Liberty microservice in Java      DefaultDevfileRegistry     YES
java-spring-boot     Spring Boot® using Java                DefaultDevfileRegistry     YES
quarkus              Upstream Quarkus with Java+GraalVM     DefaultDevfileRegistry     YES
nodejs               Stack with NodeJS 10                   DefaultDevfileRegistry     YES
maven                Upstream Maven and OpenJDK 11          DefaultDevfileRegistry     YES

Considering -o json is only presenting the output in json format, we should keep to use two separate lists.

In addition, when IDE plugin consumes the json output, they need to take care of devfile registries specifically anyways since the infomation need to be displayed is different from s2i components.

@dharmit
Copy link
Member

dharmit commented Jun 3, 2020

List registry information for each DEVFILE component is necessary because we already have dynamic registry support and we might hit the case where same component name exist in different registry. In order to resolve the naming conflict issue, we need to record which component belongs to which registry.

@GeekArthur I think you're referring to the registry information printed in individual components:

"Items": [
   {
       "Name": "java-gradle",
       "DisplayName": "Java Gradle",
       "Description": "Java Stack with OpenJDK 11 and Gradle 6.2.1",
       "Link": "/devfiles/java-gradle/devfile.yaml",
       "Support": false,
       "Registry": {
           "Name": "CheDevfileRegistry",
           "URL": "https://che-devfile-registry.openshift.io"
       }
   }
]

I agree that having registry information in above JSON data makes sense for exactly the reasons you mentioned. However, I'm referring to following data that's showing up in odo catalog list components -o json:

"DevfileRegistries": {
        "CheDevfileRegistry": {
            "Name": "CheDevfileRegistry",
            "URL": "https://che-devfile-registry.openshift.io"
        },
        "DefaultDevfileRegistry": {
            "Name": "DefaultDevfileRegistry",
            "URL": "https://raw.githubusercontent.com/elsony/devfile-registry/master"
        }
    }
]

IMO, above information is something that's more suited for odo registry list -o json and is a bit redundant as well since we're already printing the registry info for each component in odo catalog list components -o json. WDYT?

@dharmit
Copy link
Member

dharmit commented Jun 3, 2020

@yangcao77

There are two lists defined: catalogList and catalogDevfileList, for odo component and devfile registry respectively. And the item types are different as well.
Considering -o json is only presenting the output in json format, we should keep to use two separate lists.

@GeekArthur

I think we should:

1. Have a design of expected json output content/format to ensure the upstream project such as IDE plugin can consume the json output like @dharmit points out so that avoid breaking change.

2. Modify the existing json converter/code base according to the design.

Sorry for the communication gap from my side. I agree with having two separate lists that represent s2i & devfile components. However, I was suggesting that in the list for devfile components, we adhere to the format used in s2i components. I'll try to explain it through below codeblocks:

s2i json
{
    "kind": "List",
    "apiVersion": "odo.dev/v1alpha1",
    "metadata": {
        "creationTimestamp": null
    },
    "items": [
        {
            "kind": "ComponentType",
            "apiVersion": "odo.dev/v1alpha1",
            "metadata": {
                "name": "dotnet",
                "namespace": "openshift",
                "creationTimestamp": null
            },
            "spec": {
                "allTags": [
                    "2.1",
                    "3.0",
                    "3.1",
                    "latest"
                ],
                "nonHiddenTags": [
                    "2.1",
                    "3.0",
                    "3.1",
                    "latest"
                ],
                "supportedTags": []
            }
        },
    ]                                                                                                                                                                                         
}
Current json for devfile components (as per PR description)
{
    "DevfileRegistries": {
        "CheDevfileRegistry": {
            "Name": "CheDevfileRegistry",
            "URL": "https://che-devfile-registry.openshift.io"
        },
        "DefaultDevfileRegistry": {
            "Name": "DefaultDevfileRegistry",
            "URL": "https://raw.githubusercontent.com/elsony/devfile-registry/master"
        }
    },
    "Items": [
        {
            "Name": "java-gradle",
            "DisplayName": "Java Gradle",
            "Description": "Java Stack with OpenJDK 11 and Gradle 6.2.1",
            "Link": "/devfiles/java-gradle/devfile.yaml",
            "Support": false,
            "Registry": {
                "Name": "CheDevfileRegistry",
                "URL": "https://che-devfile-registry.openshift.io"
            }
        }
    ]
}
Changes I am proposing for devfile json output
{
    "kind": "List",
    "apiVersion": "odo.dev/v1alpha1",
    "metadata": {
        "creationTimestamp": null
    },
    "items": [
        {
            "Name": "java-gradle",
            "DisplayName": "Java Gradle",
            "Description": "Java Stack with OpenJDK 11 and Gradle 6.2.1",
            "Link": "/devfiles/java-gradle/devfile.yaml",
            "Support": false,
            "Registry": {
                "Name": "CheDevfileRegistry",
                "URL": "https://che-devfile-registry.openshift.io"
            }
        },
    ]
}
How they would look combined?
{
    "kind": "List",
    "apiVersion": "odo.dev/v1alpha1",
    "metadata": {
        "creationTimestamp": null
    },
    "items": [
        {
            "kind": "ComponentType",
            "apiVersion": "odo.dev/v1alpha1",
            "metadata": {
                "name": "dotnet",
                "namespace": "openshift",
                "creationTimestamp": null
            },
            "spec": {
                "allTags": [
                    "2.1",
                    "3.0",
                    "3.1",
                    "latest"
                ],
                "nonHiddenTags": [
                    "2.1",
                    "3.0",
                    "3.1",
                    "latest"
                ],
                "supportedTags": []
            }
        },
    ]
}
{
    "kind": "List",
    "apiVersion": "odo.dev/v1alpha1",
    "metadata": {
        "creationTimestamp": null
    },
    "items": [
           {
            "Name": "java-gradle",
            "DisplayName": "Java Gradle",
            "Description": "Java Stack with OpenJDK 11 and Gradle 6.2.1",
            "Link": "/devfiles/java-gradle/devfile.yaml",
            "Support": false,
            "Registry": {
                "Name": "CheDevfileRegistry",
                "URL": "https://che-devfile-registry.openshift.io"
            }
        }
    ]
}

This still makes me wonder if the JSON output would be usable by the IDE plugins? The reason I'm thinking that way is because we'll be returning two distinct lists here. Ideally, we could list s2i components in one list and devfile components in another, but keep them in single JSON output. Something like:

Combined lists
{
	"kind": "List",
	"apiVersion": "odo.dev/v1alpha1",
	"metadata": {
		"creationTimestamp": null
	},
	"s2iItems": [
		[{
			"kind": "ComponentType",
			"apiVersion": "odo.dev/v1alpha1",
			"metadata": {
				"name": "dotnet",
				"namespace": "openshift",
				"creationTimestamp": null
			},
			"spec": {
				"allTags": [
					"2.1",
					"3.0",
					"3.1",
					"latest"
				],
				"nonHiddenTags": [
					"2.1",
					"3.0",
					"3.1",
					"latest"
				],
				"supportedTags": []
			}
		}]
	],
	"devfileItems": [
		[{
			"Name": "java-gradle",
			"DisplayName": "Java Gradle",
			"Description": "Java Stack with OpenJDK 11 and Gradle 6.2.1",
			"Link": "/devfiles/java-gradle/devfile.yaml",
			"Support": false,
			"Registry": {
				"Name": "CheDevfileRegistry",
				"URL": "https://che-devfile-registry.openshift.io"
			}
		}]
	]
}

@yangcao77 @GeekArthur @kadel @elsony need your inputs on this because I'm not sure if I'm thinking along the right lines. To me, it looks like returning two distinct lists will accomplish odo catalog list components -o json from our side but from user (mainly plugin devs) point of view, this won't be very helpful (unless I'm fundamentally wrong about consuming json).

Correct me if I'm wrong.

@kadel
Copy link
Member

kadel commented Jun 3, 2020

Two lists are ok, but what odo prints to stdout needs to be valid output.
@dharmit your first example of the combined output is not a valid JSON, but the second one with s2iItems and devfileItems is valid this one could be used.

@dharmit
Copy link
Member

dharmit commented Jun 3, 2020

@dharmit your first example of the combined output is not a valid JSON, but the second one with s2iItems and devfileItems is valid this one could be used.

Yes, that's exactly my concern. The first output is based on what's proposed in the PR. And I wasn't 100% sure if it's really invalid. Hence the long dump that I've made above.

@GeekArthur
Copy link
Contributor

GeekArthur commented Jun 3, 2020

List registry information for each DEVFILE component is necessary because we already have dynamic registry support and we might hit the case where same component name exist in different registry. In order to resolve the naming conflict issue, we need to record which component belongs to which registry.

@GeekArthur I think you're referring to the registry information printed in individual components:

"Items": [
   {
       "Name": "java-gradle",
       "DisplayName": "Java Gradle",
       "Description": "Java Stack with OpenJDK 11 and Gradle 6.2.1",
       "Link": "/devfiles/java-gradle/devfile.yaml",
       "Support": false,
       "Registry": {
           "Name": "CheDevfileRegistry",
           "URL": "https://che-devfile-registry.openshift.io"
       }
   }
]

I agree that having registry information in above JSON data makes sense for exactly the reasons you mentioned. However, I'm referring to following data that's showing up in odo catalog list components -o json:

"DevfileRegistries": {
        "CheDevfileRegistry": {
            "Name": "CheDevfileRegistry",
            "URL": "https://che-devfile-registry.openshift.io"
        },
        "DefaultDevfileRegistry": {
            "Name": "DefaultDevfileRegistry",
            "URL": "https://raw.githubusercontent.com/elsony/devfile-registry/master"
        }
    }
]

IMO, above information is something that's more suited for odo registry list -o json and is a bit redundant as well since we're already printing the registry info for each component in odo catalog list components -o json. WDYT?

Yes, only registry information for each individual devfile component is must-have, we can filter out the global registry information in json output format. Also the combined list that your propose looks good to me, we can use that as a design format to implement.

@yangcao77
Copy link
Contributor Author

@dharmit Pushed a new commit, the output is now like what you purposed. Can you help review again? Thanks

@dharmit
Copy link
Member

dharmit commented Jun 4, 2020

@yangcao77 I think the resulting JSON is still invalid. I've pulled the change you made. In odo catalog list components -o json we're returning two distinct and valid JSON lists which when combined become invalid.

I'm not a JSON expert. I used https://jsonlint.com/ for validating.

If you look at the "Combined Lists" in my earlier comment, it's a valid JSON (I made some minor change to it right now because, well, I'm not JSON expert 😄 ). I've created two keys there - s2iItems and devfileItems - as suggestions. We can discuss if you or anyone has any other suggestions.

@yangcao77
Copy link
Contributor Author

@yangcao77 I think the resulting JSON is still invalid. I've pulled the change you made. In odo catalog list components -o json we're returning two distinct and valid JSON lists which when combined become invalid.

I'm not a JSON expert. I used https://jsonlint.com/ for validating.

If you look at the "Combined Lists" in my earlier comment, it's a valid JSON (I made some minor change to it right now because, well, I'm not JSON expert 😄 ). I've created two keys there - s2iItems and devfileItems - as suggestions. We can discuss if you or anyone has any other suggestions.

Oops. I only saw you first example, didn't notice there is a "Combined Lists" at the bottom.
By doing this, it's not two separated lists, it's a combined list from the JSON perspective.
I've pushed a new commit to make that change.

@dharmit
Copy link
Member

dharmit commented Jun 5, 2020

@yangcao77 Thank you for making the changes.

@GeekArthur @kadel @yangcao77 Thanks for bearing with me while I dump my thoughts in looooong comments. 😆

/approve

NOTE: We'll have to cover this PR in changelog for next release since it would break things for IDE plugins if Experimental mode is enabled.

@openshift-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dharmit

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. Required by Prow. label Jun 5, 2020
@yangcao77
Copy link
Contributor Author

@dharmit Can we get this approve now as we are in sprint 185? Or we need to wait till 186?

@dharmit
Copy link
Member

dharmit commented Jun 9, 2020

@dharmit Can we get this approve now as we are in sprint 185? Or we need to wait till 186?

We need someone to review the PR. Doesn't have anything to do with the sprint. What I have done is checked the functionality of the PR and we made changes to certain functionality. But someone needs to check the code and do an lgtm.

@@ -94,7 +103,16 @@ func (o *ListComponentsOptions) Run() (err error) {
supported, _ := catalog.SliceSupportedTags(image)
o.catalogList.Items[i].Spec.SupportedTags = supported
}
machineoutput.OutputSuccess(o.catalogList)
// machineoutput.OutputSuccess(o.catalogList)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can remove this temporary debug comment.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed.

@GeekArthur
Copy link
Contributor

GeekArthur commented Jun 11, 2020

Overall it looks good, add couple of comments below:

  1. We should handle the case where there is no devfile registry at least for non-experimental mode. For example, if I set Experimental to false and run odo catalog list components -o json I can see "devfileItems": null from the json output, we shouldn't display any devfile related information on non-experimental mode. I think the ideal way to fix this is that once we detect o.catalogDevfileList.Items is empty then we don't display that field to user in json format, with that fix we don't need to handle the case for non-experimental explicitly and it also benefits experimental mode because we don't display it instead of displaying "devfileItems": null
  2. Currently the PR description is This PR fixes the bug that run catalog list component in json format does not print devfile registries., this PR is for listing devfile components in json format, it's not related with devfile registries, we should update that. Also this PR is not for fixing bug, it's for adding feature. Reason to point out this is to avoiding misleading Charlie when he is working on odo feature release.

@yangcao77
Copy link
Contributor Author

yangcao77 commented Jun 11, 2020

Overall it looks good, add couple of comments below:

1. We should handle the case where there is no devfile registry at least for non-experimental mode. For example, if I set Experimental to false and run `odo catalog list components -o json` I can see `"devfileItems": null` from the json output, we shouldn't display any devfile related information on non-experimental mode. I think the ideal way to fix this is that once we detect `o.catalogDevfileList.Items` is empty then we don't display that field to user in json format, with that fix we don't need to handle the case for non-experimental explicitly and it also benefits experimental mode because we don't display it instead of displaying `"devfileItems": null`

2. Currently the PR description is `This PR fixes the bug that run catalog list component in json format does not print devfile registries.`, this PR is for listing devfile components in json format, it's not related with devfile registries, we should update that. Also this PR is not for fixing bug, it's for adding feature. Reason to point out this is to avoiding misleading Charlie when he is working on odo feature release.

Good catch. I have updated this PR to not display the s2iItems and devfileItems if the value is null by adding omitempty to the struct definition. Also modifies the integration test to test that.

I tagged the PR as a bug due to the original issue #3247 was tagged as a bug. But I totally agree that we need to bring up attention to all folks because the json output format has been changed. I will add the topic to contributor call's agenda.

Copy link
Contributor

@GeekArthur GeekArthur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. Required by Prow. label Jun 11, 2020
@GeekArthur
Copy link
Contributor

Overall it looks good, add couple of comments below:

1. We should handle the case where there is no devfile registry at least for non-experimental mode. For example, if I set Experimental to false and run `odo catalog list components -o json` I can see `"devfileItems": null` from the json output, we shouldn't display any devfile related information on non-experimental mode. I think the ideal way to fix this is that once we detect `o.catalogDevfileList.Items` is empty then we don't display that field to user in json format, with that fix we don't need to handle the case for non-experimental explicitly and it also benefits experimental mode because we don't display it instead of displaying `"devfileItems": null`

2. Currently the PR description is `This PR fixes the bug that run catalog list component in json format does not print devfile registries.`, this PR is for listing devfile components in json format, it's not related with devfile registries, we should update that. Also this PR is not for fixing bug, it's for adding feature. Reason to point out this is to avoiding misleading Charlie when he is working on odo feature release.

Good catch. I have updated this PR to not display the s2iItems and devfileItems if the value is null by adding omitempty to the struct definition. Also modifies the integration test to test that.

I tagged the PR as a bug due to the original issue #3247 was tagged as a bug. But I totally agree that we need to bring up attention to all folks because the json output format has been changed. I will add the topic to contributor call's agenda.

Thanks for making the changes, your approach is better! The PR looks good to me.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@codecov
Copy link

codecov bot commented Jun 11, 2020

Codecov Report

Merging #3264 into master will increase coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3264      +/-   ##
==========================================
+ Coverage   45.54%   45.57%   +0.02%     
==========================================
  Files         111      111              
  Lines       10972    10972              
==========================================
+ Hits         4997     5000       +3     
+ Misses       5486     5483       -3     
  Partials      489      489              
Impacted Files Coverage Δ
pkg/catalog/catalog.go 50.44% <ø> (ø)
pkg/sync/sync.go 48.51% <0.00%> (+2.97%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7da08b6...0470ac7. Read the comment docs.

@openshift-bot
Copy link

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-merge-robot openshift-merge-robot merged commit dfaa739 into redhat-developer:master Jun 12, 2020
cdrage pushed a commit to cdrage/odo that referenced this pull request Jun 17, 2020
* list catalog in json format for devfile components

Signed-off-by: Stephanie <[email protected]>

* list devfile registries in list

* combined two list into one single list

Signed-off-by: Stephanie <[email protected]>

* add omitempty
bigkevmcd pushed a commit to rhd-gitops-example/odo that referenced this pull request Jun 27, 2020
* add mik-dass and dharmit as top level approvers (redhat-developer#3189)

* Add .gitignore files for jekyll / site (redhat-developer#3171)

**What type of PR is this?**
> Uncomment only one ` /kind` line, and delete the rest.
> For example, `> /kind bug` would simply become: `/kind bug`

/kind code-refactoring

**What does does this PR do / why we need it**:

Updates the `.gitignore` for html and jekyll information. As I kept
having to `git clean` the dir.

**Which issue(s) this PR fixes**:

N/A

**How to test changes / Special notes to the reviewer**:

N/A

Signed-off-by: Charlie Drage <[email protected]>

* Performance improvement for odo catalog list components when using devfiles (redhat-developer#3112)

* feat: parallel fetching of component types to improve performance

Fix redhat-developer#3105 as we now also fetch devfiles for completion, which was
previously prohibitively slow.

* fix: add missing mutex, rename existing one for clarity

* refactor: simplify getDevfileWith by computing link within function

* docs: add documentation, update existing one

* refactor: rename wg to devfileWG for clarity

* fix: improper test setup

* fix: only filter components if there's no error

* fix: re-implement using channels, handle error and timeout better

* fix: no need to pass error

* fix: populate base in GetDevfileIndex, use registry URL, hiding path

* fix: properly retrieve all devfiles

Performance is not that great so investigating better options.

* fix: use new ConcurrentTasks support, allowing proper error reporting

* fix: adapt to dynamic registries

* feat: simplify ConcurrentTask by hiding WaitGroup

It was too easy to forget calling Done in ToRun leading to deadlocks.

* fix: broken tests

* fix: wording

[skip ci]

* fix: remove unused function, added doc

[skip ci]

* fix: remove unused ErrorWrapper

[skip ci]

* fix: rename package import

[skip ci]

* fix: test getDevfileIndexEntries directly, remove now unused function

* JSON output for service list in experimental mode (redhat-developer#3186)

* JSON output for service list in experimental mode

* Changes to tests as per PR feedback

redhat-developer#3186 (review)

* Adds a document for debugging applications using devfiles (redhat-developer#3187)

* Adds a document for debugging applications using devfiles

* Updated syntax and improving the wording

Signed-off-by: mik-dass <[email protected]>

* Actually wait for the project to be deleted.. (redhat-developer#2397)

Actually wait..

Signed-off-by: Charlie Drage <[email protected]>

* Run devfile docker url tests without kube config (redhat-developer#3223)

* Run devfile docker url tests without kube config

Signed-off-by: John Collier <[email protected]>

* Update target

Signed-off-by: John Collier <[email protected]>

* Fix typo

Signed-off-by: John Collier <[email protected]>

* Setting golang version uniformly accross repo and updating docs (redhat-developer#3204)

* Setting golang version uniformly accross repo and updating docs

 - All golang version references now uniformly updated to 1.12
 - Adding all golang version references to development.adoc

Signed-off-by: Mohammed Zeeshan Ahmed <[email protected]>

* Adding golang warning to admonition block

Signed-off-by: Mohammed Zeeshan Ahmed <[email protected]>

* Removing unnessasary space

Signed-off-by: Mohammed Zeeshan Ahmed <[email protected]>

* Adding back warning as github does not render admonition in normal view

Signed-off-by: Mohammed Zeeshan Ahmed <[email protected]>

* Fixing the warning to look better

Signed-off-by: Mohammed Zeeshan Ahmed <[email protected]>

* Fixing up the list title

Signed-off-by: Mohammed Zeeshan Ahmed <[email protected]>

* Fixing up admonishments

Signed-off-by: Mohammed Zeeshan Ahmed <[email protected]>

* Fixing commits as per @cdrage comments

Signed-off-by: Mohammed Zeeshan Ahmed <[email protected]>

* Fix odo describe not listing all the ports after first url is created (redhat-developer#3224)

* Fix odo describe not listing all the ports after first url is created

This PR fixes redhat-developer#3201.

Signed-off-by: Denis Golovin [email protected]

* update tests

Co-authored-by: Tomas Kral <[email protected]>

* Support listing devfile components with no devBuild command (redhat-developer#3172)

* Don't require devfiles to have a devBuild command

Signed-off-by: John Collier <[email protected]>

* Update integration tests

Signed-off-by: John Collier <[email protected]>

* Update integration test

Signed-off-by: John Collier <[email protected]>

* Update integration test for odo create

Signed-off-by: John Collier <[email protected]>

* Make devRun check case-insensitive

Signed-off-by: John Collier <[email protected]>

* replace secured with secure (redhat-developer#3238)

A typo existing in sample file

* Running devfile integration tests on kubernetes cluster (redhat-developer#3233)

* Document to run tests on kubernetes cluster

* Addressed review comment

* Updated the doc as per reviewer request

* Modify operator hub tests to run in separate namespaces (redhat-developer#3239)

* Modify operator hub tests to run in separate namespaces

**What type of PR is this?**
/kind cleanup
/kind failing-test

**What does does this PR do / why we need it**:
This PR ensures that each test spec for operator hub is run in a
separate namespace. This is needed because these tests were written in a
stringent fashion which tied the hands while writing additional tests
for the feature.

This PR should help take the tests out of the "odo test statistics"
dashboard.

**Which issue(s) this PR fixes**:

Fixes redhat-developer#3193

**How to test changes / Special notes to the reviewer**:
CI should pass. Specially for Operator Hub tests under
`tests/integration/operatorhub`

* Changes as per PR review

* Remove createEtcdClusterService function and more separate specs

- Removed the function because it *seemed* to be leading to race
  conditions
- Separating specs for the same reason

* Loop for two operators

* Make operator hub tests sequential

We're doing this because parallel run is causing numerous failures in CI
and local. In spite of debugging it for some time, we're not able to fix
it. However, we're on a deadline because operator hub failures are
showing up across the PRs. Hence, for time being, we're making these
tests sequential.

redhat-developer#3244

* Add devfile command flags to watch (redhat-developer#3075)

* save non default devfile cmd in env.yaml for push and watch

Signed-off-by: Maysun J Faisal <[email protected]>

* Add and update tests for envinfo

Signed-off-by: Maysun J Faisal <[email protected]>

* Update watch test to incl new watch param

Signed-off-by: Maysun J Faisal <[email protected]>

* watch integration test

Signed-off-by: Maysun J Faisal <[email protected]>

* Display msg when devfile commands are changed via odo push

Signed-off-by: Maysun J Faisal <[email protected]>

* Change Logic for watch flag + feedback 1

Signed-off-by: Maysun J Faisal <[email protected]>

* Update Watch tests with feedback

Signed-off-by: Maysun J Faisal <[email protected]>

* disable watch test on kube since we now use oc

Signed-off-by: Maysun J Faisal <[email protected]>

* Watch test feedback 2

Signed-off-by: Maysun J Faisal <[email protected]>

* Adding sparseCheckoutDir functionality to devfiles (redhat-developer#3042)

* Initial commit

* added devfile

* added tests

* commented out tests

* change to validpath statement

* changed method of extracting zip

* changed pathsToUnzip to pathToUnzip

* Added error message when no files are unzipped

* cleaned up conditional prefix trim

* Changes from feedback

* feedback changes and unit tests for util func

* check for empty pathToUnzip

* changed error message format

* cleaned up path separator for windows

* fixed return pathToUnzip

* use hassuffix

* moved to function

* fromslash

* minor fixes

* lowercase fix for test

* Run test locally against 4.* Cluster (redhat-developer#3218)

* Run test locally against 4.* Cluster

* Added review comments

* Added few more review comments

* Addressed review comments

* Addressed review comments

* Addressed correct format review comments

* Update samples for deploying a devfile in deploying-a-devfile-using-odo.adoc (redhat-developer#3163)

* Update devfile doc samples

[skip ci]

Signed-off-by: John Collier <[email protected]>

* Address review comments

Signed-off-by: John Collier <[email protected]>

* Fix formatting

Signed-off-by: John Collier <[email protected]>

* Replace multiple expect statement with MatchAllInOutput and DontMatchAllInOutput (redhat-developer#3251)

* Replaced multiple expect assert statement with MatchAllInOutput

* Replaced multiple expect check within same variable with MatchAllInOutput and DontMatchAllInOutput throughout the test

* Formatted string array which were exceeding 120 character

* add state to ingress list and describe (redhat-developer#3160)

* add state to ingress list and describe

Signed-off-by: Stephanie <[email protected]>

* use URL struct in url describe and list

* add unit tests

Signed-off-by: Stephanie <[email protected]>

* modify integration test and add more unit tests

Signed-off-by: Stephanie <[email protected]>

* remove types created

* address review comment

* delete removed tests

Signed-off-by: Stephanie <[email protected]>

* return error if the error is not notfound

Signed-off-by: Stephanie <[email protected]>

* list multiple ulrs in test

Signed-off-by: Stephanie <[email protected]>

* Don't prompt for namespace if pushtarget is Docker (redhat-developer#3248)

Signed-off-by: John Collier <[email protected]>

* Fix windows incompatibility with /tmp (redhat-developer#3252)

* Fix checkForImageStream to return correct result. (redhat-developer#3281)

* Add Support for Devfile V2 (redhat-developer#3216)

* Add Devfile Parser V2, Update Common Structs (redhat-developer#3188)

* Add Devfile Parser for Version 2.0.0

Added Devfile V2 Go Structures
Added converter for v2 ro common types

Signed-off-by: adisky <[email protected]>

* Add example V2 devfile

added example nodejs V2 devfile

* Add Common Types as V2

Add common types as v2
Add Converter from common to v1

* Updated example devfile with group

* Fixes command.go and kubernetes adapter (redhat-developer#3194)

Signed-off-by: mik-dass <[email protected]>

* Fixes utils of k8s adapter (redhat-developer#3195)

* Update Command Logic to use groups (redhat-developer#3196)

* Updates create logic to v2 (redhat-developer#3200)

* Fixes utils of docker docker adapter (redhat-developer#3198)

Signed-off-by: mik-dass <[email protected]>

* Update Docker and Kubernetes adapter to use groups (redhat-developer#3206)

* Update Docker and Kubernetes adapter to use groups

* Update Some Validation

Incorporate some review comments for commands Map
Update Some Validation logic

* Updated Logs for V2 (redhat-developer#3208)

Fixed interface implementation for v2
Updated logs
refactored commands.go

* Avoid String Pointers (redhat-developer#3209)

While converting v1 to v2 types, string pointers are prone to cause
null pointer error. This PR updates struct fields from string
pointers to string

* Update commands check

* Fixes lower and upper case for commands (redhat-developer#3219)

* Fixes type of project and components for devfile v1 (redhat-developer#3228)

* Update testing utils (redhat-developer#3220)


* Update command tests

Updated Command tests to v2
Removed some cases like command type validation, that will be
validated by schema only.

* Fix common adapters tests

All devfile.adapters.common unit tests are fixed

* Add tests for Mismatched type

Fix devfile.adapters.Kubernetes.Component unit tests

* Add TestCase for default command

* Design proposal: Event notification support for build and application status for IDE integration for devfile scenarios (redhat-developer#2550) (redhat-developer#3177)

* Add event notification proposal

[skip ci]

* Update event-notification.md

* Update event-notification.md

* Update event-notification.md

* Update event-notification.md

* Update event-notification.md

* Update event-notification.md

* Update event-notification.md

* Update event-notification.md

* Fix Integration tests for devfile v2 (redhat-developer#3236)

* Fix Integration tests

Correct volume structure
Fix supervisord binary insertion for docker
Insert command and args in build container fr docker

* Fix Integration tests

Revert commands, args removal
Add commands, args in v2 common structs
Fix duplicate volume error

* Fixes unit tests (redhat-developer#3240)

Signed-off-by: mik-dass <[email protected]>

* Add devfiles V2 examples (redhat-developer#3253)

Add devfiles v2 examples for springboot and nodejs

* Fix regression by sparse checkout dir PR (redhat-developer#3258)

fix regression caused by rebase to master.
Also add github, zip as supported project types.

* Address review comments (redhat-developer#3267)

* Address review comments part 2

fix log levels to v4
fix error formatting
add case no's in test cases
update some comments

* Address review comments part 2

Remove validation for group

Co-authored-by: Mrinal Das <[email protected]>
Co-authored-by: Jonathan West <[email protected]>

* devfile push Integration test on kubernetes cluster (redhat-developer#3041)

* Running devfile push integration test on kubernetes cluster

* Updated xenial insecure registry path

* Modifying Runner variable name to cliRunner

* Common project Create and Delete function according to the running cluster

* Added checks for CI to copy kubeconfig to temp dir

* Skipping Kubeconfig set to temporary config file for prow

* Set Kubeconfig in temporary config file on kubernetes cluster only

* Fixes Kubeconfig code sync

* Separate out function for getting cliRunner

* Release 1.2.2 of odo (redhat-developer#3294)

**What type of PR is this?**
> Uncomment only one ` /kind` line, and delete the rest.
> For example, `> /kind bug` would simply become: `/kind bug`

/kind feature

**What does does this PR do / why we need it**:

Releases 1.2.1 of odo

**Which issue(s) this PR fixes**:

N/A

**How to test changes / Special notes to the reviewer**:

N/A

Signed-off-by: Charlie Drage <[email protected]>

* Fixes list and describe of secure URLs for not pushed components (redhat-developer#3269)

* Don't show imagestreams error on experimental mode (redhat-developer#3265)

* Don't show imagestreams error on experimental mode

Signed-off-by: John Collier <[email protected]>

* Remove unnecessary line

Signed-off-by: John Collier <[email protected]>

* Move where error message printed

Signed-off-by: John Collier <[email protected]>

* Use %q instead

Signed-off-by: John Collier <[email protected]>

* remove openshift logo from readme (redhat-developer#3301)

* Remove unnecessary preference set (redhat-developer#3287)

* report error can't find the app (redhat-developer#2927)

* Update build/VERSION to 1.2.2 (redhat-developer#3306)

**What type of PR is this?**
> Uncomment only one ` /kind` line, and delete the rest.
> For example, `> /kind bug` would simply become: `/kind bug`

/kind feature

**What does does this PR do / why we need it**:

Updates the build version to 1.2.2

**Which issue(s) this PR fixes**:

N/A

**How to test changes / Special notes to the reviewer**:

N/A

Signed-off-by: Charlie Drage <[email protected]>

* Update tests to use java-openliberty (redhat-developer#3318)

* Removing install script and update other references (redhat-developer#3202)

* Removing installer scripts and references in other scripts and readme

Signed-off-by: Mohammed Zeeshan Ahmed <[email protected]>

* Removing installer reference from development.adoc

Signed-off-by: Mohammed Zeeshan Ahmed <[email protected]>

* Adding a message to installer script so as to not break it for existing users

Signed-off-by: Mohammed Zeeshan Ahmed <[email protected]>

* Removing unused variable which is no longer needed

Signed-off-by: Mohammed Zeeshan Ahmed <[email protected]>

* Removing installer again

Signed-off-by: Mohammed Zeeshan Ahmed <[email protected]>

* Removing unused secret directory (redhat-developer#3290)

* devfile delete Integration test on kubernetes cluster (redhat-developer#2913)

* Run devfile delete integration test on kubernetes cluster

* Adding insecure registry in Docker configuration xenial ubuntu

* Fix namespace issue for url create --now (redhat-developer#3321)

* Add --devfile flag support (redhat-developer#3118)

* feat: add --devfile flag support

Signed-off-by: jingfu wang <[email protected]>

* fix: fix gosec G307 issue

Signed-off-by: jingfu wang <[email protected]>

* fix: update error handling

Signed-off-by: jingfu wang <[email protected]>

* style: Update help and error messages

Signed-off-by: jingfu wang <[email protected]>

* fix: Improve performance of error handling

Signed-off-by: jingfu wang <[email protected]>

* style: Improve error message

Signed-off-by: jingfu wang <[email protected]>

* fix: Fix remove file error on Windows

Signed-off-by: jingfu wang <[email protected]>

* fix: Use existing structure to handle temp file

Signed-off-by: jingfu wang <[email protected]>

* refactor: improve code readability and structure

Signed-off-by: jingfu wang <[email protected]>

* docs: update variable comments

Signed-off-by: jingfu wang <[email protected]>

* feat: --devfile value supports http(s)

Signed-off-by: jingfu wang <[email protected]>

* feat: remove --devfile for all other commands

Signed-off-by: jingfu wang <[email protected]>

* feat: add new design for existing devfile support

Signed-off-by: jingfu wang <[email protected]>

* test: update TestCopyFile test cases

Signed-off-by: jingfu wang <[email protected]>

* test: refactor file copy util function for test

Signed-off-by: jingfu wang <[email protected]>

* test: fix TestCopyFile test cases

Signed-off-by: jingfu wang <[email protected]>

* test: add integration tests for existing devfile

Signed-off-by: jingfu wang <[email protected]>

* fix: gosec issue

Signed-off-by: jingfu wang <[email protected]>

* test: fix docker url integration tests

Signed-off-by: jingfu wang <[email protected]>

* fix: context support

Signed-off-by: jingfu wang <[email protected]>

* test: fix docker url integration tests

Signed-off-by: jingfu wang <[email protected]>

* fix: handle edge cases and add related tests

Signed-off-by: jingfu wang <[email protected]>

* refactor: separate spinner for existing devfile

Signed-off-by: jingfu wang <[email protected]>

* test: fix docker watch tests

Signed-off-by: jingfu wang <[email protected]>

* test: fix url tests

Signed-off-by: jingfu wang <[email protected]>

* Updating travis env variable and adding docker version info (redhat-developer#3068)

* 'odo login' command should suggest 'odo project list' instead of 'odo projects' (redhat-developer#3262)

* use a more specific error message for when image is not found (redhat-developer#3322)

* use a specific error message for when image is not found

* added amit's changes

* devfile create Interation test on kubernetes cluster using travis CI (redhat-developer#2884)

* Run devfile create Interation test on kubernetes cluster

* Skipping s2i image related test on kubernetes cluster

* Updating url delete to apply `--now` on devfile (redhat-developer#3139)

* Creating a function for setting devfile path

* updating url delete to do devfile push post delete

Signed-off-by: Mohammed Zeeshan Ahmed <[email protected]>

* Adding URL now flag delete test

Signed-off-by: Mohammed Zeeshan Ahmed <[email protected]>

* Fixing missing `-f`

Signed-off-by: Mohammed Zeeshan Ahmed <[email protected]>

* Changing position of copyexample

Signed-off-by: Mohammed Zeeshan Ahmed <[email protected]>

* Merging url delete with now with create

Signed-off-by: Mohammed Zeeshan Ahmed <[email protected]>

* Removing old devfilepath logic

Signed-off-by: Mohammed Zeeshan Ahmed <[email protected]>

* Adding Devfile flag to url delete

Signed-off-by: Mohammed Zeeshan Ahmed <[email protected]>

* CompleteDevfilePath now happens irrespective of now

Signed-off-by: Mohammed Zeeshan Ahmed <[email protected]>

* list devfile components catalog in json format (redhat-developer#3264)

* list catalog in json format for devfile components

Signed-off-by: Stephanie <[email protected]>

* list devfile registries in list

* combined two list into one single list

Signed-off-by: Stephanie <[email protected]>

* add omitempty

* Fix unsafe data race in ExecuteCommand (redhat-developer#3310)

**What type of PR is this?**

/kind bug

**What does does this PR do / why we need it**:

Fixes a potential flake with regards to when writing to cmdOutput at the
same time that log.ErrorF(...) is reading from it.

**Which issue(s) this PR fixes**:

Closes redhat-developer#2828

**How to test changes / Special notes to the reviewer**:

N/A, honestly not too sure

* Fix Docker Supervisord Vol Initialization (redhat-developer#3129)

* apply stashed supervisord docker changes from PR

Signed-off-by: Maysun J Faisal <[email protected]>

* rebase 1 with master

Signed-off-by: Maysun J Faisal <[email protected]>

* Converts v1 devfiles to v2 (redhat-developer#3279)

* Converts v1 devfiles to v2

* Moves init tests to devfilesV1 folder

* Adding oc to bin path for multistage testing (redhat-developer#3351)

* Revert "Adding oc to bin path for multistage testing (redhat-developer#3351)" (redhat-developer#3360)

This reverts commit fa9f7b9.

* resolved the gosec issue failing unit tests (redhat-developer#3358)

* resolved the gosec issue failing unit tests

* resolved typo in the comment

* DRYed the code

* Warn if --app and --all-apps coexist (redhat-developer#2941)

* url list routes and ingress  (redhat-developer#3305)

* list routes and ingress

Signed-off-by: Stephanie <[email protected]>

* add unit tests

* add integration tests and describe partially works

Signed-off-by: Stephanie <[email protected]>

* finished unit test and integration for describe urls

* address review comments

Signed-off-by: Stephanie <[email protected]>

* add more unit tests

Signed-off-by: Stephanie <[email protected]>

* fix unit test failure

Signed-off-by: Stephanie <[email protected]>

* fix integration test failure

Signed-off-by: Stephanie <[email protected]>

* use ownerreference to distinguish real route vs route created from ingress

Signed-off-by: Stephanie <[email protected]>

* fix integration test

Signed-off-by: Stephanie <[email protected]>

* address review comment

Signed-off-by: Stephanie <[email protected]>

* fix a bug

Signed-off-by: Stephanie <[email protected]>

* fix a bug

Signed-off-by: Stephanie <[email protected]>

* also test secure state in url describe and list

Signed-off-by: Stephanie <[email protected]>

* try to avoid G404 error in unit test

Signed-off-by: Stephanie <[email protected]>

* Fix 'odo version' integration test. (redhat-developer#3326)

* Validate application exist before describe it (redhat-developer#3349)

* Update events (redhat-developer#3370)

**What type of PR is this?**
> Uncomment only one ` /kind` line, and delete the rest.
> For example, `> /kind bug` would simply become: `/kind bug`

/kind documentation
[skip ci]

**What does does this PR do / why we need it**:

Updates the events to list that they happened in the past

**Which issue(s) this PR fixes**:

N/A

**How to test changes / Special notes to the reviewer**:

N/A

Signed-off-by: Charlie Drage <[email protected]>

* Updates the v2 schema to the latest (redhat-developer#3352)

* fix: properly check that odo version contains the server URL (redhat-developer#3365)

* fix: properly check that odo version contains the server URL

Fixes redhat-developer#3342

* fix: simplify test by removing server url regexp check

* Create periodic script for odo periodic job (redhat-developer#3376)

* Adds debug command for devfiles (redhat-developer#3059)

* Adds debug command for devfiles

* Fixes comments and variable names

* Adds devfile debug test on kubernetes cluster

* Fixes adapter code for debug

Signed-off-by: mik-dass <[email protected]>

* Converts v1 debug test devfile to v2

* Moves container arg and command overriding to a new function

* Simplifies conditions in test

* Modifies execDevfile for kubernetes component adapter

* Simplies error checking logic in TestUpdateContainersWithSupervisord

* Removes unnecessary else if conditions

* Installs socat before running tests on kubernetes cluster

* Show error message if no registries are configured (redhat-developer#3339)

* Show error message if no registries are configured

Signed-off-by: John Collier <[email protected]>

* Clean up

Signed-off-by: John Collier <[email protected]>

* Added few supported container images to e2e image test (redhat-developer#3315)

* Fix multiple registry related issues (redhat-developer#3341)

* feat: fix registry issues

Signed-off-by: jingfu wang <[email protected]>

* docs: improve error/help message

Signed-off-by: jingfu wang <[email protected]>

* test: improve registry tests

Signed-off-by: jingfu wang <[email protected]>

* feat: github raw url conversion support

Signed-off-by: jingfu wang <[email protected]>

* test: refactor testing output format

Signed-off-by: jingfu wang <[email protected]>

* test: fix breaking tests

Signed-off-by: jingfu wang <[email protected]>

* refactor: add validation for raw url conversion

Signed-off-by: jingfu wang <[email protected]>

* Update dependencies in glide.yaml for make to succeed in building odo binary (redhat-developer#3369)

* Execute `glide update -v` to update the dependencies

* Use ContainerJSON in place of Container struct

* Push support: Event notification support for build and application status for IDE integration for devfile scenarios (redhat-developer#3003)

* Add machine readable event logging support

* Add machine readable event logging support

* Add machine readable event logging support

* Add machine readable event logging support

* Add machine readable event logging support

* Add machine readable event logging support

* Add machine readable event logging support

* Remove --devfile

* Remove incorrect constraint

* Add odo push -o json example

* Rebase and add debug action logging to new methods

* Adding oc binary to bin path for multi stage test infra (redhat-developer#3362)

* Adding oc binary to bin path for multi stage test infra

* Added file permission locally and excluding it from docker file

* Created different dockerfile to avoid master break and proceed with multistage changes

* Update devfile log levels from 3 to 4 to be consistent (redhat-developer#3408)

Signed-off-by: Maysun J Faisal <[email protected]>

* Design proposal: secure registry support (redhat-developer#3329)

* docs: add secure registry design proposal

Signed-off-by: jingfu wang <[email protected]>

* docs: add create component section

Signed-off-by: jingfu wang <[email protected]>

* Add command design for basic auth

Signed-off-by: jingfu wang <[email protected]>

* Proposal for odo deploy (redhat-developer#3368)

* docs: Initial design proposal for odo deploy command

Initial design proposal for adding a odo deply command.

This is related to redhat-developer#3300

Signed-off by: Neeraj Laad <[email protected]>

* Updated future evolution

Updated future evolution

Signed-off-by: Neeraj Laad <[email protected]>

* Updates to design

Signed-off-by: Neeraj Laad <[email protected]>

* Update odo-deploy.md

* Updated metadata to attributes

Updated metadata to attributes

* Fixed formatting

Fixed formatting for yaml

* [skip ci] updated design doc

* [skip ci] made credentials flag optional

made credentials flag optional

* [skip ci] clarify the deplyment example

clarify the deplyment example

* [skip ci] Updated proposal to sue buildconfig / kaniko

* [skip ci] update attribites to metadata

* [skip ci] add `alpha.` suffix to metadata keys to indicate this is temporary

* [skip ci] Use COMPONENT_NAME  as placeholder

* Updating script path in Dockerfile for multistage test (redhat-developer#3412)

* Invalid ANSI colouring on Windows when doing devfile push (redhat-developer#3327)

* show catalog component list -o json as before if experimental mode is off (redhat-developer#3399)

Signed-off-by: Stephanie <[email protected]>

* removed deprecated and nodejs 8 images from e2e tests and README (redhat-developer#3414)

* removed deprecated and nodejs 8 images from e2e tests

* removed the unsupported images from readme and removed bucharest-gold/centos7-s2i-node from everywhere as the repo has been archived

* adjusted the table

* Update changelog script (redhat-developer#3421)

**What type of PR is this?**
> Uncomment only one ` /kind` line, and delete the rest.
> For example, `> /kind bug` would simply become: `/kind bug`

/kind code-refactoring

**What does does this PR do / why we need it**:

Updates the changelog script since we were having issues with changelog
not completing due to hitting the GitHub API limit.

**Which issue(s) this PR fixes**:

N/A

**How to test changes / Special notes to the reviewer**:

N/A

Signed-off-by: Charlie Drage <[email protected]>

* Release 1.2.3 (redhat-developer#3422)

**What type of PR is this?**
> Uncomment only one ` /kind` line, and delete the rest.
> For example, `> /kind bug` would simply become: `/kind bug`

/kind feature

**What does does this PR do / why we need it**:

Release 1.2.3 of odo

**Which issue(s) this PR fixes**:

N/A

**How to test changes / Special notes to the reviewer**:

N/A

Signed-off-by: Charlie Drage <[email protected]>

* fix 'Timeout out' typo and fix formatting (redhat-developer#3404)

* fix 'Timeout out' typo and fix formating

* fix typo

* pull changes from upstream master

* add wwhrd check execption for knative.dev/pkg/test/...

Co-authored-by: Tomas Kral <[email protected]>
Co-authored-by: Charlie Drage <[email protected]>
Co-authored-by: Chris Laprun <[email protected]>
Co-authored-by: Dharmit Shah <[email protected]>
Co-authored-by: Mrinal Das <[email protected]>
Co-authored-by: John Collier <[email protected]>
Co-authored-by: Mohammed Ahmed <[email protected]>
Co-authored-by: Denis Golovin <[email protected]>
Co-authored-by: ji chen <[email protected]>
Co-authored-by: Priti Kumari <[email protected]>
Co-authored-by: Maysun J Faisal <[email protected]>
Co-authored-by: CameronMcWilliam <[email protected]>
Co-authored-by: Amit Rout <[email protected]>
Co-authored-by: Stephanie Cao <[email protected]>
Co-authored-by: Zheng Xiao Mei <[email protected]>
Co-authored-by: Aditi Sharma <[email protected]>
Co-authored-by: Jonathan West <[email protected]>
Co-authored-by: Jingfu Wang <[email protected]>
Co-authored-by: Devang Gaur <[email protected]>
Co-authored-by: Girish Ramnani <[email protected]>
Co-authored-by: Girish Ramnani <[email protected]>
Co-authored-by: Neeraj Laad <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. Required by Prow. area/devfile-spec Issues or PRs related to the Devfile specification and how odo handles and interprets it. kind/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged. Required by Prow.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

devfile components does not show up on odo catalog list components with -o json flag
7 participants