update component version

This commit is contained in:
Roberto Cirillo 2023-05-05 11:46:55 +02:00
parent d09f7f4d78
commit fb938987cb
2 changed files with 162 additions and 0 deletions

View File

@ -1,5 +1,8 @@
# Changelog for storage-manager-trigger
## [v1.12.1-SNAPSHOT] 2022-03-07
* WIP see #24149
## [v1.12.0] 2022-03-07
* change mongodb authentication mechanism. It was mongodbcr now it is handshaked from client and server. fix incident #22920

159
mongoTrigger.fullog Normal file
View File

@ -0,0 +1,159 @@
0 [pool-1-thread-1] INFO org.gcube.common.scope.impl.ScopeProviderScanner - using scope provider org.gcube.common.scope.impl.DefaultScopeProvider@56cafd4f
2 [pool-1-thread-1] DEBUG org.gcube.common.scope.impl.DefaultScopeProvider - setting scope /gcube in thread 15
9 [pool-1-thread-1] DEBUG org.gcube.contentmanager.storageserver.accounting.ReportAccountingImpl - set provider uri: data.gcube.org
26 [pool-1-thread-2] DEBUG org.gcube.contentmanager.storageserver.parse.utils.ValidationUtils - scope Validation for scope /gcube
0 [pool-1-thread-1] INFO org.gcube.common.scope.impl.ScopeProviderScanner - using scope provider org.gcube.common.scope.impl.DefaultScopeProvider@6bdca13d
1 [pool-1-thread-1] DEBUG org.gcube.common.scope.impl.DefaultScopeProvider - setting scope /gcube in thread 15
34 [pool-1-thread-2] INFO org.gcube.common.scan.DefaultScanner - matched 0 resources from 0 urls in 0 ms
10 [pool-1-thread-1] INFO org.gcube.contentmanager.storageserver.utils.Utils - storage-manager-trigger getting the UMAtoken for context /gcube
14 [pool-1-thread-1] DEBUG org.gcube.contentmanager.storageserver.utils.Utils - from https://accounts.dev.d4science.org/auth/realms/d4science/protocol/openid-connect/token
16 [pool-1-thread-1] DEBUG org.gcube.oidc.rest.OpenIdConnectRESTHelper - Querying access token from OIDC server with URL: https://accounts.dev.d4science.org/auth/realms/d4science/protocol/openid-connect/token
0 [pool-1-thread-2] DEBUG org.gcube.contentmanager.storageserver.parse.utils.ValidationUtils - scope Validation for scope /d4science.research-infrastructures.eu/FARM
4 [pool-1-thread-2] INFO org.gcube.common.scan.DefaultScanner - matched 0 resources from 0 urls in 0 ms
99 [pool-1-thread-1] DEBUG org.gcube.oidc.rest.OpenIdConnectRESTHelper - Adding authorization header as: Basic c3RvcmFnZS1tYW5hZ2VyLXRyaWdnZXI6
630 [pool-1-thread-1] DEBUG org.gcube.oidc.rest.OpenIdConnectRESTHelper - Query string is: audience=%252Fgcube&grant_type=urn:ietf:params:oauth:grant-type:uma-ticket
630 [pool-1-thread-1] DEBUG org.gcube.oidc.rest.OpenIdConnectRESTHelper - Parameters query string is: audience=%252Fgcube&grant_type=urn:ietf:params:oauth:grant-type:uma-ticket
641 [pool-1-thread-1] DEBUG org.gcube.oidc.rest.OpenIdConnectRESTHelper - Response content type is: application/json
642 [pool-1-thread-1] ERROR org.gcube.contentmanager.storageserver.utils.Utils - Exception:
org.gcube.oidc.rest.OpenIdConnectRESTHelperException: [401] Unable to get token (application/json) :{"error":"unauthorized_client","error_description":"Invalid client secret"}
at org.gcube.oidc.rest.OpenIdConnectRESTHelperException.create(OpenIdConnectRESTHelperException.java:14)
at org.gcube.oidc.rest.OpenIdConnectRESTHelper.performQueryTokenWithPOST(OpenIdConnectRESTHelper.java:127)
at org.gcube.oidc.rest.OpenIdConnectRESTHelper.queryUMAToken(OpenIdConnectRESTHelper.java:226)
at org.gcube.oidc.rest.OpenIdConnectRESTHelper.queryUMAToken(OpenIdConnectRESTHelper.java:182)
at org.gcube.contentmanager.storageserver.utils.Utils.setToken(Utils.java:34)
at org.gcube.contentmanager.storageserver.test.TokenTest.test(TokenTest.java:38)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:410)
at org.apache.maven.surefire.junitcore.pc.InvokerStrategy.schedule(InvokerStrategy.java:54)
at org.apache.maven.surefire.junitcore.pc.Scheduler.schedule(Scheduler.java:367)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:410)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
0 [pool-1-thread-1] INFO org.gcube.common.scope.impl.ScopeProviderScanner - using scope provider org.gcube.common.scope.impl.DefaultScopeProvider@112f2fd4
1 [pool-1-thread-1] DEBUG org.gcube.common.scope.impl.DefaultScopeProvider - setting scope /gcube in thread 15
8 [pool-1-thread-1] DEBUG org.gcube.contentmanager.storageserver.accounting.ReportAccountingImpl - set provider uri: data.gcube.org
19 [pool-1-thread-2] DEBUG org.gcube.contentmanager.storageserver.parse.utils.ValidationUtils - scope Validation for scope /gcube
22 [pool-1-thread-2] INFO org.gcube.common.scan.DefaultScanner - matched 0 resources from 0 urls in 0 ms
0 [pool-1-thread-1] INFO org.gcube.common.scope.impl.ScopeProviderScanner - using scope provider org.gcube.common.scope.impl.DefaultScopeProvider@7d324772
4 [pool-1-thread-1] DEBUG org.gcube.common.scope.impl.DefaultScopeProvider - setting scope /gcube in thread 15
0 [pool-1-thread-2] DEBUG org.gcube.contentmanager.storageserver.parse.utils.ValidationUtils - scope Validation for scope /d4science.research-infrastructures.eu/FARM
12 [pool-1-thread-1] INFO org.gcube.contentmanager.storageserver.utils.Utils - storage-manager-trigger getting the UMAtoken for context /gcube
14 [pool-1-thread-1] DEBUG org.gcube.contentmanager.storageserver.utils.Utils - from https://accounts.dev.d4science.org/auth/realms/d4science/protocol/openid-connect/token
5 [pool-1-thread-2] INFO org.gcube.common.scan.DefaultScanner - matched 0 resources from 0 urls in 0 ms
15 [pool-1-thread-1] DEBUG org.gcube.oidc.rest.OpenIdConnectRESTHelper - Querying access token from OIDC server with URL: https://accounts.dev.d4science.org/auth/realms/d4science/protocol/openid-connect/token
95 [pool-1-thread-1] DEBUG org.gcube.oidc.rest.OpenIdConnectRESTHelper - Adding authorization header as: Basic c3RvcmFnZS1tYW5hZ2VyLXRyaWdnZXI6
268 [pool-1-thread-1] DEBUG org.gcube.oidc.rest.OpenIdConnectRESTHelper - Query string is: audience=%252Fgcube&grant_type=urn:ietf:params:oauth:grant-type:uma-ticket
268 [pool-1-thread-1] DEBUG org.gcube.oidc.rest.OpenIdConnectRESTHelper - Parameters query string is: audience=%252Fgcube&grant_type=urn:ietf:params:oauth:grant-type:uma-ticket
275 [pool-1-thread-1] DEBUG org.gcube.oidc.rest.OpenIdConnectRESTHelper - Response content type is: application/json
276 [pool-1-thread-1] ERROR org.gcube.contentmanager.storageserver.utils.Utils - Exception:
org.gcube.oidc.rest.OpenIdConnectRESTHelperException: [401] Unable to get token (application/json) :{"error":"unauthorized_client","error_description":"Invalid client secret"}
at org.gcube.oidc.rest.OpenIdConnectRESTHelperException.create(OpenIdConnectRESTHelperException.java:14)
at org.gcube.oidc.rest.OpenIdConnectRESTHelper.performQueryTokenWithPOST(OpenIdConnectRESTHelper.java:127)
at org.gcube.oidc.rest.OpenIdConnectRESTHelper.queryUMAToken(OpenIdConnectRESTHelper.java:226)
at org.gcube.oidc.rest.OpenIdConnectRESTHelper.queryUMAToken(OpenIdConnectRESTHelper.java:182)
at org.gcube.contentmanager.storageserver.utils.Utils.setToken(Utils.java:34)
at org.gcube.contentmanager.storageserver.test.TokenTest.test(TokenTest.java:38)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:410)
at org.apache.maven.surefire.junitcore.pc.InvokerStrategy.schedule(InvokerStrategy.java:54)
at org.apache.maven.surefire.junitcore.pc.Scheduler.schedule(Scheduler.java:367)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:410)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
0 [pool-1-thread-1] INFO org.gcube.common.scope.impl.ScopeProviderScanner - using scope provider org.gcube.common.scope.impl.DefaultScopeProvider@63956c17
1 [pool-1-thread-1] DEBUG org.gcube.common.scope.impl.DefaultScopeProvider - setting scope /gcube in thread 15
7 [pool-1-thread-1] DEBUG org.gcube.contentmanager.storageserver.accounting.ReportAccountingImpl - set provider uri: data.gcube.org
30 [pool-1-thread-2] DEBUG org.gcube.contentmanager.storageserver.parse.utils.ValidationUtils - scope Validation for scope /gcube
33 [pool-1-thread-2] INFO org.gcube.common.scan.DefaultScanner - matched 0 resources from 0 urls in 0 ms
0 [pool-1-thread-2] DEBUG org.gcube.contentmanager.storageserver.parse.utils.ValidationUtils - scope Validation for scope /d4science.research-infrastructures.eu/FARM
5 [pool-1-thread-2] INFO org.gcube.common.scan.DefaultScanner - matched 0 resources from 0 urls in 0 ms
0 [pool-1-thread-1] INFO org.gcube.common.scope.impl.ScopeProviderScanner - using scope provider org.gcube.common.scope.impl.DefaultScopeProvider@648123c5
3 [pool-1-thread-1] DEBUG org.gcube.common.scope.impl.DefaultScopeProvider - setting scope /gcube in thread 15
11 [pool-1-thread-1] INFO org.gcube.contentmanager.storageserver.utils.Utils - storage-manager-trigger getting the UMAtoken for context /gcube
12 [pool-1-thread-1] DEBUG org.gcube.contentmanager.storageserver.utils.Utils - from https://accounts.dev.d4science.org/auth/realms/d4science/protocol/openid-connect/token
14 [pool-1-thread-1] DEBUG org.gcube.oidc.rest.OpenIdConnectRESTHelper - Querying access token from OIDC server with URL: https://accounts.dev.d4science.org/auth/realms/d4science/protocol/openid-connect/token
92 [pool-1-thread-1] DEBUG org.gcube.oidc.rest.OpenIdConnectRESTHelper - Adding authorization header as: Basic c3RvcmFnZS1tYW5hZ2VyLXRyaWdnZXI6
572 [pool-1-thread-1] DEBUG org.gcube.oidc.rest.OpenIdConnectRESTHelper - Query string is: audience=%252Fgcube&grant_type=urn:ietf:params:oauth:grant-type:uma-ticket
572 [pool-1-thread-1] DEBUG org.gcube.oidc.rest.OpenIdConnectRESTHelper - Parameters query string is: audience=%252Fgcube&grant_type=urn:ietf:params:oauth:grant-type:uma-ticket
585 [pool-1-thread-1] DEBUG org.gcube.oidc.rest.OpenIdConnectRESTHelper - Response content type is: application/json
587 [pool-1-thread-1] ERROR org.gcube.contentmanager.storageserver.utils.Utils - Exception:
org.gcube.oidc.rest.OpenIdConnectRESTHelperException: [401] Unable to get token (application/json) :{"error":"unauthorized_client","error_description":"Invalid client secret"}
at org.gcube.oidc.rest.OpenIdConnectRESTHelperException.create(OpenIdConnectRESTHelperException.java:14)
at org.gcube.oidc.rest.OpenIdConnectRESTHelper.performQueryTokenWithPOST(OpenIdConnectRESTHelper.java:127)
at org.gcube.oidc.rest.OpenIdConnectRESTHelper.queryUMAToken(OpenIdConnectRESTHelper.java:226)
at org.gcube.oidc.rest.OpenIdConnectRESTHelper.queryUMAToken(OpenIdConnectRESTHelper.java:182)
at org.gcube.contentmanager.storageserver.utils.Utils.setToken(Utils.java:34)
at org.gcube.contentmanager.storageserver.test.TokenTest.test(TokenTest.java:38)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:410)
at org.apache.maven.surefire.junitcore.pc.InvokerStrategy.schedule(InvokerStrategy.java:54)
at org.apache.maven.surefire.junitcore.pc.Scheduler.schedule(Scheduler.java:367)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:410)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)