1.3.10. Configurazione

CADENAS_SETUP/partwarehouse:

  • pwclient.cfg

    Dati di connessione del client

    [Component.catalog_component]
    type=PWCORE::Eventstore
    autoconnect=13
    FileStore.type=PSOLSERVICE::DirectoryFileStore
    FileStore.Path=\\servername\CLASSIFY\pdc_store\filestore
    #FileStore.Path=\\45.78.220.196\pdc_filestore
    Transport.id=appserver_transport
    Transport.type=appserver
    
    [Component.index_component]
    type=PWCORE::IndexService
    Transport.id=appserver_transport
    Transport.type=appserver
    
    [PW2PSolExport]
    MaxEventCount=512

    [Nota]Nota

    Index Updater utilizza pwclient.cfg anche il file di configurazione. Vedere Blocco [Component.index_component].

  • pwserver.cfg

    Impostazioni del server: Contiene, tra l'altro, il nome utente e la password per l'accesso al database.

    [Server]
    ServerId=
    ServerName=
    BasePath=
    
    [Transport.appserver_transport]
    type=appserver
    
    #[Transport.jms_transport]
    #type=jms
    #port=61613
    #password=password
    #destination_type=queue
    #host=127.0.0.1
    #destination_name=pwserver
    #user=admin
    
    [Component.catalog_component]
    type=PWCORE::CatalogProvider
    ProjectDir=\\servername\CLASSIFY\pdc_store
    DataBaseType=SQLServer
    ConnectionString=DRIVER={SQL Server Native Client 11.0};DATABASE=PWServer;
     SERVER=servername;UID=sa;Pwd=12345678;
    #ConnectionString=PWServerDB
    FileStore.type=PSOLSERVICE::DirectoryFileStore
    FileStore.Path=\\inpartconv01\CLASSIFY\pdc_store\filestore
    
    [Component.index_component]
    type=PWCORE::SearchIndexProvider
    IndexPath=\\servername\CLASSIFY\pdc_store\index
    
    [Component.search_component]
    type=PWCORE::SearchService
    IndexPath=\\servername\CLASSIFY\pdc_store\index

  • userroles.cfg

    Qui è possibile definire i ruoli per i diversi utenti. Ad esempio, impostare il ruolo "admin" per l'accesso a Windows.

    Quindi impostare i diritti desiderati per il ruolo "admin" in accessrights.cfg.

    Esempio:

    windowslogin = admin
    
    # user1 = role1,role2,role3
    # user2 = role1
    # etc.
    
    # examples:
    # mylogin = admin
    # otherlogin = werk1,werk2,werk3
    
    # user1 = role1,role2,role3
    # user2 = role1
    # etc.
    
    # otherlogin = werk1,werk2,werk3

  • accessrights.cfg

    Impostazioni dei diritti per cataloghi, classi (sottoclassi), prodotti e attributi: Sezione 1.3.11, “Ruoli / Diritti ” Vedere .

$CADENAS_USER

  • partdatacenter.cfg

    Le fonti di dati [Data sources] e i processi [Processes] sono nascosti per impostazione predefinita.

    In partdatacenter.cfg, nel blocco "DisableProcessNodes", impostare "showNodes=true".

    [DisableProcessNodes]
    showNodes=true

    Figura 1.497.