Skip to content

[1.7.x] Generate metadata for a group containing Maven plugins artifacts#1207

Merged
jdcasey merged 1 commit intoCommonjava:indy-1.7.xfrom
ruhan1:indy-1.7.x-plugins-meta
Apr 10, 2019
Merged

[1.7.x] Generate metadata for a group containing Maven plugins artifacts#1207
jdcasey merged 1 commit intoCommonjava:indy-1.7.xfrom
ruhan1:indy-1.7.x-plugins-meta

Conversation

@ruhan1
Copy link
Copy Markdown
Contributor

@ruhan1 ruhan1 commented Apr 10, 2019

Maven plugins have special metadata.xml which do not have versions. See http://maven.apache.org/ref/3.3.9/maven-repository-metadata/
This cause the regression where Maven cannot download plugin meta from Indy. See NOSSUP-46.

p.s. there is a change in pom which I port from master to fix the missing debug log. You can just ignore it.

@ruhan1 ruhan1 requested review from jdcasey and ligangty April 10, 2019 05:09
@ruhan1 ruhan1 changed the title Generate metadata for a group containing Maven plugins artifacts [1.7.x] Generate metadata for a group containing Maven plugins artifacts Apr 10, 2019
@ruhan1 ruhan1 force-pushed the indy-1.7.x-plugins-meta branch from ec02abb to e37f63f Compare April 10, 2019 08:47
Copy link
Copy Markdown
Member

@jdcasey jdcasey left a comment

Choose a reason for hiding this comment

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

I think we tried to simplify what we were producing at one point, maybe, but this change really just highlights the fact that we need to provide the most complete support for build tools like Maven that we can. LGTM.

@jdcasey jdcasey merged commit af402d5 into Commonjava:indy-1.7.x Apr 10, 2019
@ruhan1 ruhan1 deleted the indy-1.7.x-plugins-meta branch April 11, 2019 01:55
ruhan1 added a commit that referenced this pull request Apr 22, 2019
* Remove exception stacktrace for remote url Malformed exception

   I really don't think this exception stack trace is needed as all
useful info has been logged, And it occupied bunch of the log space and
polluted the log reading. So removed it.

* Use same package type for promotion tmp remote repo

* Add separator between name and timestamp in promotion tmp remote repo name

* Fix issue for temporary remote not deleted after promotion validation

* Add system level gauges for metrics

* Avoid any exception break metrics reporting in SystemGaugeSet

* Add path promotion files count metrics

* Fix license headers

* Align SNAPSHOT versions

* Disable docker for release for now

* [maven-release-plugin] prepare release indy-parent-1.7.4

* [maven-release-plugin] prepare for next development iteration

* Remove koji ftests dep and align SNAPSHOT

* Update weft to 1.14

* [maven-release-plugin] prepare release indy-parent-1.7.5

* [maven-release-plugin] prepare for next development iteration

* Add metrics to monitor store disk usage

* Use MetricSetProvider for SystemGaugeSet to enable CDI

* Use storage directory directly for monitoring

* Use storage path in indy configuration instead for storage metrics

* Fix test failure

* Support jdbc store for folo-sealed ISPN cache

* Fix TrackingKey mapper for WrappedByteArray type

   Add WrappedByteArray type check in TrackingKey2StringMapper which
refers ISPN DefaultTwoWayKey2StringMapper implementation. And also
adjust some ISPN config for default settings.

* Fix way of WrappedByteArray for TrackingKey by using ObjInputStream

* Use externalize but not direct obj stream of TrackingKey2StringMapper

* Extract abstract class for key2StringMapper with WrappedArrayByte handling

* Allow workflow like promotion to bypass readonly flag

