Skip to Content.
Sympa Menu

grouper-users - [grouper-users] RE: Grouper Loader

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] RE: Grouper Loader


Chronological Thread 
  • From: Chris Hyzer <>
  • To: "Sachdeva, Vivek" <>, "" <>
  • Subject: [grouper-users] RE: Grouper Loader
  • Date: Thu, 2 Jan 2014 21:05:37 +0000
  • Accept-language: en-US

If you source is the default source that comes with Grouper, then yes.  Does my previous answer make sense to you?  Not sure what else you are asking about, please explain the confusion

 

Thanks,

Chris

 

From: Sachdeva, Vivek [mailto:]
Sent: Thursday, January 02, 2014 3:43 PM
To: Chris Hyzer;
Subject: Re: Grouper Loader

 

Thanks Chris,

 

For testing purposes, I have created a DB in my local machine which is the source of the subjects. I have a view in there users_v which has two columns Subject_ID and SUBJECT_SOURCE_ID. I have only one row in this users_v which does not exist in the subject and the subject attribute table. This local test DB will be replaced by the real users DB later. My group attributes look like below:

 

Name

UCLA Loader Group

Path

UCLA Loader Groups:UCLA Loader Group

Description

ID

UCLA-Loader-Group

ID Path

UCLA Loader Groups:UCLA-Loader-Group

Alternate ID Path

UUID

0fdd2661a005409d988e5f5e49496a92

Types

grouperLoader

grouperLoaderAndGroups

grouperLoaderDbName

mySource

grouperLoaderGroupQuery

grouperLoaderGroupsLike

grouperLoaderGroupTypes

grouperLoaderIntervalSeconds

grouperLoaderPriority

grouperLoaderQuartzCron

0 * * * * ?

grouperLoaderQuery

SELECT SUBJECT_ID, SUBJECT_SOURCE_ID FROM users_v

grouperLoaderScheduleType

CRON

grouperLoaderType

SQL_SIMPLE

base

members

List field

After setting it up, I run the loader from the grouper shell. When I check in the grouper_loader_log, I see number 1 in the unresolvable subject count column.

 

Do I need to have the same subject ids in the users_v  (external data source to the grouper) and also in the subject  and subject attribute tables ?

 

Thanks,

Vivek

 

From: Chris Hyzer <>
Date: Thu, 2 Jan 2014 01:53:10 +0000
To: vivek sachdeva <>, "" <>
Subject: RE: Grouper Loader

 

Yes, currently subjects managed by the loader need to be resolvable.  If your subject source that the loader is using the subject subjectsubjectattribute one, then subjects need to be there.  Generally that subject source is temporary for an institution, and they would hook up to an institution ldap or database for the real subject source.

 

Thanks,

Chris

 

From: [] On Behalf Of Sachdeva, Vivek
Sent: Monday, December 30, 2013 3:42 PM
To:
Subject: [grouper-users] Grouper Loader

 

Hi,

 

I am running the grouper loader to load some subjects into a group which is of type grouperloader. I am seeing the Unresolvable Subjects in the grouper_loader_log table. But when I run the loader after manually adding the entries into the Subject and SubjectAttribute table then the subjects are loaded successfully into the group. So, My question is that Is it a prerequisite to have the subjects in the Subject and the SubjectAttribute table before running the loader ?

 

Thanks,

Vivek




Archive powered by MHonArc 2.6.16.

Top of Page