Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] esb messages now send timestamp

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] esb messages now send timestamp


Chronological Thread 
  • From: "Hyzer, Chris" <>
  • To: John Schrader <>
  • Cc: "" <>
  • Subject: RE: [grouper-users] esb messages now send timestamp
  • Date: Thu, 20 Oct 2016 10:31:17 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:27EUfhSmDMZswj/0eMnzn5ELuNpsv+yvbD5Q0YIujvd0So/mwa64ZBeN2/xhgRfzUJnB7Loc0qyN7PCmBDdLuMvJmUtBWaIPfidNsd8RkQ0kDZzNImzAB9muURYHGt9fXkRu5XCxPBsdMs//Y1rPvi/6tmZKSV3XfDB4LeXtG4PUk9//l6Xro8WSME10g2+fZrN0ZC69rR/YusQMyd9ALaY3jCDComFBd+lM7WVkY1+fgkCvyN23+csp0zVCtuhlv+VAS6ThNexsSLdYHSYrKUg0/8atqAHOSw3J63cBBDZF2iFUChTIuUmpFqz6tTH3468kgHGX
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

Sorry about that, please try again, might want to delete your local patch file (or it should prompt you)

Thanks

Chris

 

 

From: John Schrader [mailto:]
Sent: Wednesday, October 19, 2016 9:04 PM
To: Hyzer, Chris <>
Cc:
Subject: Re: [grouper-users] esb messages now send timestamp

 

Chris,

 

Patch 28 is not installing.  The archive is not GZiped.

 

The installer is outputting:

 

################ Checking patch grouper_v2_3_0_api_patch_28

Downloading from URL: http://software.internet2.edu/grouper/release/2.3.0/patches/grouper_v2_3_0_api_patch_28.tar.gz to file: /opt/grouper/patches/grouper_v2_3_0_api_patch_28.tar.gz

Unzipping: /opt/grouper/patches/grouper_v2_3_0_api_patch_28.tar.gz

Exception in thread "main" java.lang.RuntimeException: Cant unzip file: /opt/grouper/patches/grouper_v2_3_0_api_patch_28.tar.gz,

java.lang.RuntimeException: caller stack

        at edu.internet2.middleware.grouperInstaller.util.GrouperInstallerUtils.threadRunWithStatusDots(GrouperInstallerUtils.java:8334)

        at edu.internet2.middleware.grouperInstaller.GrouperInstaller.unzip(GrouperInstaller.java:9788)

        at edu.internet2.middleware.grouperInstaller.GrouperInstaller.downloadAndUnzipPatch(GrouperInstaller.java:5750)

        at edu.internet2.middleware.grouperInstaller.GrouperInstaller.downloadAndInstallPatches(GrouperInstaller.java:5243)

        at edu.internet2.middleware.grouperInstaller.GrouperInstaller.patchApi(GrouperInstaller.java:5878)

        at edu.internet2.middleware.grouperInstaller.GrouperInstaller.access$3300(GrouperInstaller.java:80)

        at edu.internet2.middleware.grouperInstaller.GrouperInstaller$AppToUpgrade$2.patch(GrouperInstaller.java:4513)

        at edu.internet2.middleware.grouperInstaller.GrouperInstaller.mainPatchLogic(GrouperInstaller.java:2546)

        at edu.internet2.middleware.grouperInstaller.GrouperInstaller.access$600(GrouperInstaller.java:80)

        at edu.internet2.middleware.grouperInstaller.GrouperInstaller$GrouperInstallerMainFunction$4.logic(GrouperInstaller.java:1114)

        at edu.internet2.middleware.grouperInstaller.GrouperInstaller.mainLogic(GrouperInstaller.java:1143)

        at edu.internet2.middleware.grouperInstaller.GrouperInstaller.main(GrouperInstaller.java:414)

 

        at edu.internet2.middleware.grouperInstaller.GrouperInstaller.unzipHelper(GrouperInstaller.java:9812)

        at edu.internet2.middleware.grouperInstaller.GrouperInstaller.access$7000(GrouperInstaller.java:80)

        at edu.internet2.middleware.grouperInstaller.GrouperInstaller$7.run(GrouperInstaller.java:9784)

        at edu.internet2.middleware.grouperInstaller.util.GrouperInstallerUtils$1.run(GrouperInstallerUtils.java:8281)

        at java.lang.Thread.run(Thread.java:745)

Caused by: java.io.IOException: Input is not in the .gz format

        at edu.internet2.middleware.grouperInstallerExt.org.apache.commons.compress.compressors.gzip.GzipCompressorInputStream.init(GzipCompressorInputStream.java:162)

        at edu.internet2.middleware.grouperInstallerExt.org.apache.commons.compress.compressors.gzip.GzipCompressorInputStream.<init>(GzipCompressorInputStream.java:135)

        at edu.internet2.middleware.grouperInstallerExt.org.apache.commons.compress.compressors.gzip.GzipCompressorInputStream.<init>(GzipCompressorInputStream.java:100)

        at edu.internet2.middleware.grouperInstaller.GrouperInstaller.unzipHelper(GrouperInstaller.java:9808)

        ... 4 more

 

-John

 

 

On Wed, Oct 19, 2016 at 1:32 PM, Hyzer, Chris <> wrote:

https://bugs.internet2.edu/jira/browse/GRP-1390

 

this adds "createdOnMicros" which is the number of microseconds (multiply by 1000 for millis) since jan 1 1970.

{

"encrypted":false,

"esbEvent":[

{ "changeOccurred":false, "createdOnMicros":1476889916578000, "eventType":"MEMBERSHIP_DELETE", "fieldName":"members", "groupId":"89dd656be8c743e79b2ef24fde6dab36", "groupName":"box:groups:someGroup", "id":"c2641b287f964bb28b2f0ddcd05f9fd3", "membershipType":"flattened", "sequenceNumber":"618", "sourceId":"g:isa", "subjectId":"GrouperSystem" }

]

}

If you want the previous behavior, you can configure per job in grouper-loader.properties (defaults to true if not set):

changeLog.consumer.CONSUMER_NAME.publisher.sendCreatedOnMicros = false

 

 

fixed in 2.3.0 api patch #28

 

Thanks

Chris



 

--

John Schrader

Identity and Access Management

Office of Information Technologies

University of Notre Dame

 

EVERYTHING SHOULD BE MADE AS SIMPLE AS POSSIBLE, BUT NOT ANY SIMPLER

—ALBERT EINSTEIN




Archive powered by MHonArc 2.6.19.

Top of Page