* Add configurable envars under mdc logging (#1183) (#1194)

* Add configurable envars under mdc logging

* ADD static SYSTEM_ OPENSHIFT ENV

* EnvironmentConfig refactor, make it focusing on variable keys extracting,
add MDC entry by JsonLayout extender

* fixing serialization / deserialization in tracking record entries (#1195)

* Catch all exceptions in promotion executeValidationRule (#1201)

* Fix typo of Storertifact.copyBase()

* [1.7.x] Refactor CustomJsonLayout, and test it locally (#1200)

* Refactor CustomJsonLayout to use default logback layout configuration for envars

This will skip the period when CDI isn't started, when it's still trying to log things. It also
skips the need for CDI.current() to lookup the environment configuration, putting the envar
extraction config directly in logback.xml

Conflicts:
	deployments/launcher/src/main/etc/indy/logging/logback.xml

* Remove old CustomJsonLayout class

* remove unused constant

* Be more careful about empty strings when pulling envars

* adjust example kafka config to include SSL params

* Generate metadata for a group containing Maven plugins artifacts (#1207)

* [1.7.x] Indy promote perf (#1205)

* Performance fixes for promotion

* Throw timeout exception in runParallelAndWait

* Revert default promotion groovy to use paralleledEach

* Add skipVersionTest flag when doing Koji path mask repair (#1210)

* [1.7.x] Support paralleledInBatch in promotion tool (#1209)

* Support paralleledInBatch in promotion tool

* Move batchsize to config and fix commented issues

* Update license header

* [maven-release-plugin] prepare release indy-parent-1.7.6

* [maven-release-plugin] prepare for next development iteration

* put tracking id into the MDC (#1214)

* [1.7.x] Fix baseUrl (#1217)

* Add MDC entries to mark progress in content promotion (#1216)

* Add MDC entries to mark progress in content promotion

* fix iteration depth MDC injection

clear validation tool iteration MDC items,and give a warning when iteration depth is > 0

* [1.7.x] Promotion error consistency and improved by-path lock scoping (#1219)

* Make error reporting consistent for promotion results

Set a top-level error if validation fails, and add a succeeded() method too. Also, pull the error/validation
handling up into the abstract class, and set a constructor so we can call super()

* lock the target repo for paths promotion such that validation is included in scope

* fix two tests broken by error/succeeded changes in promotion result classes

* stop using ThreadContext for parallel iteration depth counting (#1221)

* Remove nested paralleledEach from default promotion groovy (#1222)

* Fix byPath promotion gauges (#1225)

* Add MDC entries to mark progress in content promotion (#1216)

* Add MDC entries to mark progress in content promotion

* fix iteration depth MDC injection

clear validation tool iteration MDC items,and give a warning when iteration depth is > 0

* [1.7.x] Promotion error consistency and improved by-path lock scoping (#1219)

* Make error reporting consistent for promotion results

Set a top-level error if validation fails, and add a succeeded() method too. Also, pull the error/validation
handling up into the abstract class, and set a constructor so we can call super()

* lock the target repo for paths promotion such that validation is included in scope

* fix two tests broken by error/succeeded changes in promotion result classes

* stop using ThreadContext for parallel iteration depth counting (#1221)

* Fix license headers

* Use storage path in indy configuration instead for storage metrics

* Update license header

* Remove exception stacktrace for remote url Malformed exception

   I really don't think this exception stack trace is needed as all
useful info has been logged, And it occupied bunch of the log space and
polluted the log reading. So removed it.

* Fix test failure

* Update license header

* Allow workflow like promotion to bypass readonly flag
jdcasey pushed a commit to jdcasey/indy that referenced this pull request May 7, 2019
* Remove exception stacktrace for remote url Malformed exception

   I really don't think this exception stack trace is needed as all
useful info has been logged, And it occupied bunch of the log space and
polluted the log reading. So removed it.

* Use same package type for promotion tmp remote repo

* Add separator between name and timestamp in promotion tmp remote repo name

* Fix issue for temporary remote not deleted after promotion validation

* Add system level gauges for metrics

* Avoid any exception break metrics reporting in SystemGaugeSet

* Add path promotion files count metrics

* Fix license headers

* Align SNAPSHOT versions

* Disable docker for release for now

* [maven-release-plugin] prepare release indy-parent-1.7.4

* [maven-release-plugin] prepare for next development iteration

* Remove koji ftests dep and align SNAPSHOT

* Update weft to 1.14

* [maven-release-plugin] prepare release indy-parent-1.7.5

* [maven-release-plugin] prepare for next development iteration

* Add metrics to monitor store disk usage

* Use MetricSetProvider for SystemGaugeSet to enable CDI

* Use storage directory directly for monitoring

* Use storage path in indy configuration instead for storage metrics

* Fix test failure

* Support jdbc store for folo-sealed ISPN cache

* Fix TrackingKey mapper for WrappedByteArray type

   Add WrappedByteArray type check in TrackingKey2StringMapper which
refers ISPN DefaultTwoWayKey2StringMapper implementation. And also
adjust some ISPN config for default settings.

* Fix way of WrappedByteArray for TrackingKey by using ObjInputStream

* Use externalize but not direct obj stream of TrackingKey2StringMapper

* Extract abstract class for key2StringMapper with WrappedArrayByte handling

* Allow workflow like promotion to bypass readonly flag

* Add configurable envars under mdc logging (Commonjava#1183) (Commonjava#1194)

* Add configurable envars under mdc logging

* ADD static SYSTEM_ OPENSHIFT ENV

* EnvironmentConfig refactor, make it focusing on variable keys extracting,
add MDC entry by JsonLayout extender

* fixing serialization / deserialization in tracking record entries (Commonjava#1195)

* Catch all exceptions in promotion executeValidationRule (Commonjava#1201)

* Fix typo of Storertifact.copyBase()

* [1.7.x] Refactor CustomJsonLayout, and test it locally (Commonjava#1200)

* Refactor CustomJsonLayout to use default logback layout configuration for envars

This will skip the period when CDI isn't started, when it's still trying to log things. It also
skips the need for CDI.current() to lookup the environment configuration, putting the envar
extraction config directly in logback.xml

Conflicts:
	deployments/launcher/src/main/etc/indy/logging/logback.xml

* Remove old CustomJsonLayout class

* remove unused constant

* Be more careful about empty strings when pulling envars

* adjust example kafka config to include SSL params

* Generate metadata for a group containing Maven plugins artifacts (Commonjava#1207)

* [1.7.x] Indy promote perf (Commonjava#1205)

* Performance fixes for promotion

* Throw timeout exception in runParallelAndWait

* Revert default promotion groovy to use paralleledEach

* Add skipVersionTest flag when doing Koji path mask repair (Commonjava#1210)

* [1.7.x] Support paralleledInBatch in promotion tool (Commonjava#1209)

* Support paralleledInBatch in promotion tool

* Move batchsize to config and fix commented issues

* Update license header

* [maven-release-plugin] prepare release indy-parent-1.7.6

* [maven-release-plugin] prepare for next development iteration

* put tracking id into the MDC (Commonjava#1214)

* [1.7.x] Fix baseUrl (Commonjava#1217)

* Add MDC entries to mark progress in content promotion (Commonjava#1216)

* Add MDC entries to mark progress in content promotion

* fix iteration depth MDC injection

clear validation tool iteration MDC items,and give a warning when iteration depth is > 0

* [1.7.x] Promotion error consistency and improved by-path lock scoping (Commonjava#1219)

* Make error reporting consistent for promotion results

Set a top-level error if validation fails, and add a succeeded() method too. Also, pull the error/validation
handling up into the abstract class, and set a constructor so we can call super()

* lock the target repo for paths promotion such that validation is included in scope

* fix two tests broken by error/succeeded changes in promotion result classes

* stop using ThreadContext for parallel iteration depth counting (Commonjava#1221)

* Remove nested paralleledEach from default promotion groovy (Commonjava#1222)

* Fix byPath promotion gauges (Commonjava#1225)

* Add MDC entries to mark progress in content promotion (Commonjava#1216)

* Add MDC entries to mark progress in content promotion

* fix iteration depth MDC injection

clear validation tool iteration MDC items,and give a warning when iteration depth is > 0

* [1.7.x] Promotion error consistency and improved by-path lock scoping (Commonjava#1219)

* Make error reporting consistent for promotion results

Set a top-level error if validation fails, and add a succeeded() method too. Also, pull the error/validation
handling up into the abstract class, and set a constructor so we can call super()

* lock the target repo for paths promotion such that validation is included in scope

* fix two tests broken by error/succeeded changes in promotion result classes

* stop using ThreadContext for parallel iteration depth counting (Commonjava#1221)

* Fix license headers

* Use storage path in indy configuration instead for storage metrics

* Update license header

* Remove exception stacktrace for remote url Malformed exception

   I really don't think this exception stack trace is needed as all
useful info has been logged, And it occupied bunch of the log space and
polluted the log reading. So removed it.

* Fix test failure

* Update license header

* Allow workflow like promotion to bypass readonly flag
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants